11-18-2012 10:33 AM - edited 03-16-2019 02:15 PM
Can someone please post a sh run of a working SIP setup. I do not have ANY POTS lines at all. With my current config, I can make outbound calls perfectly! But for the life of me, I hav enot been able to figure out how to route inbound calls from my SIP provider directly to a phone or even better, to a hunt-group.
I have spent the last three days searching the web for answers to no avail. This really can't be this hard! I know people do use SIP for inbound too.
when I do a debug voice dial-peer all, I do see the call coming into my router. But it gets lost from there, never ringing.
My router is a C2851 running CME 8.6
I have posted my sh run config and debug results here twice, but no help. So this time all I am asking if for someone to post a working config so I can parse it and learn. HOWEVER, if there is anything thatyou need from me to help me get past this stuumbling block, I will provide it.
I don't know where else to go for help.
Michael
REPOST:
I have my SIP outbound working just fine. But for the life of me, I cannot get SIP inbound working. I have tried
voice translation-rule 1
rule 1 /6069487364/ /1000/
To put the number directly on the phone and it does not work. So I thought I would assing the SIP DID (I have just one DID) to a hunt group. That am I doing wrong???? I have spent days to get incoming calls to work. I can't really be this hard can it?
Below is my current sh run results. Below is a debug voip dial-peer result from when I place a call to my SIP number from my cell phone.
Attached is my current sh run results
Cell Number 3525381577
SIP DID 2055369199
SIP Called-number 6069487364
*This is my account number from my SIP provider.It shows up in the debug results below. The 2055369199 DID does not show up.
SIP Provider anveo.com
ePhone-dn 1000
Voice hunt-group 1 2000
At this time I DO NOT have a FXO card or any other POTS lines.
Please let me know what else you need from me to get this working so I can move forward with my CCNA Voice learning.
Thank You,
Michael
sh sip-ua statistics
CME_Router#sh sip-ua register status
Line peer expires(sec) registered P-Associ-URI
================================ ========== ============ ========== ============
1000 20001 8 no
1001 20002 121 no
1003 20003 78 no
6069487364 -1 114 yes (IS THIS RIGHT, A -1?)
debug voip dialpeer (An incoming call from my cell phone, 3525381577, to my Anveo DID, 2055369199)
*Nov 17 22:42:50.242: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=6069487364, Called Number=6069487364, Peer Info Type=DIALPEER_INFO_SPEECH
*Nov 17 22:42:50.242: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=6069487364
*Nov 17 22:42:50.242: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Nov 17 22:42:50.242: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=6069487364, saf_enabled=1, saf_dndb_lookup=1, dp_result=0
*Nov 17 22:42:50.242: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=100
2: Dial-peer Tag=200
*Nov 17 22:42:50.242: //-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 17 22:42:50.242: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=210
*Nov 17 22:42:50.242: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Nov 17 22:42:50.246: //-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 17 22:42:50.246: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=210
*Nov 17 22:42:50.246: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Nov 17 22:42:50.246: //-1/F34B03C48E4A/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 17 22:42:50.246: //-1/F34B03C48E4A/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=100
*Nov 17 22:42:50.246: //-1/F34B03C48E4A/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
*Nov 17 22:42:50.250: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=6069487364, Peer Info Type=DIALPEER_INFO_SPEECH
*Nov 17 22:42:50.250: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
CME_Router#Match Rule=DP_MATCH_DEST; Called Number=6069487364
*Nov 17 22:42:50.250: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Nov 17 22:42:50.250: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=6069487364, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
*Nov 17 22:42:50.250: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=100
2: Dial-peer Tag=200
11-18-2012 10:42 AM
Even if you have previous posted your config I urge you to do so again in this post and also please describe in detail your call path. Called and calling number from ITSP is crucial, also please describe your internal dial plan in as much detail as possible. If you also could post the output from debug voice dial-peer that would help.
Please remember to rate all useful posts.
Sent from Cisco Technical Support iPhone App
11-20-2012 12:21 PM
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
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