Set

Function

This API is used to set Intercom > CallSetup parameters.

Request Message

SeeIntercom > CallSetup > Range > Parameter Description > Table 2 for parameter description.

Sample:

POST /API/Intercom/CallSetup/Set HTTP/1.1
{
    "version": "1.0",
    "data": {"channel_info": {"CH1": {
        "call_settings": {
            "ringtone": "Default",
            "calling_time_out": 180,
            "touchless_call": true,
            "status_led": "Off"
        },
        "sip_settings": {
            "enable_sip": true,
            "allow_incoming_sip_calls": true,
            "voip_stream_settings": "Substream",
            "sip_port": 9000,
            "sip_tls_port": 9000,
            "rtp_start_port": 9000,
            "ice": true,
            "turn_enable": true,
            "turn_server_address": "1.1.1.1",
            "user_name": "admin",
            "password": "admin123.",
            "stun_enable": true,
            "stun_server_address": "2.2.2.2"
        },
        "chn_index": "CH1"
    }}}
}

Response Message

None.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {}
}

Error Code

See Response Messages Body and Common error_code for more information.