4.1.17 Videomail & Voicemail
Videomail & Voicemail
The method allows you to save and read voicemail settings.
URL: /vm.ashx
Parameters
Parameter | Description |
---|---|
l | Login - login of SIP account |
p | Password - password of SIP account |
vm | Voicemail - a parameter specifying the mode in which the voicemail will operate. Optional parameter, used only when saving.
|
em | Email - a parameter specifying the email address to which emails with the voicemail recording attached will be sent. If you want to deactivate sending e-mails with voicemail, set the value to "NULL". Optional parameter, used only when saving. |
Return value
- When saving voicemail settings, if everything was successful, the method will return code 200.
If an error occurred on the server, the method will return the appropriate error code shown below:
Code
Description
400
Incorrect parameters - one of the parameters was not provided
403
Invalid HTTP method - only POST method accepted
406
The login and/or password are incorrect
410
Invalid email format
500
Internal server error