[Freeswitch-dev] Removing SDP from 183/180

Artur Cichocki acichocki at supermedia.pl
Fri May 27 12:12:32 MSD 2011

Hi All.

I just wrote this patch. It ads 'sip_remove_183sdp' flag, which removes 
SDP from 183 and returns 180 (it also removes SDP from 180, because FS
changes 180 with SDP to 183).

To turn it on add {sip_remove_183sdp=true} to the dial string.

Why? Because in some situations we don't want to transfer voice between 
clients before a real call establishment (and yes, I know that early 
media in this stage is allowed by RFC).

Real case:
Try to setup two clients, one of them using Sipdroid. Turn on bypass 
mode. Try to call to Sipdroid client, you will hear caller voice 
together with the ring (because Sipdroid sends 180 with SDP, and puts 
voice on the speaker).

Patch attached.

Artur Cichocki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sip_remove_183sdp.patch
Type: text/x-diff
Size: 3684 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110527/7db6afe9/attachment.bin 

More information about the FreeSWITCH-dev mailing list