02-02-2011 09:35 AM - edited 03-16-2019 03:14 AM
I have a problem with AA over SIP trunk. My SIP provider use g711alaw over SIP trunk.
My configuration is
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
voice class sip-profiles 13
request ACK sdp-header Audio-Attribute modify "recvonly" "sendrecv"
response 200 sdp-header Audio-Attribute modify "recvonly" "sendrecv"
request REINVITE sdp-header Audio-Attribute modify "inactive" "sendonly"
voice translation-rule 410
rule 1 /^9\(.*\)/ /\1/
rule 15 /^...$/ /MY_number2/
voice translation-profile PSTN_CallForwarding
translate redirect-target 410
translate redirect-called 410
dial-peer voice 3004 voip
description IN
service toroute5
session protocol sipv2
session target sip-server
incoming called-number MY_number1
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
voice-class sip profiles 13
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
dial-peer voice 2001 voip
description ** cue auto attendant number **
translation-profile outgoing PSTN_CallForwarding
destination-pattern ABC
b2bua
session protocol sipv2
session target ipv4:10.1.10.1
voice-class sip outbound-proxy ipv4:10.1.10.1
dtmf-relay sip-notify
codec g711alaw
no vad
When I call My_number2, I get this error
SIP: (29) Attribute mid, level 1 instance 1 not found.
SIP: (29) Attribute ptime, level 1 instance 1 not found.
SIP: (30) Group (a= group line) attribute, level 65535 instance 1 not found.
SIP: Attribute mid, level 1 instance 1 not found.
000174: Feb 3 02:29:46.463: //30/4CF26B068037/SIP/Error/sipSPIStreamTypeAndDtmfRelay: No voice codec and dtmf-relay is not rtp-nte
000175: Feb 3 02:29:46.463: //30/4CF26B068037/SIP/Error/sipSPIDoAudioNegotiation: Media negotiation failed for m-line 1
000176: Feb 3 02:29:46.463: //30/4CF26B068037/SIP/Error/sipSPIDoMediaNegotiation:
no valid fax or audio streams
000177: Feb 3 02:29:46.463: //30/4CF26B068037/SIP/Error/sipSPICompareRespMediaInfo: Media Negotiation failed with no 18x Media
000178: Feb 3 02:29:46.463: //30/4CF26B068037/SIP/Error/ccsip_api_call_connect_media: Media Info Failure
000179: Feb 3 02:29:46.463: //-1/xxxxxxxxxxxx/SIP/Error/sipSPIGetContentQSIG: No Inbound Container Created !!!
000180: Feb 3 02:29:46.463: //-1/xxxxxxxxxxxx/SIP/Error/sipSPIGetContentQ931: No Inbound Container Created !!!
000181: Feb 3 02:29:46.463: //30/4CF26B068037/SIP/Error/sipSPI_ipip_ExtractPassthruContentFromSipContainer: Invalid CCB/Data/Container
000182: Feb 3 02:29:46.463: //30/4CF26B068037/SIP/Error/sipAddSipContainerToCallEntry: Unable to add passthru hdrs
to container
000183: Feb 3 02:29:46.475: //-1/xxxxxxxxxxxx/SIP/Error/debugPrintBranchList: via branch list is:
000184: Feb 3 02:29:46.475: //-1/xxxxxxxxxxxx/SIP/Error/debugPrintBranchList: end of list
SIP: (31) Group (a= group line) attribute, level 65535 instance 1 not found.
000185: Feb 3 02:29:46.487: //-1/xxxxxxxxxxxx/SIP/Error/get_content_length: Could not get Content-length
Can anybody help me with this problem?
Thanks!
02-02-2011 11:49 AM
Looks like media neotiation is failing on inbound pstn leg...
Collect
debug ccsip media
debug ccsip messages
debug voip ccapi default
Check if correct inbound dial-peer is matched... If that is correct, make sure that capabilities are matched.
HTH
Udit
02-02-2011 12:31 PM
02-03-2011 06:26 AM
I solved the problem by following the instructions given in this post
https://www.myciscocommunity.com/thread/8245;jsessionid=5A71DADD8656E6375D366EC4E0080485.node0
10-28-2015 03:13 PM
Hi,
I have tried to access the link but is not available anymore.
do you have the instructions?
regards
10-28-2015 03:51 PM
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