ProSBC:Restful API Route
You can create/modify a route in your system with RestFul API using JSON format. The JSON must be in the following format:
{
"called": "",
"remapped_source_leg_profile": "(same as NAP)",
"calling": "",
"name": "TO_CLIENT",
"remapped_nap": "(By registered or DNS user)",
"nap": "3CX",
"remapped_calling": "",
"remapped_called": "",
"custom_attributes": {
"private_address": "",
"weight": "",
"remapped_private_address": "",
"priority": "1",
"forward_sip_domain": "1",
"forward_sip_parameters": "1",
"***meta***": {
"valid_url": false
}
},
"remapped_destination_leg_profile": "(same as NAP)",
"routeset_name": "",
"***meta***": {
"version": "3.1.137",
"src_path": ""
}
}
Parameters in the JSON file
- Name
- Routeset Name
- Called
- Calling
- NAP
- Remapped Called
- Remapped Calling
- Remapped NAP
- Source call leg remapped Profile
- Destination call leg remapped Profile
Custom Parameters