Destination Sets management
addDestinationSet()
This application is used to create a destination set.
Parameters:
- name - Name of the destination set. String. Required.
- currency - ISO4217 currency code, i.e. 'USD'. String. Required.
- description - String. Optional.
- post_call_surcharge - Double. Optional.
- connect_fee - Double. Optional.
- free_seconds - Integer. Optional.
- grace_period - Integer. Optional.
Returns:
- result - OK - String.
- i_destination_set - ID of the newly created destination set. Integer.
- XMLRPC fault in case of any error.
listDestinationSets()
This application is used to list destination sets.
Parameters:
- name_pattern - Pattern to filter destination sets by name (SQL syntax for the LIKE operator is used). String. Optional.
- i_destination_set - Integer. Optional.
Returns:
- result - OK - String.
- list - Array of dictionaries.
- XMLRPC fault in case of any error.
getDestinationSetRoutesList()
This application is used to list routes of a destination set. Available since Sippy 2024.
Parameters:
- i_destination_set - Integer. Required.
Returns:
- result - OK - String.
- list - Array of dictionaries.
- XMLRPC fault in case of any error.
addRouteToDestinationSet()
This application is used to add a route to a destination set.
Parameters:
- i_destination_set - ID of the destination set to add route to. Integer. Required.
- prefix - Route prefix. String. Required.
- preference - Integer. Optional.
- huntstop - Integer. Optional.
- timeout - Integer. Optional. (timeout_2xx parameter)
- price_1 - Double. Optional.
- price_n - Double. Optional.
- interval_1 - Integer. Optional.
- interval_n - Integer. Optional.
- timeout_1xx - Integer. Optional.
- forbidden - Boolean. Optional.
Returns:
- result - OK - String.
- XMLRPC fault in case of any error.
delRouteFromDestinationSet()
This application is used to remove a route from a destination set.
Parameters:
- i_destination_set - ID of the destination set to delete route from. Integer. Required.
- prefix - Route prefix. String. Required.
Returns:
- result - OK - String.
- XMLRPC fault in case of any error.
deleteAllRoutesInDestinationSet()
This application is used to remove all routes from a destination set. Available since Sippy 2024.
Parameters:
- i_destination_set - ID of the destination set to delete all of the routes from. Integer. Required.
Returns:
- result - OK - String.
- XMLRPC fault in case of any error.
updateRouteInDestinationSet()
This application is used to update a route in a destination set.
Parameters:
- i_destination_set - ID of the destination set. Integer. Required.
- prefix - Route prefix. String. Required.
- new_prefix - String. Optional.
- preference - Integer. Optional.
- huntstop - Integer. Optional.
- timeout - Integer. Optional. (timeout_2xx parameter)
- price_1 - Double. Optional.
- price_n - Double. Optional.
- interval_1 - Integer. Optional.
- interval_n - Integer. Optional.
- timeout_1xx - Integer. Optional.
- forbidden - Boolean. Optional.
Returns:
- result - OK - String.
- XMLRPC fault in case of any error.