[Freeswitch-users] Removing SDP from 183/180

Kristian Kielhofner kris at kriskinc.com
Sun Jun 26 21:45:02 MSD 2011


Interesting patch for a strange case...

BTW, the "broken" client is the one that generates local ringback when
there is a 180 w/ SDP.

Either way this belongs on Jira:

http://jira.freeswitch.org/

On Sun, Jun 26, 2011 at 4:07 AM, Artur Cichocki <acichocki at supermedia.pl> wrote:
> Hi All.
>
> I didn't get any response from fs-dev moderator for one month so it goes
> here.
>
> 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-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Kristian Kielhofner



More information about the FreeSWITCH-users mailing list