[Freeswitch-users] Verto object teardown

Anthony Minessale anthony.minessale at gmail.com
Tue Sep 20 03:44:30 MSD 2016


var myverto = new $.verto({yada: yada});

myverto.hangup();  // hangup all active calls

myverto.purge();  // probably not necessary but doesn't hurt. Cleans out
table internally.

myverto.logout(); // Disconnect WebSocket



On Mon, Sep 19, 2016 at 4:26 PM, Oleg Stolyar <olegstolyar at gmail.com> wrote:

> Hi guys,
>
> how do I properly tear down a Verto object in JS to make sure the
> associated socket is closed?
>
> _________________________________________________________________________
> 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
>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/48b3e8ac/attachment.html 


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