[Freeswitch-users] Trigger re-INVITE with different SDP during a call

Sammy Govind govoiper at gmail.com
Mon Jan 23 16:23:57 MSK 2012


Hey,
I'm not very sure about this. I pretty much guess that the kind of
re-negotiation trigger must always come from UAC from either end for FS to
relay it to other end, otherwise FS is a server and I doubt this may not
get "triggered" from server itself.

Anyways, that was just my humble opinion some other SIP+FreeSwitch guru
could guide you better.

Regards,
Sammy

2012/1/23 Roland Hänel <roland at haenel.me>

> Hi,
>
> All these solutions only work for the specific case that the re-INVITE is
> done to match an outgoing call (bridge / transfer). What I'm looking for is
> a way to initiate a re-negotiation, not necessarily because the call is
> going to be bridged. For example to change the codec prior to entering a
> conference.
>
> Greetings,
> Roland
>
>
> 2012/1/23 Zohair Raza <engineerzuhairraza at gmail.com>
>
>> Hi,
>>
>> Try setting bypass_media_after_bridge=true
>>
>> with <param name="inbound-codec-negotiation" value="greedy"/> in sofia
>> profile and then pass absolute_codec_string
>> before bridge on the new leg like
>>
>> <action application="export"
>> data="nolocal:absolute_codec_string=PCMA,PCMU"/>
>>
>> bypass_media_after_bridge=true is a bit similar to canreinvite of asterisk
>>
>> Regards,
>> Zohair Raza
>>
>>
>> On Mon, Jan 23, 2012 at 1:59 PM, Muhammad Shahzad <
>> shaheryarkh at googlemail.com> wrote:
>>
>>> Not sure but i think FS can't initiate re-invite, however if caller (or
>>> callee) initiate a re-invite then FS responds accordingly, including
>>> codec renegotiation.
>>>
>>> Thank you.
>>>
>>>
>>> 2012/1/23 Roland Hänel <roland at haenel.me>
>>>
>>>> Hi,
>>>>
>>>> Is there a way to trigger a SIP re-INVITE for a channel that has
>>>> already been answered, and to make FreeSwitch offer a certain list of
>>>> codecs to the endpoint?
>>>>
>>>> Let's assume the call is answered with PCMA/PCMU, then the user enters
>>>> an IVR, now we know that he's going to join a conference. For the
>>>> conference, I might want to enable G.722 and H.264 video (which should not
>>>> generally be enabled for all incoming calls). I found stuff about
>>>> codec-related channel variables, but no 'trigger' to tell FS to make a
>>>> codec re-negotiation.
>>>>
>>>> Greetings,
>>>> Roland
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Muhammad Shahzad
>>> -----------------------------------
>>> CISCO Rich Media Communication Specialist (CRMCS)
>>> CISCO Certified Network Associate (CCNA)
>>> Cell: +92 334 422 40 88
>>> MSN: shari_786pk at hotmail.com
>>> Email: shaheryarkh at googlemail.com
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> 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
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>>
>
>
> --
> Gruß,
> Roland
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120123/ecc1de83/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list