I am looking to force disconnections of channels if for example an emergency number is dialed and there are active calls on a specific gateway where the emergency call would be routed to.

 The purpose of this is to ensure that the outbound emergency call connects to its end destination and does not experience any busy lines.

 

 

From: Brian West [mailto:brian@freeswitch.org]
Sent: Monday, November 17, 2014 5:41 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] lua script to disconnect active outboundcalls to a specific gateway

 

fsctl hupall matching var <var_name> <var_value>

Been there since 2010 :)

 

On Mon, Nov 17, 2014 at 3:33 PM, Michael Collins <msc@freeswitch.org> wrote:

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@start.ca> wrote:

Is this possible?

           

 

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



 

--

Brian West
brian@freeswitch.org

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest