Update a gateway
mcp_channeltype_id, mcp_gateway_id, gateway_name, gateway_type,
assign_type, username, password, token, outbound_process,
inbound_process, gateway_ip, gateway_config, priority, isactive,
gateway_comm_mode, max_online, diagnosis_continuesfailed,
testrun_interval, international_prefix, gateway_preserve_1,
This function allows root users to update a gateway.
* action: UPDATE_GATEWAY.
* mcp_channeltype_id: channel type of the gateway. Available channel types are:
* mcp_gateway_id: specifies ID of the gateway that needs to be updated.
* gateway_name: name of gateway.
: assign type.
: username for the gateway.
: process for outbound messages/calls.
: process for inbound messages/calls.
: priority of the gateway. "1" means the highest priority.
: specifies whether the gateway is active or not. "1" mean active.
* gateway_comm_mode: communication mode. Available modes are listed below:
"RECV_ONLY": used for receiving only.
"SEND_ONLY": used for sending only.
"DUPLEX": used for two-way(send and receive) communication.
: a number.
: a note about the gateway.