[cisco-voip] translation rule

Joe Cisco smetsysocsic at gmail.com
Wed Aug 13 12:01:51 EDT 2008


I apologize again, you are correct, should be:

 !
voice translation-rule 1
 rule 1 /^660825\(..\)/ /26\1/
!

I should maybe quit trying.

-Joe C.

On Wed, Aug 13, 2008 at 10:52 AM, Ryan West <rwest at zyedge.com> wrote:
> Does the search and replace function work with a regexp in the replace section?  I would have thought the ^ belonged in the 660825 part, meaning to search for a string that starts with 66.  Were you able to produce a working result using test voice translation rule 1 66082555?
>
> -ryan
>
> -----Original Message-----
> From: cisco-voip-bounces at puck.nether.net [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Joe Cisco
> Sent: Wednesday, August 13, 2008 8:33 AM
> To: eng_hady1 at yahoo.com
> Cc: cisco-voip at puck.nether.net
> Subject: Re: [cisco-voip] translation rule
>
> Wait, sorry, scratch that... that was wrong. (too early in the morning)
>
> !
> voice translation-rule 1
>  rule 1 /660825\(..\)/ /^26\1/
> !
>
> -Joe C.
>
>
> On Wed, Aug 13, 2008 at 6:04 AM, hady salah ashour <eng_hady1 at yahoo.com> wrote:
>> Hi guys,
>>
>> I want configure translation rule that do the following :
>> translate range from 66082500 to 66082599
>>
>> to this  range from         2600 to       2699
>>
>> For example convert 66082509 to  2609 and so on copy the last 2 digits
>> Dialed String and put it after 26
>>
>> please i need a help from you to do that.
>>
>> Thanks.
>> Hady Salah ,
>>
>>
>> _______________________________________________
>> 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