cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
471
Views
1
Helpful
3
Replies

Cisco CME SIP trunk: Unable to match dial peer on inbound call

n.zernov21
Level 1
Level 1

Hello everyone,

I have set up CME and CUBE on ISR4331 and connected SIP trunk from telco provider. Outbound calls are working fine, but I can't setup dialpeer to match incoming calls and forward to connected IP phone. Dialpeer is set up as follows:

 

 

dial-peer voice 380 voip
 translation-profile incoming IN
 destination-pattern +38..........
 session protocol sipv2
 session target dns:sip.zadarma.com
 voice-class codec 1  
 voice-class sip dtmf-relay force rtp-nte
 dtmf-relay rtp-nte
 clid network-number 310405

voice translation-rule 10
 rule 1 /.*/ /10/
!
!
voice translation-profile IN
 translate called 10

 

10 from translation rule is internal number.

Attached debug logs. Looks like communication with provider is stuck on SIP INVITE during incoming call from it.

Any help would be appreciated! Thanks in advance.

3 Replies 3

It’s not really recommended to use destination number to match an inbound dial peer. And if you were to use that it doesn’t use DNIS, it used ANI. See this document for more information on how call routing works in IOS. Explain Cisco IOS and IOS XE Call Routing 

It would be recommended to use information in the VIA header to match your inbound dial peer. Also an inbound dial peer doesn’t use a session target, that’s an outbound configuration element.



Response Signature