2. IP Audio Manager HTTP API
Control of Sessions via HTTP commands is supported by the 2N® IP Audio Manager. Sample command:
Where:
- nspk_addr - is the IP address of 2N® IP Audio Manager or its network domain
- port - is the port in which the 2N® IP Audio Manager listens to HTTP comands
- session - indicates session ID
- state - switch the session ON / OFF
- volume - set volume, possible parameters <0 - 4096>
- mute - switch the session sound ON or OFF
- channel - set channel, range <1 - 4>
- priority - set priority of session, range <1 - 9>
Sample of response:
Response
<?xml version="1.0" encoding="UTF-8"?>
<callctrl-result>
<errcode>0</errcode>
</callctrl-result>
If an error ocurrs, the errorcode will be 1.
Default port is 8088, it is possible to change it via the Control Panel.