09-15-2011 12:10 PM - edited 03-16-2019 07:01 AM
Hi
I am getting a 10 digit DID from my provider and i am trying it to map to an extension. I am configuring CUBE 3825 router.
num-exp 7065432223(DID) 34555 (user's extension)
But it's not working. I am doing something wrong here.
I do have incoming dial-peer with destination-pattern 706543T.
Please help..
Solved! Go to Solution.
09-15-2011 01:11 PM
num-emp is digit manipulation command. It works similar to translation rules but translation rules are more customizable.
You can create a new translation rule and profile and create a specific inbound dial-peer with "incoming called-number
7065432223" and apply the new profile to get this working.
09-15-2011 12:19 PM
does incoming dial-peer strip 706543 and then router check num-exp..?? in that case shall my command should be "num-exp 2223 34555" is this correct?
09-15-2011 12:22 PM
What are the exact digits recieved?
Is the call dropped because of some other reason?
Please collect the following debugs if this is a SIP to SIP CUBE -
debug ccsip mess
debug voip ccapi inout
--
Udit
09-15-2011 12:28 PM
Hi Udit,
yes i am getting 10 digit from provider.
09-15-2011 12:29 PM
Can you collect the debugs and provide the show run?
09-15-2011 01:07 PM
Hi ,
forgot to mention that Cube is connected to Call manager via H.323.
service-provider-SIP--Cube-H.323--Call manager -SCCP-- phones.
i need to forward DID to specific extension to call manager on CUBE.
Currently there is outgoing translation rule which maps DID to extension when it forwards it to CM. But it is reached limit of 15 . So i was thinking if i could use num-exp instead of creating a new translation rule and dial-peer.
what does num-exp do? i am not very familiar with num-exp?
09-15-2011 01:11 PM
num-emp is digit manipulation command. It works similar to translation rules but translation rules are more customizable.
You can create a new translation rule and profile and create a specific inbound dial-peer with "incoming called-number
7065432223" and apply the new profile to get this working.
09-15-2011 01:17 PM
Thanks for your reply..
Do you mean destination-pattern when you said "incoming called-number 7065432223"?
something like this ...
voice translation-rule 2
rule 1 /\(^7065432223\)\(.*\)/ /34555/
voice translation-profile NEWTrans
translate called 2
dial-peer voice 20 voip
description Inbound calls
translation-profile outgoing NEWTrans
destination-pattern 706543....
voice-class codec 1
voice-class h323 1
session target ipv4:192.168.10.1 ( CM ip address)
dtmf-relay h245-alphanumeric
no vad
09-16-2011 11:18 AM
Hi,
I still have a doubt.
i already have a dial-peer that has same destination-pattern 706543.... but with different translation profile/rule.
my question how will the dial peer will be selected will it be based on destination -pattern or translation profile matching?
09-28-2011 08:12 PM
Every call has two call legs - incoming and outgoing. On a voice gateway every leg is associated with a dial-peer. Above configuration is correct since the called number is translated on oubound call leg.
More on dial-peer matching -
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml
More on Translation-Rules -
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml
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