Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Translation rule in VGW

Hi

I need to write translation rule for following requirement

original number 28xxx

new number - 09467xxx (replace 28 with 09467, only remove 28 from 5 digit number and add 09467 to it)

Please guide

Regds

$

Everyone's tags (2)
3 REPLIES

Translation rule in VGW

Hello.

The translation-rule is:

rule 1 /^28\(...\)/ /09467\1/ type any network plan any isdn

Apply it to calling/called number,as required.

Testing on Cisco:

test voice translation-rule 8 28333 plan any

Matched with rule 1

Original number: 28333Translated number: 09467333

Original number type: noneTranslated number type: network

Original number plan: anyTranslated number plan: isdn

Re: Translation rule in VGW

Voice translation-rule 1
rule 1 /^28/ /09467/

You can test this rule also

test voice translation-rule 1 28444


Thanks
Manish

If this help please rate.

VIP Super Bronze

Translation rule in VGW

Just providing a second example of how you can build the RegEx

voice translation-rule 1

  rule 1 /^28\(...\)$/ /09467\1/

This differs from Manish's example only in that it will match only five-digit numbers starting with 28 instead of any number which begins with 28. Only you will know whether the additional specificity is necessary in your environment.

Here is a good reference document to keep handy:

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml

Please remember to rate helpful responses and identify helpful or correct answers.

120
Views
5
Helpful
3
Replies
СоздатьДля создания публикации, пожалуйста в систему