[Home]

Summary:ASTERISK-14364: Unsupported SDP media type in offer
Reporter:Jonas Kellens (jonaskellens)Labels:
Date Opened:2009-06-23 14:26:41Date Closed:2011-06-07 14:01:06
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/CodecHandling
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:[Jun 23 21:12:41] WARNING[18384]: chan_sip.c:5270 process_sdp: Unsupported SDP media type in offer: audio 5036 RTP/SAVP 0 3 8 18 2 4 9 97 101

Call with Grandstream 2010, latest firmware.

On Grandstream screen appears :

"488 NOT ACCEPTABLE
Try other vocoder"

****** ADDITIONAL INFORMATION ******

Via webinterface of Grandstream GXP 2010 codecs are set :
choice 1 : pcma
choice 2 : gsm
choice 3 : pcmu

In sip.conf :

[grandstream]
type=friend
host=dynamic
secret=***
context=intern
canreinvite=no
qualify=yes
mailbox=10@voicemail-context
call-limit=1
accountcode=grandstream
disallow=all
allow=alaw
allow=ulaw
allow=gsm

On Asterisk CLI :

--- (12 headers 0 lines) ---
asterisk*CLI>
<--- SIP read from 192.168.1.13:5060 --->
INVITE sip:20@192.168.1.248 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.13:5060;branch=z9hG4bK3f9d06222919c519
From: <sip:grandstream@192.168.1.248>;tag=e754e940c2c91c62
To: <sip:20@192.168.1.248>
Contact: <sip:grandstream@192.168.1.13:5060;transport=udp>
Supported: replaces, timer, path
Proxy-Authorization: Digest username="grandstream", realm="asterisk-jocan", algorithm=MD5, uri="sip:20@192.168.1.248", nonce="0aa84be4", response="fb30e6dcca79d0fb3fa8b68b0c726ed2"
Call-ID: 0860205e91a25e62@192.168.1.13
CSeq: 27036 INVITE
User-Agent: Grandstream GXP2010 1.2.1.4
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Content-Type: application/sdp
Content-Length: 580

v=0
o=grandstream 8000 8001 IN IP4 192.168.1.13
s=SIP Call
c=IN IP4 192.168.1.13
t=0 0
m=audio 5040 RTP/SAVP 0 3 8 18 2 4 9 97 101
a=sendrecv
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:W8dy8rHmTbKL8gk4y/X8LIi+3LXUoRAzxFzIb+jj
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:BANcvqTPqMeUAya3T7tizsnyWb6X/hVE1wEILKDW
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:9 G722/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=20
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11

<------------->
--- (14 headers 21 lines) ---
Sending to 192.168.1.13 : 5060 (no NAT)
Using INVITE request as basis request - 0860205e91a25e62@192.168.1.13
Found user 'grandstream'
[Jun 23 21:20:59] WARNING[18384]: chan_sip.c:5270 process_sdp: Unsupported SDP media type in offer: audio 5040 RTP/SAVP 0 3 8 18 2 4 9 97 101
Comments:By: Joshua C. Colp (jcolp) 2009-06-23 14:31:17

This is a configuration issue with the phone itself. It is setup to use encryption but Asterisk does not currently support that. Please disable it.