cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1062
Views
0
Helpful
5
Replies

UC520 - AA over SIP trunk - problem

arsa-2103
Level 1
Level 1

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!

5 Replies 5

Udit Mehrotra
Cisco Employee
Cisco Employee

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

Thanks for your reply.

Here's the log from UC520.

One important detail. My SIP provider routes based on the "To " header in which sents the DID number.

I solved the problem by following the instructions given in this post

https://www.myciscocommunity.com/thread/8245;jsessionid=5A71DADD8656E6375D366EC4E0080485.node0

Hi,

I have tried to access the link but is not available anymore.

do you have the instructions?

regards

Open a new thread,so you can get help.
Please rate all useful posts