12-15-2012 07:10 AM - edited 03-16-2019 02:44 PM
I am struggling with something that sounds like it ought to be simple.
I have a 2901 UC voice gateway and need to redirect one of the inbound DDI numbers to an external destination. i.e. when you ring inbound from the PSTN to the number 123456 it should direct straight out to another PSTN number 654321 etc.
How should I achieve this, does it use translation rules or dial-peers or something else ?
Thanks
Solved! Go to Solution.
12-15-2012 07:46 AM
12-15-2012 07:40 AM
When you say you have UC 2901, is the router a CallManager Express system, or is it a voice gateway of off Communications Manager server? If you are unsure please post the configuration of the router.
HTH,
Chris
12-15-2012 07:45 AM
Hi Chris, It's just the voice gateway. no communication manager or any other cisco products involved.
Normally inbound calls from PSTN to the gateway are directed to a SIP PBX, but I need one destination number to just go straight back out to another PSTN number.
hope you can help
thanks
12-15-2012 07:44 AM
Here's one way of getting it done:
! Translate number on egress
voice translation-rule 1
rule 1 /^123456$/ /654321/
voice translation-profile 1
translate called 1
! Incoming POTS
dial-peer voice 1 pots
incoming called-number ......
direct-inward-dial
port 0/0/0:23
! Outgoing trombone of 123456 DID
dial-peer voice 2 pots
destination-pattern 123456
translation-profile called 1
port 0/0/0:23
! Toward CUCM
dial-peer voice 3 voip
destination-pattern ......
session protocol sipv2
session target ipv4:x.x.x.x
session transport udp
dtmf-relay rtp-nte sip-kpml
ip qos dscp cs3 signaling
codec g711ulaw
no vad
! Incoming VOIP dial-peer from CUCM note shown
Please remember to rate helpful responses and identify helpful or correct answers.
12-15-2012 07:46 AM
"num-exp" is another approach you can use.
HTH,
Chris
12-15-2012 08:18 AM
thanks num-exp works great !
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide