[Freeswitch-users] Implementing emergency calls ... or call priority ?
Shaun Stokes
shaun.stokes at itec-support.co.uk
Fri Apr 27 07:07:36 UTC 2018
The best solution would probably be to build a LUA script.
Using LUA you can interact with FreeSWITCH via API 'api show channels as json' to list currently active channels into a JSON string, then convert that into an array. Process the array in a loop (i.e. for each or while) to identify which channels to drop based on your criteria.
________________________________________
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Sebastian Kemper <sebastian_ml at gmx.net>
Sent: 27 April 2018 07:10
To: FreeSWITCH Users Help; Peter Nerád; 'FreeSWITCH Users Help'
Subject: Re: [Freeswitch-users] Implementing emergency calls ... or call priority ?
Am April 27, 2018 4:46:36 AM UTC schrieb "Peter Nerád" <nerad.peter at gmail.com>:
>Whats are best practicies to implement emergency calls ?
>
>I can identify such a call by regexp but how to handle those calls ?
>
>Is there some build param to be set ?
>
>How I can set priority for call ? e.g. I have limited capacity for
>outgoing and incoming call to 10. I need to drop some calls with small
>priority to allow emergency call, but I have no idea where to start.
>
>Can somebody give me right direction for this ?
>
>Thank you very much
>
>PS: Google does not helped me :(
>
>
>_________________________________________________________________________
>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
Hi Peter,
You can define all sorts of limits. Have a look here: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+Limit
Regards,
Sebastian
_________________________________________________________________________
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
______________________________________________________________________
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.
______________________________________________________________________
______________________________________________________________________
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.
______________________________________________________________________
More information about the FreeSWITCH-users
mailing list