[Freeswitch-users] Re- Sending "api <conferencename> hup all" after Lua service script detects local hangup

Giovanni Maruzzelli gmaruzz at gmail.com
Thu Jun 9 11:54:19 MSD 2016


On Thu, Jun 9, 2016 at 9:40 AM, Andrew Keil <andrew.keil at visytel.com> wrote:

> Thanks for you fast response.  When you say API object do you mean
> something like this:
>
>
>
> Early in my Lua script:
>
> api = freeswitch.API()
>
>
>
> After HUNGUP detected:
>
> api:execute(“conference”, “testconf hup all”)
>

yes


>
>
> Do I then have to dispose of the api object in some way prior to the Lua
> script exiting?  Or is this done automatically?
>

is done automatically


-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160609/ac325b54/attachment.html 


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