01-14-2011 09:58 AM - edited 03-21-2019 03:32 AM
Hello Experts,
I have a CME and UC500 setup for SIP calls. I can make SIP calls from CME to UC500 but not the other way around. here's the output of relevant configuration. Any help would be highly appreciated.
CME - 3xxx UC520 - 2xx
UC520
dial-peer voice 1030 voip
corlist outgoing call-local
description **CCA*North American-7-digit*UC1861**
translation-profile outgoing PSTN_Outgoing
preference 1
destination-pattern 83...
video codec h264
session protocol sipv2
session target sip-server
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
codec g711ulaw
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
dial-peer voice 1000 voip
description ** Incoming call from SIP trunk (Generic SIP Trunk Provider) **
session protocol sipv2
session target sip-server
incoming called-number .T
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
codec g711ulaw
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
sip-ua
no remote-party-id
retry invite 2
retry register 10
timers connect 100
registrar ipv4:192.168.5.11:5060 expires 3600
sip-server ipv4:192.168.5.11:5060
host-registrar
CME
dial-peer voice 1 voip
description *** Incoming call to - -- Generic -- - SIP Trunk ***
video codec h264
session protocol sipv2
session target sip-server
incoming called-number .%
codec g711ulaw
no vad
!
dial-peer voice 2 voip
description UC520
destination-pattern 2..
session protocol sipv2
session target sip-server
incoming called-number .T
codec g711ulaw
no vad
!
!
sip-ua
retry invite 2
retry register 10
retry options 1
timers connect 100
registrar ipv4:192.168.5.10 expires 3600
sip-server ipv4:192.168.5.10:5060
host-registrar
here's an output on CME what happens when I call from UC520
Jan 14 17:57:20.039: //31/xxxxxxxxxxxx/CCAPI/cc_api_caps_ind:
Call Entry Is Not Found
Jan 14 17:57:20.043: //-1/965F2287803B/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=2049754602
----- ccCallInfo IE subfields -----
cisco-ani=2049754602
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=3001
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0
Jan 14 17:57:20.043: //-1/965F2287803B/CCAPI/cc_api_call_setup_ind_common:
Interface=0x86EFED94, Call Info(
Calling Number=2049754602,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=3001(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
Incoming Dial-peer=1, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=31
Jan 14 17:57:20.043: //-1/965F2287803B/CCAPI/ccCheckClipClir:
In: Calling Number=2049754602(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jan 14 17:57:20.043: //-1/965F2287803B/CCAPI/ccCheckClipClir:
Out: Calling Number=2049754602(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jan 14 17:57:20.043: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Jan 14 17:57:20.043: :cc_get_feature_vsa malloc success
Jan 14 17:57:20.043: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Jan 14 17:57:20.043: cc_get_feature_vsa count is 1
Jan 14 17:57:20.043: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Jan 14 17:57:20.043: :FEATURE_VSA attributes are: feature_name:0,feature_time:2309554632,feature_id:3
Jan 14 17:57:20.043: //31/965F2287803B/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=2049754602(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=3001(TON=Unknown, NPI=Unknown))
Jan 14 17:57:20.043: //31/965F2287803B/CCAPI/cc_process_call_setup_ind:
Event=0x8742DB18
Jan 14 17:57:20.047: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 3001
Jan 14 17:57:20.047: //31/965F2287803B/CCAPI/ccCallSetContext:
Context=0x85F97EDC
Jan 14 17:57:20.047: //31/965F2287803B/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 31 with tag 1 to app "_ManagedAppProcess_TOLLFRAUD_APP"
Jan 14 17:57:20.051: //31/965F2287803B/CCAPI/ccCallDisconnect:
Cause Value=21, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
Jan 14 17:57:20.051: //31/965F2287803B/CCAPI/ccCallDisconnect:
Cause Value=21, Call Entry(Responsed=TRUE, Cause Value=21)
Jan 14 17:57:20.075: //31/965F2287803B/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x86EFED94, Tag=0x0, Call Id=31,
Call Entry(Disconnect Cause=21, Voice Class Cause Code=0, Retry Count=0)
Jan 14 17:57:20.075: //31/965F2287803B/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jan 14 17:57:20.075: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
Jan 14 17:57:20.075: :cc_free_feature_vsa freeing 89A901C0
Jan 14 17:57:20.075: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
Jan 14 17:57:20.075: vsacount in free is 0
thanks in advance
OJ
01-14-2011 10:31 AM
OJ do a debug voip dialpeer all so we can see what dial peer is being used.
01-14-2011 11:25 AM
Hello Marcus,
Here's the output of debug voip dialpeer all
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=3001, Called Number=3001, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=3001
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=3001, Expanded String=3001, Calling Number=3001T
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=20001 Is Matched
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=3001, saf_enabled=1, saf_dndb_lookup=1, dp_result=0
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=20001
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=2049754602, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=2049754602
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=2049754602T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5985
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=2049754602
Jan 14 19:22:32.472: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=2049754602T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=2 Is Matched
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5985
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6613
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=2049754602, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=2049754602
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=2049754602T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5985
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=2049754602
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=2049754602T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=2 Is Matched
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5985
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
Jan 14 19:22:32.476: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6613
Jan 14 19:22:32.476: //-1/7DA6C5E78084/DPM/dpAssociateIncomingPeerCore:
Calling Number=2049754602, Called Number=3001, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.476: //-1/7DA6C5E78084/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_VIA_URI; URI=sip:192.168.5.10:5060
Jan 14 19:22:32.476: //-1/7DA6C5E78084/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Jan 14 19:22:32.476: //-1/7DA6C5E78084/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchCore:
Result=-1
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchPeertype:exit@5985
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_REQUEST_URI; URI=sip:3001@192.168.5.11:5060
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchCore:
Result=-1
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchPeertype:exit@5985
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_TO_URI; URI=sip:3001@192.168.5.11
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchCore:
Result=-1
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchPeertype:exit@5985
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_FROM_URI; URI=sip:2049754602@192.168.5.11
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchCore:
Result=-1
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchPeertype:exit@5985
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_INCOMING_DNIS; Called Number=3001
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchCore:
Dial String=3001, Expanded String=3001, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=1 Is Matched
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=2 Is Matched
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchPeertype:exit@5985
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=1
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
Jan 14 19:22:32.480: //-1/7DA6C5E78084/DPM/dpAssociateIncomingPeerSPI:exit@6564
Jan 14 19:22:32.484: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=3001, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.484: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=3001
Jan 14 19:22:32.484: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=3001, Expanded String=3001, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Jan 14 19:22:32.484: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=20001 Is Matched
Jan 14 19:22:32.484: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jan 14 19:22:32.484: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=3001, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
Jan 14 19:22:32.484: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=20001
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