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
null
| string
cps
null
| number
domain
null
| string
fromUser
null
| string
password
null
| string
authorization password, if one is needed
server
null
| string
transport
null
| "tcp"
| "udp"
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.