cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3319
Views
0
Helpful
9
Replies

Num-exp is not working

singhsaju
Level 4
Level 4

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..

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

9 Replies 9

singhsaju
Level 4
Level 4

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?

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

Hi Udit,

yes i am getting 10 digit from provider.

Can you collect the debugs and provide the show run?

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?

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.

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

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?

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