MOR API morphone details get
From Kolmisoft Wiki
Jump to navigationJump to search
Description
MOR API morphone details get
Usage
- From MOR X4 call: /api/morphone_details_get
- Methods: POST, GET(if allowed, not recomended)
Parametres
- u - username for authentication. Required.
- p - password for authentication. Required.
Request
API Secret Key = secret
We send:
HTML POST: http://<SERVER_IP>/billing/api/morphone_details_get?u=username&p=password
Returns
Success
<?xml version="1.0" encoding="UTF-8"?> <page> <device> <username>device username</username> <password>device password</password> <enabled_codecs>codecs list</enabled_codecs> </device> <server_ip></server_ip> <server_port></server_port> <did_number></did_number> </page>
Errors
- <error>Bad login</error> - User does not exist in MOR system.
- <error>Device was not found</error> - SIP Device was not found.