/
4.1.17 Videomail & Voicemail

4.1.17 Videomail & Voicemail

Videomail & Voicemail

The method allows you to save and read voicemail settings.

URL/vm.ashx 

Parameters

Parameter

Description

l

Loginlogin of SIP account 

p

Passwordpassword of SIP account

vm

Voicemail - a parameter specifying the mode in which the voicemail will operate. Optional parameter, used only when saving.
The accepted parameters are:

  •  -1 - voicemail disabled,
  •   0 - voicemail enabled in voicemail mode,
  •   1 - voicemail enabled in videomail mode (currently this value is not supported in the API)

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

Related content