Function: updateConfig()
updateConfig(
name,patch,options?):Promise<OutboundConfig>
Update an outbound SIP config. Pass null in the optional fields to reset to defaults.
Parameters
name
string
patch
see OutboundConfig
account?
string | null
cps?
number | null
domain?
string | null
fromUser?
string | null
password?
string | null
authorization password, if one is needed
registerEndpointId?
string | null
server?
string | null
transport?
"tcp" | "udp" | null
options?
account?
an account to use; if not set, defaults to the getCurrentAccountName | current account
Returns
Promise<OutboundConfig>
an updated config
Found a mistake? Let us know.