[Freeswitch-users] lua script to disconnect active outbound calls to a specific gateway

Michael Collins msc at freeswitch.org
Tue Nov 18 00:33:25 MSK 2014


I'm sure it's possible. I think the bigger question is: what is the
endgame? Is there a bigger picture here?

In any case, if you're not using the presence_data field you could always
set that value on the outbound leg and then find the corresponding channels
with "show channels like 'foo'" and from there do something like "uuid_kill
<uuid> <cause>" on each one.

In any case, look before you leap. Using a tool that supposedly kills all
calls to a particular gateway may have unintended consequences.

-MC


On Mon, Nov 17, 2014 at 8:11 AM, Jason Holden <jason.holden at start.ca> wrote:

>  Is this possible?
>
>
>
>
>
>
>
> _________________________________________________________________________
> 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/20141117/dd9cb47a/attachment.html 


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