Thanks Daniel,
But is it possible for kamailio to check that list and either allow or deny the request?
On Mon, Jun 3, 2019 at 1:38 PM Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
you can retrieve the list of available destinations via RPC command:
https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatc...
By using jsonrpcs module, the list is in json format.
Cheers, Daniel
On 03.06.19 14:34, Colin, Andrew wrote:
I am using the API to remove dispatchers with a simple curl command, is there a way i can make kamailio check that there are sufficient dispatchers available before removing them when the command is run?
Example: i am removing asterisk1 out of kamailio dispatcher list, but kamailio needs to ensure that there is atleast 2 or 3 other asterisk servers active in the list before it allows it to be removed.
any ideas how i can achieve this?
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda