cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
40726
Views
0
Helpful
6
Replies

Troubleshoot / debug dial-peer and call routing on CME / UC-540

rochdalemis
Level 1
Level 1

Hello,

What debug commands I can use to see which dial peers match a phone number dialed and which dial peer is actually used to route a call?  I also want to see which port the call is routed through.

I plan to use csim start command from CLI to test routing.

Thanks for your help in advance!

Greg

6 Replies 6

Jaime Valencia
Cisco Employee
Cisco Employee

I usually use the debug voip ccapi inout to debug any routing issues, it will give you the whole bulk of info for the call.

HTH

java

If this helps, please rate

www.cisco.com/go/pdihelpdesk

HTH

java

if this helps, please rate

Javalenc, I have tried to use debug voice ccapi all and while it was providing info on called number and chosen dial peer, the call, actually, was going through another dial peer. So, perhaps, I was looking at a different level.

I have an overlapping dial-peers (FXO and SIP), and while debug shows that a peer associated with an FXO port is used, the call actually goes through SIP trunk.

Any thoughts?

Thanks in advance,

Greg

That would totally depend on your dial-peer configuration, preference and hunting mechanism

You'd need to post your config for anyone to help.

HTH

java

If this helps, please rate

www.cisco.com/go/pdihelpdesk

HTH

java

if this helps, please rate

Ok, but is there a way to see what decisions IOS makes as it goes through a list of configured dial peers, preferences, hunting groups?

I already posted a question here, but received back only what I already knew.

Briefly, below is what I have. When a number such as 3550000 is dialed, the call always goes through SIP trunk. changing pattern to 35..$ removes the dial peer from match report (debug voice dialpeer all), but the end result does not change.

dial-peer voice 80 pots

preference 7

destination-pattern [2-9]......$

port 0/1/0

!

dial-peer voice 81 pots

preference 5

destination-pattern [2-9]......$

port 0/1/1

!

dial-peer voice 82 pots

preference 3

destination-pattern [2-9]......$

port 0/1/2

!

dial-peer voice 83 pots

preference 1

destination-pattern [2-9]......$

port 0/1/3

!

dial-peer voice 84 pots

preference 6

destination-pattern [2-9]......$

port 0/2/0

!

dial-peer voice 85 pots

preference 4

destination-pattern [2-9]......$

port 0/2/1

!

dial-peer voice 86 pots

preference 2

destination-pattern [2-9]......$

port 0/2/2

!

dial-peer voice 87 pots

preference 8

destination-pattern [2-9]......$

port 0/2/3

!

dial-peer voice 900 voip

preference 10

destination-pattern 35..

session target ipv4:172.17.10.7

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

!
dial-peer hunt 2

Having an ability to see IOS decision making process would help to understand why things don't work.

"Debug voip ccapi inout"  will tell you which Dial-peers are being matched.  If you search in the text for "outgoing

dial-peer" you will see which dial-peer it is matching.

Looking at your FXO setup, you might have an easier time setting up a Trunk Group for all FXO lines to be in.  This way, you don't have to create 8 differenct dial-peers for one dial-string.

Adam Compton

sanjay.khurana
Level 1
Level 1

Hi ,

 

I have two site where uc540 is installed and site to site calling working fine ealier.

 

Now I m facing issue from site A I am not able to dial site B number , where Site B is able to dial Site A no.

 

when I dial 022012 ext from Site A to Site B getting unknown number.

 

following is config of Site A.

dial-peer voice 2101 voip
 corlist incoming call-internal
 description **CCA*INTERSITE outbound calls to Site B
 translation-profile outgoing multisiteOutbound
 destination-pattern 02....
 voice-class h323 1
 session target ipv4:192.168.2.1
 dtmf-relay h245-alphanumeric
 fax protocol cisco
 no vad

!
voice translation-profile multisiteOutbound
 translate calling 1114

voice translation-rule 1114
 rule 1 /\(^....$\)/ /01\1/

 

 

Site B.

 

dial-peer voice 2101 voip
 corlist incoming call-internal
 description **CCA*INTERSITE outbound calls to Site A
 translation-profile outgoing multisiteOutbound
 destination-pattern 02....
 voice-class h323 1
 session target ipv4:192.168.2.1
 dtmf-relay h245-alphanumeric
 fax protocol cisco
 no vad

!
voice translation-profile multisiteOutbound
 translate calling 1114

voice translation-rule 1114
 rule 1 /\(^....$\)/ /01\1/

 

Debug voip ccapi inout logs of Site A & Site B is attached.

 

pls help me where I am wrong.