02-12-2014 04:16 AM - edited 03-21-2019 08:04 AM
I'm sorry for reposting this but In the original discussion , I accidentally marked one of the answers as correct and I don't know how much that affects someone taking another look at the discussion.
I have a problem with calls going through to the sip provider as g729 whereas they now require g711alaw. I cannot make outbound calls. I configured the uc540w via CCA and though I specified g711alaw In the sip trunk , It didn't work.
I tried adding g711alaw to one of the dial-peers to see If that would make a change.In doing so , I can no longer make any Incoming calls to any extensions.I removed the configuration but It hasn't changed anything.I have no idea what I've done.
I ran a debug ccsip message and am receiving Warning: 304 "Media Type(s) Unavailable" q.805 error=65.
I would really appreciate any assistance.I've attached the ccsip message debug and the running config.
Solved! Go to Solution.
02-12-2014 10:57 AM
The config seems ok. If you have problem you can follow the same check list:
- debug dial peer to get dp used in outgoing calls
- check dp config used
- fix dp config
Let me know the result.
BR
02-12-2014 05:07 AM
What is the dial-peer matched during incoming and outgoing calls?
You can check this using debug voip dialpeer.
In your config there are many voip dial-peer without codec config.
Add "voice-class codec 1" or "codec ..." to all dp.
Regards.
02-12-2014 05:17 AM
Hi.I've tried adding the dial peer but no change.Does It have to be done on all dial peers for It to work correctly ? I don't understand how the config changed.incoming calls were fine.The only thing i did was add codec g711alaw to one dial peer and then all incoming calls stopped.
I've attached the dialpeer debug.
02-12-2014 09:18 AM
debug dialpeer output:
000459: Feb 12 14:52:46.479: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=25251000, Called Number=25251000, Peer Info Type=DIALPEER_INFO_SPEECH
000460: Feb 12 14:52:46.479: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=25251000
000461: Feb 12 14:52:46.479: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
000462: Feb 12 14:52:46.479: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=25251000, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
000463: Feb 12 14:52:46.479: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
000464: Feb 12 14:52:46.479: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=35314403500, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
000465: Feb 12 14:52:46.479: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
000466: Feb 12 14:52:46.479: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
000467: Feb 12 14:52:46.483: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=35314403500, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
000468: Feb 12 14:52:46.483: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
000469: Feb 12 14:52:46.483: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
000470: Feb 12 14:52:46.483: //-1/67B7E54F8278/DPM/dpAssociateIncomingPeerCore:
Calling Number=35314403500, Called Number=25251000, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
000471: Feb 12 14:52:46.483: //-1/67B7E54F8278/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=3013
000472: Feb 12 14:52:46.483: //-1/67B7E54F8278/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
000473: Feb 12 14:52:50.307: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=25251000, Called Number=25251000, Peer Info Type=DIALPEER_INFO_SPEECH
000474: Feb 12 14:52:50.307: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=25251000
000475: Feb 12 14:52:50.307: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
000476: Feb 12 14:52:50.307: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=25251000, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
000477: Feb 12 14:52:50.307: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
000478: Feb 12 14:52:50.307: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=99477241, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
000479: Feb 12 14:52:50.307: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=1040
000480: Feb 12 14:52:50.307: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
000481: Feb 12 14:52:50.311: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=99477241, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
000482: Feb 12 14:52:50.311: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=1040
000483: Feb 12 14:52:50.311: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
000484: Feb 12 14:52:50.311: //-1/6A000105827C/DPM/dpAssociateIncomingPeerCore:
Calling Number=99477241, Called Number=25251000, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
000485: Feb 12 14:52:50.311: //-1/6A000105827C/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=3013
000486: Feb 12 14:52:50.311: //-1/6A000105827C/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
Incoming dial-peers matched are 3013 and 1040 but no codec are configured:
dial-peer voice 3013 voip
description AA-AA
translation-profile incoming AA-AA_Called_18
session protocol sipv2
session target sip-server
incoming called-number 25251000
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
dial-peer voice 1040 voip
description **CCA*cyprus*Mobiles**
translation-profile outgoing PSTN_Outgoing
preference 1
destination-pattern 99T
session protocol sipv2
session target sip-server
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
Please add codec or voice-class codec command.
BR
02-12-2014 10:09 AM
02-12-2014 10:57 AM
The config seems ok. If you have problem you can follow the same check list:
- debug dial peer to get dp used in outgoing calls
- check dp config used
- fix dp config
Let me know the result.
BR
02-12-2014 11:04 AM
ok.Thanks again!
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