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?