[Freeswitch-users] Strange early media SDP behavior

Sergey Okhapkin sos at sokhapkin.dyndns.org
Sat Aug 14 08:19:07 PDT 2010


Late negotiation is on, bypass_media=true. Leg B receives the following SDP in 
SIP 183 message:

   v=0
   o=root 4913 4913 IN IP4 64.21.13.41
   s=session
   c=IN IP4 64.21.13.41
   t=0 0
   m=audio 37650 RTP/AVP 0 8 18 101
   a=rtpmap:0 PCMU/8000
   a=rtpmap:8 PCMA/8000
   a=rtpmap:18 G729/8000
   a=fmtp:18 annexb=no
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16
   a=silenceSupp:off - - - -
   a=ptime:20
   a=sendrecv

3 codecs in SDP offer. Freeswitch send to leg A SIP 183 with the following SDP:

   v=0
   o=root 4913 4913 IN IP4 64.21.13.41
   s=session
   c=IN IP4 64.21.13.41
   t=0 0
   m=audio 37650 RTP/AVP 0 101
   a=rtpmap:0 PCMU/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16
   a=silenceSupp:off - - - -
   a=ptime:20

1 codec only. Why 2 other codecs are removed from SDP? Tested on today's git, 
older versions have the same behavior. Is it expected behavior or a bug?




More information about the FreeSWITCH-users mailing list