Videomail & Voicemail
Metoda umożliwia zapisanie i odczytanie ustawień poczty głosowej.
Note: https://wa.callto.netThe method allows you to save and read voicemail settings.
URL: /vm.ashx
Parameters
Parametr Parameter | Opis Description |
---|---|
l | Login - login do konta of SIP account |
p | Password - hasło do konta SIP password of SIP account |
vm | Voicemail - parametr określający w jakim trybie będzie działała poczta głosowa. Parametr opcjonalny, wykorzystywany tylko przy zapisie. a parameter specifying the mode in which the voicemail will operate. Optional parameter, used only when saving.
|
em | Email - parametr określający email na który będą wysyłane maile z załączonym nagraniem z poczty głosowej. W przypadku kiedy chcemy dezaktywować wysyłanie maili z pocztą głosową należy ustawić wartość "NULL". Parametr opcjonalny, wykorzystywany tylko przy zapisie. |
Return value
...
Kod
...
Opis
...
400
...
Nieprawidłowe parametry - nie został podany któryś z parametrów
...
403
...
Nieprawidłowa metoda HTTP - przyjmowana tylko metoda POST
...
406
...
Login lub/i hasło są nieprawidłowe
...
410
...
Nieprawidłowy format email
...
500
...
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