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

Unanswered Question
Jan 10th, 2008
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Brandon Buffin Thu, 01/10/2008 - 12:46
User Badges:
  • Purple, 4500 points or more

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

jbarcena Thu, 03/27/2008 - 11:42
User Badges:
  • Red, 2250 points or more

You can also use the num expand command:


num-exp 245090. 090.



tim_roper Mon, 12/29/2008 - 07:02
User Badges:

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


Actions

This Discussion