API Version: Development
System-Admin
, Company-Admin
or User
permissions. Permission level affects which users' opt status can be changed./rest/dialplan/update/
{
"type": "opt",
"scope": {
"mac": "0123456789ab0",
"contact_id": optional-contact-id
},
"values": {
"ext": "in" or "out",
...
}
}
mac
value is the handset identifier which is it's mac address and it's 'port' number combined. for most devices, the port number is a '0'.contact_id
will default to the contact-id
of the currently logged-in user. Administrative users may specify a different user to be modified.{
"type": "opt",
"scope": {
"mac": "0123456789ab0"
},
"values": {
"201": "in",
"202": "out"
}
}