Status of exchanges#
| Function call (URL) | Permissions | Possible parameters |
|---|---|---|
| /app_ext_ports_status | user / sub-admin | none |
Example call:
https://192.168.0.240/app_ext_ports_status
| Response type | Possible content |
|---|---|
| amtId | Unique number of the outside line (not the external number). |
| anschlArt | Indicates the type or type of connection. 0 ISDN-PTP 1 ISDN-PTMP 2 VoIP 3 POTS |
| bKanalGesperrt | Shows whether the B channel is locked (only for S2M external port). 0 nicht gesperrt 1 gesperrt |
| bKanalStatus | Shows the status of the call channel. 0 free 1 occupied (internal) 2 occupied (external) |
| moduleId | Unique number of the module in the system. (Note: For firmware version 5.6A of the COMmander 6000 please use the command "moduleID") |
| portId | Unique number of the ISDN port (S0 or S2M) in the system. |
| portNr | Shows the port on the module. |
For each channel (VoIP, ISDN) a complete set of response types is output. For an S2M port this means 30 and for an S0 port 2 complete sets "amtID" to "portNR".
Example response
[
{
"amtId": "749",
"anschlArt": "0",
"bKanalGesperrt": "0",
"bKanalStatus": "0",
"moduleId": "3",
"portId": "8054",
"portNr": "0"
},
{
"amtId": "749",
"anschlArt": "0",
"bKanalGesperrt": "0",
"bKanalStatus": "0",
"moduleId": "3",
"portId": "8054",
"portNr": "0"
}
]