[cisco-voip] translation rule

davidytk davidytk at netvigator.com
Mon Jan 26 10:41:40 EST 2009


Hi 

For CME configuration, please configure this 
voice translation-rule 1  rule 1 /^0521261/ /85/ 
voice translation-profile pstn  
  translate called 1 
dial-peer voice 1000 pots  
destination-pattern 0521261T  
 translation-profile outgoing pstn  
 port 1/0:23

For CCM configuration, please see attachment.s

Thanks
Best Regards
David

-----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 11:32 PM
To: patrick.diener
Cc: cisco-voip
Subject: Re: [cisco-voip] translation rule

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
> >
> 

_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trnaslatin.zip
Type: application/octet-stream
Size: 62950 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20090126/6d049692/attachment.obj>


More information about the cisco-voip mailing list