cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1137
Views
0
Helpful
4
Replies

SIP inbound calls not getting to the phone

Michael Durham
Level 4
Level 4

I am having a problem where my inbound SIP calls are not getting routed to the phone.  I can make outgoing calls without a problem.  Below are my dial-peers and translations and a copy of debug voip dialpeer when I make an inbound call. My phone's extension is 1001.  The call seems to make it to dial-peer 100 then to voice translation rule 1 but not to the extension.  Any ideas?

dial-peer voice 1 voip

description *** 10 Digit Calls ***

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

session protocol sipv2

session target sip-server

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

dial-peer voice 2 voip

description *** 11 Digit Calls ***

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

session protocol sipv2

session target sip-server

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

dial-peer voice 100 voip

description *** Incoming Dial-Peer ***

session protocol sipv2

session target sip-server

incoming called-number ..........

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

voice translation-rule 1

rule 1 /6069487364/ /1001/

!

voice translation-profile Incoming_Called_Numbers

translate called 1

!

*Nov 16 22:25:55.680: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=6069487364, Called Number=6069487364, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 22:25:55.680: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6069487364

*Nov 16 22:25:55.680: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Nov 16 22:25:55.680: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=6069487364, saf_enabled=1, saf_dndb_lookup=1, dp_result=0

*Nov 16 22:25:55.680: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1

*Nov 16 22:25:55.684: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=13525381577, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 22:25:55.684: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2

*Nov 16 22:25:55.684: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Nov 16 22:25:55.684: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=13525381577, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 22:25:55.684: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2

*Nov 16 22:25:55.684: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Nov 16 22:25:55.684: //-1/6C27637E823C/DPM/dpAssociateIncomingPeerCore:

   Calling Number=13525381577, Called Number=6069487364, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 22:25:55.684: //-1/6C27637E823C/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=100

*Nov 16 22:25:55.684: //-1/6C27637E823C/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Nov 16 22:25:55.688: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=6069487364, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 22:25:55.688: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

CME_Router#Match Rule=DP_MATCH_DEST; Called Number=6069487364

*Nov 16 22:25:55.692: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Nov 16 22:25:55.692: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=6069487364, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

*Nov 16 22:25:55.692: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1

4 Replies 4

Jonathan Schulenberg
Hall of Fame
Hall of Fame

The first thing that stands out at me is that you never applied the translation pattern to one of the dial-peers.

dial-peer voice 1 voip

translation-profile incoming Incoming_Called_Numbers

After that the debug output shows the call matching dial-peer 1 for incoming, not 100 which is what I suspect you intended. This happened for two reasons: 1) the pattern is a better match in 1 than 100; and, 2) it occures first in the configuration. In reality you don't need dial-peer 100 and can just add incoming called-number to dial-peer 1 as well as the translation profile.

Please remember to rate helpful responses and identify helpful or correct answers.

Here is what I did, it still does not work. 

!

voice translation-rule 1

rule 1 /6069487364/ /1001/

!

voice translation-profile Incoming_calls

translate called 1

!

dial-peer voice 1 voip

description *** 10 Digit Calls ***

translation-profile incoming Incoming_calls

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

translate-outgoing called 2

session protocol sipv2

session target sip-server

incoming called-number ..........

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

DEBUG RESULTS

*Nov 16 23:48:53.191: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=6069487364, Called Number=6069487364, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.191: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6069487364

*Nov 16 23:48:53.191: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:

   Dial String=6069487364, Expanded String=6069487364, Calling Number=6069487364T

   Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.191: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:

   Result=Success(0); Outgoing Dial-peer=1 Is Matched

*Nov 16 23:48:53.191: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Nov 16 23:48:53.191: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=6069487364, saf_enabled=1, saf_dndb_lookup=1, dp_result=0

*Nov 16 23:48:53.191: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=13525381577, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Match Rule=DP_MATCH_ANSWER; Calling Number=13525381577

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:

   Is Incoming=TRUE, Number Expansion=FALSE

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:

   Dial String=, Expanded String=, Calling Number=13525381577T

   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:

   Result=-1

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5985

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Match Rule=DP_MATCH_ORIGINATE; Calling Number=13525381577

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:

   Is Incoming=TRUE, Number Expansion=FALSE

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:

   Dial String=, Expanded String=, Calling Number=13525381577T

   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:

   Result=Success(0); Incoming Dial-peer=2 Is Matched

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5985

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6613

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=13525381577, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Match Rule=DP_MATCH_ANSWER; Calling Number=13525381577

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:

   Is Incoming=TRUE, Number Expansion=FALSE

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:

   Dial String=, Expanded String=, Calling Number=13525381577T

   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:

   Result=-1

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5985

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Match Rule=DP_MATCH_ORIGINATE; Calling Number=13525381577

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:

   Is Incoming=TRUE, Number Expansion=FALSE

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:

   Dial String=, Expanded String=, Calling Number=13525381577T

   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:

   Result=Success(0); Incoming Dial-peer=2 Is Matched

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5985

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Nov 16 23:48:53.195: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6613

*Nov 16 23:48:53.195: //-1/02FB659B8349/DPM/dpAssociateIncomingPeerCore:

   Calling Number=13525381577, Called Number=6069487364, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.195: //-1/02FB659B8349/DPM/dpAssociateIncomingPeerCore:

   Match Rule=DP_MATCH_VIA_URI; URI=sip:72.9.149.69:5010

*Nov 16 23:48:53.195: //-1/02FB659B8349/DPM/dpMatchPeertype:

   Is Incoming=TRUE, Number Expansion=FALSE

*Nov 16 23:48:53.195: //-1/02FB659B8349/DPM/dpMatchCore:

   Dial String=, Expanded String=, Calling Number=

   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchCore:

   Result=-1

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchPeertype:exit@5985

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpAssociateIncomingPeerCore:

   Match Rule=DP_MATCH_REQUEST_URI; URI=sip:6069487364@172.16.1.1:5060

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchPeertype:

   Is Incoming=TRUE, Number Expansion=FALSE

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchCore:

   Dial String=, Expanded String=, Calling Number=

   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchCore:

   Result=-1

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchPeertype:exit@5985

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpAssociateIncomingPeerCore:

   Match Rule=DP_MATCH_TO_URI; URI=sip:6069487364@sip.anveo.com:5010

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchPeertype:

   Is Incoming=TRUE, Number Expansion=FALSE

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchCore:

   Dial String=, Expanded String=, Calling Number=

   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchCore:

   Result=-1

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchPeertype:exit@5985

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpAssociateIncomingPeerCore:

   Match Rule=DP_MATCH_FROM_URI; URI=sip:13525381577@72.9.149.69:9119

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchPeertype:

   Is Incoming=TRUE, Number Expansion=FALSE

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchCore:

   Dial String=, Expanded String=, Calling Number=

   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchCore:

   Result=-1

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchPeertype:exit@5985

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpAssociateIncomingPeerCore:

   Match Rule=DP_MATCH_INCOMING_DNIS; Called Number=6069487364

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchPeertype:

   Is Incoming=TRUE, Number Expansion=FALSE

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchCore:

   Dial String=6069487364, Expanded String=6069487364, Calling Number=

   Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/MatchNextPeer:

   Result=Success(0); Incoming Dial-peer=1 Is Matched

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchPeertype:exit@5985

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=1

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Nov 16 23:48:53.199: //-1/02FB659B8349/DPM/dpAssociateIncomingPeerSPI:exit@6564

*Nov 16 23:48:53.203: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=6069487364, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.203: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6069487364

*Nov 16 23:48:53.203: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:

CME_Router#Dial String=6069487364, Expanded String=6069487364, Calling Number=

   Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 16 23:48:53.203: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:

   Result=Success(0); Outgoing Dial-peer=1 Is Matched

*Nov 16 23:48:53.203: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Nov 16 23:48:53.203: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=6069487364, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

*Nov 16 23:48:53.203: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1

After lots of digging around, we found a solution.

I am running IOS 15.1-4 and there seems to be a new  command in it called TRUSTED IP LIST that is turned on by defualt.  I am  not sure if the command is new or that is is on by defualt. Anyways,  once I added the IP address (it will NOT accept a DNS address), my calls  started ccoming in.

Thanks so much to Soct B at Net Cert Labs for taking the time to work with me on the phone to get this resulved!

Michael

Yeah - it's pretty new and a definite gotcha.  I think there's an intended security benefit to basically acl it off to statically defined addresses (like you did) and/or statically defined addresses by way of session targets on your voip dial-peers.