[Freeswitch-users] Interacting with another session

Oleg Stolyar olegstolyar at gmail.com
Mon Sep 12 22:21:56 MSD 2016


Yes, I saw that but that's for creating/originating a new session.  I need
to connect to an existing one.

On Mon, Sep 12, 2016 at 11:12 AM, Abaci B <abaci64 at gmail.com> wrote:

> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference#
> LuaAPIReference-freeswitch.Session
>
> On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar <olegstolyar at gmail.com>
> wrote:
>
>> Hi guys,
>>
>> Is there a way to interact with another session from Lua if you know that
>> session's uuid?  I found JS documentation that says you can do new
>> Session(uuid) but when I try that from Lua, I get errors.
>>
>> When tried this:
>> otherSession = new freeswitch.Session(uuid)
>>
>> otherSession was null.
>>
>> Hopefully I am missing something obvious.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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://confluence.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/20160912/eaee25f8/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list