08-19-2024 05:37 PM
So I have an ISR 4451 and 3 8841 Cisco IP phones, with CME. SIP provider is callcentric if that helps. Everything is setup, all phones can call each other but cannot get calls in or out through my SIP provider. It shows on their site that my extension is registered with them so my sip-ua is correct. The provider gave me an example setup, but that didn't help. Can anyone give me a clue on what is going on? I am very new to the telephony stuff. Here is the important parts of my config and some debugging,
I appreciate the help, I dont like asking for help but I have been stuck on this for like two weeks now. I keep getting some error about my debugging.txt... Ugh....
Solved! Go to Solution.
08-21-2024 02:37 PM
So I got it all working. Here is the important stuff if anyone searches and needs help!
! This configuration was tested on a Cisco ISR 4451 router
! Cisco IOS XE Software, Version 17.12.03a - isr4400-universalk9.17.12.03a.SPA.bin"
!
!
!
!
!
! TIPS:
! 1) Do a search and replace XXX with your local area code.
!
! 2) Do a search and replace YYYYYYYYYYY with your callcentric
! phone number. Should be 1777------- where '-' are digits.
!
! 3) Do a search and replace EXT with your callcentric extension.
!
! $) All the !10.10.0.0 IP addresses need to be changed to your network.
!
! 5) Change ABCD.1234.ABCD to your phones MAC Addresses.
!
!
!
!
voice service voip
ip address trusted list
ipv4 199.87.144.0 255.255.248.0
ipv4 204.11.192.0 255.255.252.0
ipv4 10.10.0.0 255.255.0.0 !*****YOUR NETWORK*****
mode border-element license periodicity days 15
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip handle-replaces
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
trace
sip
registrar server expires max 36000 min 600
localhost dns:sip.callcentric.net
early-offer forced
g729 annexb-all
no call service stop
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
!
!
!
!
!
voice register global
mode cme
source-address 10.10.102.1 port 5060
timeouts interdigit 5
max-dn 400
max-pool 100
timezone 12
date-format D/M/Y
mwi stutter
mwi reg-e164
tftp-path flash:
file text
create profile sync 0002115451940335
auto-register
!
!
voice register dn 1
number 100
name William
no-reg
label Main Office
!
voice register dn 2
number 101
name Austin
no-reg
label Austin's Office
!
voice register dn 3
number 102
name Kitchen
no-reg
label Kitchen
!
voice register pool 1
busy-trigger-per-button 2
id mac ABCD.1234.ABCD
type 8841
number 1 dn 1
dtmf-relay rtp-nte
usernameYYYYYYYYYYY password 0 myPassword
!
voice register pool 2
busy-trigger-per-button 2
id mac ABCD.1234.ABCD
type 8841
number 1 dn 2
dtmf-relay rtp-nte
username User1 password 0 myPassword
!
voice register pool 3
busy-trigger-per-button 2
id mac ABCD.1234.ABCD
type 8841
number 1 dn 3
dtmf-relay rtp-nte
username User2 password 0 myPassword
!
!
voice translation-rule 1
rule 1 /9911/ /911/
rule 2 /9411/ /411/
!
voice translation-rule 2
rule 1 /9XXX+/ /1XXX/
!
voice translation-rule 3
rule 1 /9+/ /1XXX/
!
voice translation-rule 4
rule 1 /91+/ /1/
!
voice translation-rule 5
rule 1 /YYYYYYYYYYYEXT/ /EXT/
!
voice translation-rule 7
rule 1 /1../ /YYYYYYYYYYYEXT/
!
!
voice translation-profile Incoming
translate called 5
!
voice translation-profile Local10
translate calling 7
translate called 2
!
voice translation-profile Local7
translate calling 7
translate called 3
!
voice translation-profile LongDistance
translate calling 7
translate called 4
!
voice translation-profile Services
translate calling 7
translate called 1
!
!
!
dial-peer voice 10 voip
description Outward SIP to carrier
destination-pattern YYYYYYYYYYY
session protocol sipv2
session target dns:sip.callcentric.net
!
dial-peer voice 11 voip
description Outward SIP to Services
translation-profile outgoing Services
destination-pattern 9[49]11
session protocol sipv2
session target dns:sip.callcentric.net
!
dial-peer voice 12 voip
description Outward 10 digit
translation-profile outgoing Local10
destination-pattern 9XXX[2-9]......
session protocol sipv2
session target dns:sip.callcentric.net
!
dial-peer voice 13 voip
description Outward 7 digit
translation-profile outgoing Local7
destination-pattern 9[2-9]......
session protocol sipv2
session target dns:sip.callcentric.net
!
dial-peer voice 14 voip
description Outward to long distance
translation-profile outgoing LongDistance
destination-pattern 91[2-9]..[2-9]......
session protocol sipv2
session target dns:sip.callcentric.net
!
dial-peer voice 1 voip
description Incoming
translation-profile incoming Incoming
session protocol sipv2
incoming called-number YYYYYYYYYYYEXT
voice-class sip copy-list 1
!
!
sip-ua
credentials username YYYYYYYYYYYEXT password 0 myPassword realm sip.callcentric.net
retry register 10
registrar dns:sip.callcentric.net expires 1800 auth-realm sip.callcentric.net
registrar ipv4:10.10.102.1 expires 3600 secondary
!
08-19-2024 05:40 PM
Debugging:
Critical-Router#
Critical-Router#
Critical-Router#debug voip dialpeer
voip dialpeer default debugging is on
Critical-Router#debug ccsip messages
SIP Call messages tracing is enabled
Critical-Router#
Aug 20 00:00:16.410: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:17778986813@10.10.10.10:5060 SIP/2.0
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
Max-Forwards: 14
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 INVITE
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 309
Contact: <sip:btpsh-66c28b0a-2a830b-bfd@199.87.144.69:5080>
v=0
o=CCSBC 1724085052 1724085053 IN IP4 199.87.144.69
s=CCSBC
c=IN IP4 199.87.144.69
t=0 0
m=audio 14856 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=rtcp:14857
a=ptime:20
Aug 20 00:00:16.598: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=17778986813, Called Number=17778986813, Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:16.610: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=17778986813
Aug 20 00:00:16.610: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Aug 20 00:00:16.610: Match Rule=DP_MATCH_DEST_SIP_USER; Called Number=17778986813
Aug 20 00:00:16.611: //-1/xxxxxxxxxxxx/DPM/dpMatchAORString:
SOFTWARE_ERROR
Aug 20 00:00:16.611: dpMatchAORString: No matching AOR entry found for called number - 17778986813
Aug 20 00:00:16.611: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST_CALLING; Called Number=17778986813 - CSK Matching Rule CSK_DEST - caller:[17778986813]
Aug 20 00:00:16.611: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Aug 20 00:00:16.619: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=17778986813, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
Aug 20 00:00:16.619: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Aug 20 00:00:16.660: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=15853105567, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:16.660: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Aug 20 00:00:16.660: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
Aug 20 00:00:16.746: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=15853105567, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:16.746: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Aug 20 00:00:16.746: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
Aug 20 00:00:16.774: //-1/0402D97C8008/DPM/dpAssociateIncomingPeerCore:
Calling Number=15853105567, Called Number=17778986813, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:16.774: //-1/0402D97C8008/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=1
Aug 20 00:00:16.774: //-1/0402D97C8008/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
Aug 20 00:00:16.915: //-1/xxxxxxxxxxxx/DPM/dpGetSIPUriProvisionBmp:
Tag=1
Aug 20 00:00:16.915: //-1/xxxxxxxxxxxx/DPM/dpGetSIPUriProvisionBmp:
Result=0 Bitmap=0x0
Aug 20 00:00:17.353: //19/0402D97C8008/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>
Date: Tue, 20 Aug 2024 00:00:16 GMT
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-17.12.3a
Session-ID: 00000000000000000000000000000000;remote=bfff015a2f79507d84cbd1f309106fb7
Content-Length: 0
Aug 20 00:00:17.353: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:17778986813@10.10.10.10:5060 SIP/2.0
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
Max-Forwards: 14
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 INVITE
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 309
Contact: <sip:btpsh-66c28b0a-2a830b-bfd@199.87.144.69:5080>
v=0
o=CCSBC 1724085052 1724085053 IN IP4 199.87.144.69
s=CCSBC
c=IN IP4 199.87.144.69
t=0 0
m=audio 14856 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=rtcp:14857
a=ptime:20
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersCore:
Calling Number=, Called Number=17778986813, Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=17778986813
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersCore:
Aug 20 00:00:17.428: Match Rule=DP_MATCH_DEST_SIP_USER; Called Number=17778986813
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchAORString:
SOFTWARE_ERROR
Aug 20 00:00:17.428: dpMatchAORString: No matching AOR entry found for called number - 17778986813
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchSafModulePlugin:
dialstring=17778986813, saf_enabled=0, saf_dndb_lookup=1, dp_result=-1
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersCore:
Calling Number=, Called Number=17778986813, Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=17778986813
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersCore:
Aug 20 00:00:17.428: Match Rule=DP_MATCH_DEST_SIP_USER; Called Number=17778986813
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchAORString:
SOFTWARE_ERROR
Aug 20 00:00:17.428: dpMatchAORString: No matching AOR entry found for called number - 17778986813
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchSafModulePlugin:
dialstring=17778986813, saf_enabled=0, saf_dndb_lookup=1, dp_result=-1
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Aug 20 00:00:17.428: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=17778986813, Called Number=17778986813, Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:17.428: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=17778986813
Aug 20 00:00:17.428: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Aug 20 00:00:17.428: Match Rule=DP_MATCH_DEST_SIP_USER; Called Number=17778986813
Aug 20 00:00:17.428: //-1/xxxxxxxxxxxx/DPM/dpMatchAORString:
SOFTWARE_ERROR
Aug 20 00:00:17.429: dpMatchAORString: No matching AOR entry found for called number - 17778986813
Aug 20 00:00:17.429: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST_CALLING; Called Number=17778986813 - CSK Matching Rule CSK_DEST - caller:[17778986813]
Aug 20 00:00:17.429: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Aug 20 00:00:17.429: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=17778986813, saf_enabled=0, saf_dndb_lookup=1, dp_result=-1
Aug 20 00:00:17.429: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Aug 20 00:00:17.429: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=17778986813, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:17.429: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Aug 20 00:00:17.429: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
Aug 20 00:00:17.429: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=17778986813, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:17.429: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Aug 20 00:00:17.429: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
Aug 20 00:00:17.443: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=17778986813, Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:17.443: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=17778986813
Aug 20 00:00:17.443: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Aug 20 00:00:17.444: Match Rule=DP_MATCH_DEST_SIP_USER; Called Number=17778986813
Aug 20 00:00:17.444: //-1/xxxxxxxxxxxx/DPM/dpMatchAORString:
SOFTWARE_ERROR
Aug 20 00:00:17.444: dpMatchAORString: No matching AOR entry found for called number - 17778986813
Aug 20 00:00:17.444: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Aug 20 00:00:17.444: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=17778986813, saf_enabled=0, saf_dndb_lookup=1, dp_result=-1
Aug 20 00:00:17.444: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Aug 20 00:00:17.444: //-1/0402D97C8008/DPM/dpMatchPeersCore:
Calling Number=, Called Number=17778986813, Peer Info Type=DIALPEER_INFO_SPEECH
Aug 20 00:00:17.444: //-1/0402D97C8008/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=17778986813
Aug 20 00:00:17.444: //-1/0402D97C8008/DPM/dpMatchPeersCore:
Aug 20 00:00:17.444: Match Rule=DP_MATCH_DEST_SIP_USER; Called Number=17778986813
Aug 20 00:00:17.444: //-1/0402D97C8008/DPM/dpMatchAORString:
SOFTWARE_ERROR
Aug 20 00:00:17.444: dpMatchAORString: No matching AOR entry found for called number - 17778986813
Aug 20 00:00:17.444: //-1/0402D97C8008/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Aug 20 00:00:17.444: //-1/0402D97C8008/DPM/dpMatchSafModulePlugin:
dialstring=17778986813, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
Aug 20 00:00:17.444: //-1/0402D97C8008/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Aug 20 00:00:17.444: %VOICE_IEC-3-GW: C SCRIPTS: Internal Error (No dialpeer match): IEC=1.1.128.11.5.0 on callID 19 GUID=0402D97C5DBE11EF8008A111CC37D054
Aug 20 00:00:17.445: //19/0402D97C8008/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>
Date: Tue, 20 Aug 2024 00:00:17 GMT
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-17.12.3a
Session-ID: 00000000000000000000000000000000;remote=bfff015a2f79507d84cbd1f309106fb7
Content-Length: 0
Aug 20 00:00:17.474: //19/0402D97C8008/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>;tag=B84CE-BD5
Date: Tue, 20 Aug 2024 00:00:17 GMT
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 INVITE
Allow-Events: telephone-event
Warning: 399 10.10.10.10 "No matching outgoing dial-peer"
Server: Cisco-SIPGateway/IOS-17.12.3a
Reason: Q.850;cause=1
Session-ID: bfff015a2f79507d84cbd1f309106fb7;remote=e7c582c18e8d566d86bf5a8d6c9e6945
Content-Length: 0
Aug 20 00:00:17.490: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:17778986813@10.10.10.10:5060 SIP/2.0
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
Max-Forwards: 14
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>;tag=B84CE-BD5
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 ACK
Content-Length: 0
35: Aug 20 00:00:18.352: //19/0402D97C8008/
------------------ Cover Buffer ---------------
Search-key = 15853105567:17778986813:19
Timestamp = Aug 20 00:00:16.424
CallID = 19
Peer-CallID = NA
Correlator = NA
Called-Number = 17778986813
Calling-Number = 15853105567
SIP CallID = fecd6e37-d929-123d-79bd-12e8d68c7d0f
SIP SessionID =
GUID = 0402D97C8008
Tenant = 0
Cause-code = unassigned number (1)
-----------------------------------------------
0: Aug 20 00:00:16.424: //19/0402D97C8008/CUBE_VT/SIP/Msg/ccsipDisplayMsg:
Received: SIP UDP message from 199.87.144.69:5080 to 10.10.10.10:5060
INVITE sip:17778986813@10.10.10.10:5060 SIP/2.0
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
Max-Forwards: 14
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 INVITE
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 309
Contact: <sip:btpsh-66c28b0a-2a830b-bfd@199.87.144.69:5080>
v=0
o=CCSBC 1724085052 1724085053 IN IP4 199.87.144.69
s=CCSBC
c=IN IP4 199.87.144.69
t=0 0
m=audio 14856 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=rtcp:14857
a=ptime:20
2: Aug 20 00:00:16.446: //19/0402D97C8008/CUBE_VT/SIP/FSM/SPI-State-Change: Current State: STATE_NONE, Next State: STATE_IDLE, Current Sub-State: STATE_NONE, Next Sub-State: STATE_NONE
3: Aug 20 00:00:16.773: //19/0402D97C8008/CUBE_VT/SIP/MISC/Matched Dialpeer: Dir: Inbound, Peer-Tag: 1
4: Aug 20 00:00:17.139: //19/0402D97C8008/CUBE_VT/SIP/FSM/Offer-Answer: Event: E_SIP_INVITE_SDP_RCVD, Current State: S_SIP_EARLY_DIALOG_IDLE, Next State: S_SIP_EARLY_DIALOG_OFFER_RCVD
5: Aug 20 00:00:17.162: //19/0402D97C8008/CUBE_VT/SIP/FSM/IWF: Event: E_SIP_IWF_EV_RCVD_SDP, Current State: S_SIP_IWF_SDP_IDLE, Next State: S_SIP_IWF_SDP_RCVD_AWAIT_PEER_EVENT
6: Aug 20 00:00:17.175: //19/0402D97C8008/CUBE_VT/SIP/MISC/Media Stream Parameters: Stream Type: voice+dtmf, Stream State: STREAM_ADDING, Negotiated Codec: g711ulaw, Negotiated DTMF Type: rtp-nte, Stream Index: 1
7: Aug 20 00:00:17.190: //19/0402D97C8008/CUBE_VT/SIP/API: cc_api_update_interface_cac_resource (0)
8: Aug 20 00:00:17.220: //19/0402D97C8008/CUBE_VT/SIP/API: voip_rtp_allocate_port (8000)
9: Aug 20 00:00:17.237: //19/0402D97C8008/CUBE_VT/SIP/MISC/Media Stream Parameters: Stream Type: voice+dtmf, Stream State: STREAM_ADDING, Negotiated Codec: g711ulaw, Negotiated DTMF Type: rtp-nte, Stream Index: 1
10: Aug 20 00:00:17.252: //19/0402D97C8008/CUBE_VT/SIP/API: cc_api_call_setup_ind_with_callID (0)
11: Aug 20 00:00:17.278: //19/0402D97C8008/CUBE_VT/SIP/FSM/SPI-State-Change: Current State: STATE_IDLE, Next State: STATE_RECD_INVITE, Current Sub-State: STATE_NONE, Next Sub-State: STATE_NONE
12: Aug 20 00:00:17.353: //19/0402D97C8008/CUBE_VT/SIP/Msg/ccsipDisplayMsg:
Sent: SIP UDP message from 10.10.10.10:5060 to 199.87.144.69:5080
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>
Date: Tue, 20 Aug 2024 00:00:16 GMT
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-17.12.3a
Session-ID: 00000000000000000000000000000000;remote=bfff015a2f79507d84cbd1f309106fb7
Content-Length: 0
14: Aug 20 00:00:17.354: //19/0402D97C8008/CUBE_VT/SIP/Msg/ccsipDisplayMsg:
Received: SIP UDP message from 199.87.144.69:5080 to 10.10.10.10:5060
INVITE sip:17778986813@10.10.10.10:5060 SIP/2.0
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
Max-Forwards: 14
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 INVITE
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 309
Contact: <sip:btpsh-66c28b0a-2a830b-bfd@199.87.144.69:5080>
v=0
o=CCSBC 1724085052 1724085053 IN IP4 199.87.144.69
s=CCSBC
c=IN IP4 199.87.144.69
t=0 0
m=audio 14856 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=rtcp:14857
a=ptime:20
16: Aug 20 00:00:17.354: //19/0402D97C8008/CUBE_VT/SIP/FSM/Event-Action: Event: SIPSPI_EV_NEW_MESSAGE, Current State: STATE_RECD_INVITE
17: Aug 20 00:00:17.444: //19/0402D97C8008/CUBE_VT/SIP/FSM/Event-Action: Event: SIPSPI_EV_CC_CALL_PROCEEDING, Current State: STATE_RECD_INVITE
18: Aug 20 00:00:17.444: //19/0402D97C8008/CUBE_VT/SIP/Msg/ccsipDisplayMsg:
Sent: SIP UDP message from 10.10.10.10:5060 to 199.87.144.69:5080
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>
Date: Tue, 20 Aug 2024 00:00:17 GMT
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-17.12.3a
Session-ID: 00000000000000000000000000000000;remote=bfff015a2f79507d84cbd1f309106fb7
Content-Length: 0
20: Aug 20 00:00:17.472: //19/0402D97C8008/CUBE_VT/SIP/MISC/Call Disconnect: Initiated at: 0x260070A, Originated at: 0x260070B, Cause Code: 1
21: Aug 20 00:00:17.472: //19/0402D97C8008/CUBE_VT/SIP/API: cc_api_update_interface_cac_resource (0)
22: Aug 20 00:00:17.472: //19/0402D97C8008/CUBE_VT/SIP/FSM/Event-Action: Event: SIPSPI_EV_CC_CALL_DISCONNECT, Current State: STATE_RECD_INVITE
23: Aug 20 00:00:17.472: //19/0402D97C8008/CUBE_VT/SIP/FSM/SPI-State-Change: Current State: STATE_RECD_INVITE, Next State: STATE_DISCONNECTING, Current Sub-State: STATE_NONE, Next Sub-State: STATE_NONE
24: Aug 20 00:00:17.473: //19/0402D97C8008/CUBE_VT/SIP/FSM/SPI-State-Change: Current State: STATE_DISCONNECTING, Next State: STATE_DISCONNECTING, Current Sub-State: STATE_NONE, Next Sub-State: STATE_NONE
25: Aug 20 00:00:17.473: //19/0402D97C8008/CUBE_VT/SIP/Msg/ccsipDisplayMsg:
Sent: SIP UDP message from 10.10.10.10:5060 to 199.87.144.69:5080
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>;tag=B84CE-BD5
Date: Tue, 20 Aug 2024 00:00:17 GMT
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 INVITE
Allow-Events: telephone-event
Warning: 399 10.10.10.10 "No matching outgoing dial-peer"
Server: Cisco-SIPGateway/IOS-17.12.3a
Reason: Q.850;cause=1
Session-ID: bfff015a2f79507d84cbd1f309106fb7;remote=e7c582c18e8d566d86bf5a8d6c9e6945
Content-Length: 0
27: Aug 20 00:00:17.488: //19/0402D97C8008/CUBE_VT/SIP/Msg/ccsipDisplayMsg:
Received: SIP UDP message from 199.87.144.69:5080 to 10.10.10.10:5060
ACK sip:17778986813@10.10.10.10:5060 SIP/2.0
Via: SIP/2.0/UDP 199.87.144.69:5080;branch=z9hG4bK5c7d.2c2558b542d29f2a83e91e56453dc2ad.0
Max-Forwards: 14
From: "NONE YA BIDNIS" <sip:15853105567@10.64.12.11>;tag=yUcp0NjB3NvXB
To: <sip:17168674321@ss.callcentric.com>;tag=B84CE-BD5
Call-ID: fecd6e37-d929-123d-79bd-12e8d68c7d0f
CSeq: 87502210 ACK
Content-Length: 0
28: Aug 20 00:00:17.488: //19/0402D97C8008/CUBE_VT/SIP/FSM/Event-Action: Event: SIPSPI_EV_NEW_MESSAGE, Current State: STATE_DISCONNECTING
29: Aug 20 00:00:17.488: //19/0402D97C8008/CUBE_VT/SIP/API: voip_rtp_release_port (8000)
30: Aug 20 00:00:17.557: //19/0402D97C8008/CUBE_VT/SIP/API: cc_api_call_disconnect_done (0)
31: Aug 20 00:00:17.558: //19/0402D97C8008/CUBE_VT/SIP/FSM/SPI-State-Change: Current State: STATE_DISCONNECTING, Next State: STATE_DEAD, Current Sub-State: STATE_NONE, Next Sub-State: STATE_NONE
32: Aug 20 00:00:17.559: //19/0402D97C8008/CUBE_VT/SIP/MISC/Error: sipSPIFlushDeferredQueue: Invalid deferredQueue
33: Aug 20 00:00:17.559: //19/0402D97C8008/CUBE_VT/SIP/MISC/Error: ws_call_fork_cleanup: ws_info is NULL
34: Aug 20 00:00:17.559: //19/0402D97C8008/CUBE_VT/SIP/API: voip_rtp_release_port (8000)
08-19-2024 10:26 PM
I’m not fully aware of your setup, but based on the logs you shared, I see a message stating “No matching outgoing dial-peer.” If you can share the configurations along with the calling and called numbers, we can assist you further.
08-20-2024 07:14 AM
Thank you so much. I did attach the important parts of the configs in the first post. Yeah not sure why it was showing outgoing dial peer when I was calling into this box. Cellphone calling into box 15853105567, Number for incoming calls by provider 17168674321, provider extension/account number 17778986813 ext 100.
08-19-2024 11:39 PM
As @Nithin Eluvathingal stated your call is not match any dial peer to send the call to your service provider.
Aug 20 00:00:17.428: //-1/0402D97C8008/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
08-19-2024 11:47 PM - edited 08-20-2024 02:57 AM
Per your shared configuration you haven’t turned on Cube functionality in the router. Please have a look at this document for information about how to configure a router to act as a Session Boarder Controller, ie SBC, by using Cube functionality. Cisco Unified Border Element Configuration Guide - Cisco IOS XE 17.6 Onwards
08-20-2024 07:28 AM
Yeah not sure why it was trying to match an outgoing dial peer when I was dialing in, but I enabled cube per the link said.
08-20-2024 08:02 AM
There is always two call legs to a call, one inbound and another outbound. The call routing in IOS will always match an inbound dial peer and an outbound dial peer. See this document for an in depth explanation of how call routing works in IOS. Explain Cisco IOS and IOS XE Call Routing
08-20-2024 08:05 AM
Can you please outline what process and command you used to enable Cube functionality?
08-20-2024 09:38 AM - edited 08-20-2024 09:43 AM
voice service voip - > mode border-element license periodicity days 15
show cube status shows...
Cube version 14.7
SW-Version 14.12.3a
HA-Type none
Dynamic License usage count 0
08-20-2024 11:23 AM
Thanks, I just wanted to make sure that you understood what was needed to enable Cube functionality.
08-20-2024 09:10 AM - edited 08-20-2024 09:12 AM
So maybe it is something else. I threw some simple dial-peers in there quick and rebooted.
!
dial-peer voice 20 voip
description Outward SIP to carrier
destination-pattern 17778986813
session protocol sipv2
session target ipv4:10.10.102.1
voice-class codec 1
!
dial-peer voice 30 voip
description Incoming
translation-profile incoming Incoming
session protocol sipv2
session target dns:sip.callcentric.net
incoming called-number 17778986813100
voice-class codec 1
voice-class sip copy-list 1
!
It worked, at least incoming... I dialed the number and it rang, at least I heard it ring, My phones are at home so I dont know if they actually rang. So I rebooted the router. Now it doesn't work. So I did show voice register statistics an not one of my phones registered after the reboot. Any way to force them?
I tried voice register pool 1 -> reset... It says no contact info available for pool 1. So about ten minutes after trying that and searching for a way to reboot them, the registered themselves and it rang again. So weird... Now I got to get my other config working. ugh lol
08-20-2024 11:21 AM
Just so you know a “session target” command is not needed on an inbound dial peer as it’s used on outbound dial peers.
08-21-2024 12:44 AM
Here are some things to check if you're having trouble with calls going through Cisco in ISR 4451 in SIP:
Round-trip delay: The round-trip delay between VoIP endpoints should be less than 300 ms, if possible. You can use pings to measure the round-trip delay. If the delay is higher than 300 ms, you can try to make it constant so you don't introduce jitter or variable delay.
Queuing: You can use Cisco IOS commands like show queue interface or show priority to make sure the Cisco IOS queuing mechanism is putting VoIP packets in the right queues.
SIP trunk registration: You can register a SIP trunk on a Cisco router by entering configuration mode and following these steps:
Configure the credentials to register with the ISP, including the username, password, and real given by the provider.
Enter the carrier's IP address or FQDN, which is the server address where the chunk will register. This address could be IPv4, IPv6, or a DNS address.
Execute shows cpua register status to verify that the SIP trunk is registered.
08-21-2024 02:37 PM
So I got it all working. Here is the important stuff if anyone searches and needs help!
! This configuration was tested on a Cisco ISR 4451 router
! Cisco IOS XE Software, Version 17.12.03a - isr4400-universalk9.17.12.03a.SPA.bin"
!
!
!
!
!
! TIPS:
! 1) Do a search and replace XXX with your local area code.
!
! 2) Do a search and replace YYYYYYYYYYY with your callcentric
! phone number. Should be 1777------- where '-' are digits.
!
! 3) Do a search and replace EXT with your callcentric extension.
!
! $) All the !10.10.0.0 IP addresses need to be changed to your network.
!
! 5) Change ABCD.1234.ABCD to your phones MAC Addresses.
!
!
!
!
voice service voip
ip address trusted list
ipv4 199.87.144.0 255.255.248.0
ipv4 204.11.192.0 255.255.252.0
ipv4 10.10.0.0 255.255.0.0 !*****YOUR NETWORK*****
mode border-element license periodicity days 15
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip handle-replaces
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
trace
sip
registrar server expires max 36000 min 600
localhost dns:sip.callcentric.net
early-offer forced
g729 annexb-all
no call service stop
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
!
!
!
!
!
voice register global
mode cme
source-address 10.10.102.1 port 5060
timeouts interdigit 5
max-dn 400
max-pool 100
timezone 12
date-format D/M/Y
mwi stutter
mwi reg-e164
tftp-path flash:
file text
create profile sync 0002115451940335
auto-register
!
!
voice register dn 1
number 100
name William
no-reg
label Main Office
!
voice register dn 2
number 101
name Austin
no-reg
label Austin's Office
!
voice register dn 3
number 102
name Kitchen
no-reg
label Kitchen
!
voice register pool 1
busy-trigger-per-button 2
id mac ABCD.1234.ABCD
type 8841
number 1 dn 1
dtmf-relay rtp-nte
usernameYYYYYYYYYYY password 0 myPassword
!
voice register pool 2
busy-trigger-per-button 2
id mac ABCD.1234.ABCD
type 8841
number 1 dn 2
dtmf-relay rtp-nte
username User1 password 0 myPassword
!
voice register pool 3
busy-trigger-per-button 2
id mac ABCD.1234.ABCD
type 8841
number 1 dn 3
dtmf-relay rtp-nte
username User2 password 0 myPassword
!
!
voice translation-rule 1
rule 1 /9911/ /911/
rule 2 /9411/ /411/
!
voice translation-rule 2
rule 1 /9XXX+/ /1XXX/
!
voice translation-rule 3
rule 1 /9+/ /1XXX/
!
voice translation-rule 4
rule 1 /91+/ /1/
!
voice translation-rule 5
rule 1 /YYYYYYYYYYYEXT/ /EXT/
!
voice translation-rule 7
rule 1 /1../ /YYYYYYYYYYYEXT/
!
!
voice translation-profile Incoming
translate called 5
!
voice translation-profile Local10
translate calling 7
translate called 2
!
voice translation-profile Local7
translate calling 7
translate called 3
!
voice translation-profile LongDistance
translate calling 7
translate called 4
!
voice translation-profile Services
translate calling 7
translate called 1
!
!
!
dial-peer voice 10 voip
description Outward SIP to carrier
destination-pattern YYYYYYYYYYY
session protocol sipv2
session target dns:sip.callcentric.net
!
dial-peer voice 11 voip
description Outward SIP to Services
translation-profile outgoing Services
destination-pattern 9[49]11
session protocol sipv2
session target dns:sip.callcentric.net
!
dial-peer voice 12 voip
description Outward 10 digit
translation-profile outgoing Local10
destination-pattern 9XXX[2-9]......
session protocol sipv2
session target dns:sip.callcentric.net
!
dial-peer voice 13 voip
description Outward 7 digit
translation-profile outgoing Local7
destination-pattern 9[2-9]......
session protocol sipv2
session target dns:sip.callcentric.net
!
dial-peer voice 14 voip
description Outward to long distance
translation-profile outgoing LongDistance
destination-pattern 91[2-9]..[2-9]......
session protocol sipv2
session target dns:sip.callcentric.net
!
dial-peer voice 1 voip
description Incoming
translation-profile incoming Incoming
session protocol sipv2
incoming called-number YYYYYYYYYYYEXT
voice-class sip copy-list 1
!
!
sip-ua
credentials username YYYYYYYYYYYEXT password 0 myPassword realm sip.callcentric.net
retry register 10
registrar dns:sip.callcentric.net expires 1800 auth-realm sip.callcentric.net
registrar ipv4:10.10.102.1 expires 3600 secondary
!
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