/
4.1.5 Local dialplan (balancing)
4.1.5 Local dialplan (balancing)
Local dialplan - load balancing
URL: /balancing.ashx
cURL Request Example
--header 'User-Agent: vippie;ios;1.2.3' \ --header 'Content-Type: text/plain' \ --header 'Authorization: Basic YW5kOmFuZDJhMzJkaW0=' |
---|
After calling the balancing.ashx page (without any parameters), we will receive a list of all prefixes along with the servers assigned to them in JSON format.
Sample JSON format containing a list of prefixes.
{ "servers":[ { "prefix":"1", "dns":"cluster1.callto.net" }, { "prefix":"2", "dns":"cluster2.callto.net" }, { "prefix":"3", "dns":"cluster3.callto.net" }, { "prefix":"4", "dns":"cluster4.callto.net" }, { "prefix":"5", "dns":"cluster5.callto.net" }, { "prefix":"6", "dns":"cluster6.callto.net" }, { "prefix":"7", "dns":"cluster7.callto.net" }, { "prefix":"8", "dns":"cluster8.callto.net" }, { "prefix":"9", "dns":"cluster9.callto.net" } ] }
, multiple selections available,
Related content
4.1.4 Contacts - mobile
4.1.4 Contacts - mobile
More like this
4.1.1 Register
4.1.1 Register
Read with this
4.1.19 Custom fields
4.1.19 Custom fields
Read with this
4.1.7 Push notification
4.1.7 Push notification
Read with this
4.1.8 Attachment
4.1.8 Attachment
Read with this
4.1.10 Profile
4.1.10 Profile
Read with this