Descrição:
Novo/Editar/Excluir/Listar ramais do PBX hospedado
URI:
https://api.multitel.net/hpbx/extensions/{operation}/{billing_code}/{extension}
Parâmetros:
Required:
{operation} - can be one of : 'new' , 'list', 'edit', 'delete', 'enable', 'disable'
{billing_code} - your hosted pbx billing code
Optional:
{extension} - extension number to be edited or created
Métodos:
POST
Exemplo de saída:
curl -x POST https://username:password@api.multitel.net/hpbx/extensions/new/75823891/101{
"status":
{
"code":"200",
"msg":""
},
"response":
{
"name":"101-75823891",
"cidnum":"+18886868581",
"cidname":"MultiTEL",
"username":"100-75823891",
"password":"samplepassword",
"server":"sampleserver.mhpbx.net",
"dtmfmode":"rfc2833",
"useragent":"Zoiper rv2.10.4.4"
}
}Additional parameters for this function (and for the edit function, as well):fmfmnumber - Find Me/Follow Me numberfmfmdialtimeout - Find Me/Follow Me dial timeout (in seconds) fmfmdialmethod - Find Me/Follow Me dialmethod (possible values: simultaneous / sequential)recording - 1/0 - record callsdtmfmode - rfc2833 , sipinfo, etc