cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10473
Views
0
Helpful
7
Replies

SIP/2.0 488 Not Acceptable Media

Good day!

I'm kinda lost here so I would like you opinion with this, I have a couple of users that are not able to make outbound calls while others can (they are dialing the same number). I checked the device profile, line, and phone they are using and everything is the same.

Both calls hit the same voice router (15.2(4)M2) and I'm not that good reading SIP debug yet but I can definitely a difference between a call and the other, failing with

SIP/2.0 488 Not Acceptable Media

Warning: 304 10.191.152.210 "Media Type(s) Unavailable"

But I dont have any idea of how to fix it, a few links I found that it could be related with SRTP or a coded problem, but I'm not seeing anything that can confirm that.

Attaching the debug ccsip all, any suggestion?

Rolando A. Valenzuela

2 ACCEPTED SOLUTIONS

Accepted Solutions
Rising star

It is codec issue as logs are

It is codec issue as logs are pointing out.

Either you can use a transcoder and apply to SIP trunk device pool,or  make sure the audio codec preference list which you have set on inbound voip dial-peer has all codecs listed( G729br8,G729 etc).


2776168: .Jun 16 08:08:05.004: //188286/A07AFF800001/SIP/Info/sipSPIGetSDPDirectionAttribute: No direction attribute present or multiple direction attributes that can't be handled for m-line:1 and num-a-lines:0
2776169: .Jun 16 08:08:05.004: //188286/A07AFF800001/SIP/Error/sipSPIDoAudioNegotiation:
Media negotiation failed for m-line 1
2776170: .Jun 16 08:08:05.004: //188286/A07AFF800001/SIP/Error/sipSPIDoMediaNegotiation:

no valid fax or audio streams
2776171: .Jun 16 08:08:05.004: //188286/A07AFF800001/SIP/Error/sipSPIHandleInviteMedia:
Media Negotiation failed for an incoming call>>>>>>>>>>>>>>>>.
2776172: .Jun 16 08:08:05.004: //188286/A07AFF800001/SIP/Info/ccsip_set_cc_cause_for_spi_err: Categorized cause:65, category:278
2776173: .Jun 16 08:08:05.004: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_set_release_source_for_peer: ownCallId[188286], src[6]
2776174: .Jun 16 08:08:05: %VOICE_IEC-3-GW: SIP: Internal Error (INVITE, codec mismatch): >>>>>>>>>>>>>>>>>>

IEC=1.1.278.7.110.0 on callID 188286
2776175: .Jun 16 08:08:05.008: //188286/A07AFF800001/SIP/Info/sipSPIContinueNewMsgInvite: ccsip_api_call_setup_ind returned: SIP_UNACCEPTABLE_MEDIA_ERR>>>>>>>>>>>>>
2776176: .Jun 16 08:08:05.008: //188286/A07AFF800001/SIP/Error/sipSPIContinueNewMsgInvite:
Unacceptable media indicated for INVITE

Rising star

Please try to  other codecs

Please try to  other codecs eg g729br8 codec in this list and paste the output is still doesn't work.thanks

7 REPLIES 7
Rising star

It is codec issue as logs are

It is codec issue as logs are pointing out.

Either you can use a transcoder and apply to SIP trunk device pool,or  make sure the audio codec preference list which you have set on inbound voip dial-peer has all codecs listed( G729br8,G729 etc).


2776168: .Jun 16 08:08:05.004: //188286/A07AFF800001/SIP/Info/sipSPIGetSDPDirectionAttribute: No direction attribute present or multiple direction attributes that can't be handled for m-line:1 and num-a-lines:0
2776169: .Jun 16 08:08:05.004: //188286/A07AFF800001/SIP/Error/sipSPIDoAudioNegotiation:
Media negotiation failed for m-line 1
2776170: .Jun 16 08:08:05.004: //188286/A07AFF800001/SIP/Error/sipSPIDoMediaNegotiation:

no valid fax or audio streams
2776171: .Jun 16 08:08:05.004: //188286/A07AFF800001/SIP/Error/sipSPIHandleInviteMedia:
Media Negotiation failed for an incoming call>>>>>>>>>>>>>>>>.
2776172: .Jun 16 08:08:05.004: //188286/A07AFF800001/SIP/Info/ccsip_set_cc_cause_for_spi_err: Categorized cause:65, category:278
2776173: .Jun 16 08:08:05.004: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_set_release_source_for_peer: ownCallId[188286], src[6]
2776174: .Jun 16 08:08:05: %VOICE_IEC-3-GW: SIP: Internal Error (INVITE, codec mismatch): >>>>>>>>>>>>>>>>>>

IEC=1.1.278.7.110.0 on callID 188286
2776175: .Jun 16 08:08:05.008: //188286/A07AFF800001/SIP/Info/sipSPIContinueNewMsgInvite: ccsip_api_call_setup_ind returned: SIP_UNACCEPTABLE_MEDIA_ERR>>>>>>>>>>>>>
2776176: .Jun 16 08:08:05.008: //188286/A07AFF800001/SIP/Error/sipSPIContinueNewMsgInvite:
Unacceptable media indicated for INVITE

Thanks for the reply Deepak,

Thanks for the reply Deepak, since this is an outgoing call to the PSTN the dial-peer that it will uses will be

dial-peer voice 13 pots
 description LONG-DISTANCE CALLS
 translation-profile outgoing 12
 destination-pattern 90[1-9]........
 port 0/0/0:15
 forward-digits 10

and since is pots the codec commad is not available, I will need to set up that on the voip one (which is for incoming calls)

dial-peer voice 2 voip
 destination-pattern ....$
 session protocol sipv2
 session target ipv4:10.10.215.10
 incoming called-number .
 voice-class codec 1
 dtmf-relay rtp-nte sip-kpml sip-notify
 no vad

is that what you are suggestion? the gateway it self already have a dspfarm

dspfarm profile 2 transcode
 codec g729abr8
 codec g729ar8
 codec g711alaw
 codec g711ulaw
 codec g729r8
 maximum sessions 6
 associate application SCCP

Thanks for the help!

Rising star

yes , i have mentioned voip

yes , i have mentioned voip dial-peer inbound so your understanding is correct.

what is in voice class codec 1? does it have all codecs listed?

Also the transcoder has to be applied on the SIP trunk on CUCM which is pointing to the GW .

I will rather fix it in the

I will rather fix it in the router is possible, this is class codec 1

voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 isac mode independent bit-rate 32000 framesize 30
 codec preference 3 g729r8

What will be your suggestion? change the class codec or list the codecs on the dial-peer? what I dont understand is why the mismatch is present only for certain users while the configuration seems to be equal everywhere.

Rising star

Please try to  other codecs

Please try to  other codecs eg g729br8 codec in this list and paste the output is still doesn't work.thanks

That made the trick Deepak,

That made the trick Deepak, thank you so much!!

2781820: .Jun 17 08:02:21.443: //191508/FDDA83800001/SIP/Media/sipSPISelectCodecVersion: g729br8 flavor of g729 codec will be used
2781821: .Jun 17 08:02:21.443: //191508/FDDA83800001/SIP/Info/sipSPIDoAudioNegotiation: Codec (g729br8) Negotiation Successful on Static Payload for m-line 1


Sent:
SIP/2.0 100 Trying

Sent:
SIP/2.0 183 Session Progress

Sent:
SIP/2.0 200 OK

Received:
BYE sip

Thanks again.

Rolando A. Valenzuela

Rising star

Good work my friend.

Good work my friend.

Cheers !!!

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards