cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
584
Views
0
Helpful
4
Replies

Dial-peer for 7-digit DID to 4 digit conversion

44golf58
Level 1
Level 1

The Telco is sending 7 digits for DID over PRI that we convert to 4 digis, which works ok from the MGCP gateway settings. But in SRST mode, we need to convert 7 to 4 with a Dial-peer and translate some of the numbers. Does anyone have a dial-peer and related translation example?

thanks.

4 Replies 4

Brandon Buffin
VIP Alumni
VIP Alumni

If your DIDs match up with your extensions, one option is to use the dialplan-pattern command under call-manager-fallback, such as:

call-manager-fallback

dialplan-pattern 1 1231... extension-length 4

In this example, 1231234 would get translated to extension 1234. If that doesn't work, what kind of translation do you need to do?

Hope this helps. If so, please rate the post.

Brandon

crodriguez
Level 1
Level 1

jbarcena
Level 9
Level 9

You can also use the num expand command:

num-exp 245090. 090.

tim_roper
Level 1
Level 1

Hopefully, you've already solved the problem, but I'll post this for anyone else searching for the same solution...try the "alias" command under call-manager-fallback.

call-manager-fallback

alias 1 21033344.. to 5350

alias 2 2103335555 to 5350

The command is explained at the following URL:

http://www.cisco.com/en/US/docs/voice_ip_comm/cusrst/command/reference/srstcr.html

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: