[Freeswitch-users] No reINVITE when bridging two sessions from JavaScript with bypass_media_after_bridge=true

Timur Valishev tim at novion.ru
Fri Feb 5 00:18:15 PST 2010


Thank you for reply, Brian!

http://wiki.freeswitch.org/wiki/Bypass_Media says:
*>Can I use bypass media when executing the bridge application from a
javascript? *
*>Of course you can, all it takes is setting the bypass_media session
variable to true before the bridge: *
*>session.setVariable('bypass_media', 'true'*);

I've modified my script to make sure: <<<<<<<<<<<<<<<<<<<<<<<<<<<<,
*session = new Session(*
*"{ignore_early_media=true,hangup_after_bridge=true}sofia/external/
timwork at novion.ru"*
*);*
*session2 = new Session(*
*"{ignore_early_media=true}sofia/external/timwork at novion.ru"*
*);*
*session.setVariable('bypass_media', 'true');*
*session2.setVariable('bypass_media', 'true');*
*bridge(session, session2);*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

But there is still no reINVITE =(

SVN trunk I'm building from seems to be fresh: <<<<<<<<<<<<<<<
*[root at sip freeswitch.trunk]# svn info*
*Path: .*
*URL: http://svn.freeswitch.org:/svn/freeswitch/trunk*
*Repository Root: http://svn.freeswitch.org:/svn*
*Repository UUID: d0543943-73ff-0310-b7d9-9358b9ac24b2*
*Revision: 16561*
*Node Kind: directory*
*Schedule: normal*
*Last Changed Author: mcollins*
*Last Changed Rev: 16561*
*Last Changed Date: 2010-02-03 04:53:31 +0300 (Wed, 03 Feb 2010)*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Do you have any ideas how to make FS reINVITE in this scenario?

2010/2/5 Brian West <brian at freeswitch.org>:
> http://wiki.freeswitch.org/wiki/Bypass_Media
>
> Also make sure you're on SVN trunk.
>
> /b
>
> On Feb 4, 2010, at 1:47 PM, Тимур Валишев wrote:
>
>> Is there something I do wrong in the first script? What should I do to
>> make FS reINVITE peers? Many thanks in advance!
>
>
> _______________________________________________
> 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/20100205/f5f42fee/attachment-0002.html 


More information about the FreeSWITCH-users mailing list