Actions

ProSBC:Restful API Route

Revision as of 06:41, 23 January 2023 by Serdar Civici (talk | contribs)

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

Custom Parameters