this functionality is already implemented with {ignore_early_media=ring_ready} On Fri, May 27, 2011 at 3:12 AM, Artur Cichocki <acichocki@supermedia.pl> wrote:
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
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900