[cisco-voip] translation rule

Patrick Diener patrick.diener at gmail.com
Mon Jan 26 10:42:40 EST 2009


you are trying to use a "translation-rule" use a "voice
translation-rule" instead!
if you can not use voice translation-rules your IOS is too old...
if you can't / wan't upgrade, you might want to try this:

translation-rule 1
 rule 1 05212610 85
 rule 2 05212611 85
 rule 3 05212612 85
 rule 4 05212613 85
 rule 5 05212614 85
 rule 6 05212615 85
 rule 7 05212616 85
 rule 8 05212617 85
 rule 9 05212618 85
 rule 10 05212619 85

Cheers
Patrick

On Mon, Jan 26, 2009 at 4:31 PM, granata77 at libero.it
<granata77 at libero.it> wrote:
> Unfortunately it doesn't work.
>
> The router message is:
>
> Incorrect format for Translation Match Pattern
> regular expression must be of the form
> ^(\^)?(\+)?([0-9,A-F.*%?#]+)$
>
> invalid match pattern string input /^0521261.\(..\)/
>
>
> why?!?!
> ---------- Initial Header -----------
>
> From      : "Patrick Diener" patrick.diener at gmail.com
> To          : "granata77 at libero.it" granata77 at libero.it,"cisco-voip" cisco-voip at puck.nether.net
> Cc          :
> Date      : Mon, 26 Jan 2009 16:22:56 +0100
> Subject : Re: [cisco-voip] translation rule
>
>
>
>
>
>
>
>> voice translation-rule 1
>>  rule 1 /^0521261.\(..\)/ /85\1/
>>
>> Regards
>> Patrick
>>
>> On Mon, Jan 26, 2009 at 4:16 PM, granata77 at libero.it
>> <granata77 at libero.it> wrote:
>> > Can you tell me the exact line of command, please?
>> >
>> > thanks
>> >
>> > ---------- Initial Header -----------
>> >
>> > >From      : "davidytk" davidytk at netvigator.com
>> > To          : granata77 at libero.it,"cisco-voip" cisco-voip at puck.nether.net
>> > Cc          :
>> > Date      : Mon, 26 Jan 2009 23:09:38 +0800
>> > Subject : RE: [cisco-voip] translation rule
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >> Please choose "pre-dot" in the translation part.
>> >>
>> >> And add 85XX in the translation number
>> >>
>> >> -----Original Message-----
>> >> From: cisco-voip-bounces at puck.nether.net
>> >> [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of granata77 at libero.it
>> >> Sent: Monday, January 26, 2009 10:41 PM
>> >> To: cisco-voip
>> >> Subject: [cisco-voip] translation rule
>> >>
>> >> Hi,
>> >>
>> >> I want configure translation rule that do the following:
>> >>
>> >> translate from 0521261.XX to 85XX
>> >>
>> >> where the dot '.' is an any character.
>> >>
>> >> For example convert 0521261108 to 8508.
>> >>
>> >> Please I need a help from you to do that.
>> >>
>> >> Thanks in advance.
>> >> Bob
>> >>
>> >>
>> >> _______________________________________________
>> >> cisco-voip mailing list
>> >> cisco-voip at puck.nether.net
>> >> https://puck.nether.net/mailman/listinfo/cisco-voip
>> >>
>> >>
>> >
>> > _______________________________________________
>> > cisco-voip mailing list
>> > cisco-voip at puck.nether.net
>> > https://puck.nether.net/mailman/listinfo/cisco-voip
>> >
>>
>
>


More information about the cisco-voip mailing list