Skip to content
ThomasLocke edited this page Dec 12, 2012 · 1 revision

Debug interface

Most interfaces here are provided with the sole purpose of supplying various clients with additional internal state information. Others are here, merely because they did not fit in anywhere else.

Channel List

GET /debug/channel/list

Returns the current list of active channels as seen by the PBX.

Condition: Success. The channel list is returned.

HTTP 200 OK

Body: list of JSON channel objects.

Peer List

GET /debug/peer/list

Returns the current list of peers as seen by the PBX.

Condition: Success. The peer list is returned.

HTTP 200 OK

{
    "peers": [
        {
            "peer": {
                "Channeltype": "SIP",
                "ObjectName": "softphone1",
                "ChanObjectType": "peer",
                "IPaddress": "192.168.1.1",
                "IPport": "5060",
                "Dynamic": "yes",
                "Natsupport": "yes",
                "VideoSupport": "no",
                "TextSupport": "no",
                "ACL": "no",
                "Status": "Unmonitored",
                "RealtimeDevice": "no"
            }
        },
        {
            "peer": {
                "Channeltype": "SIP",
                "ObjectName": "softphone2",
                "ChanObjectType": "peer",
                "IPaddress": "-none-",
                "IPport": "5060",
                "Dynamic": "yes",
                "Natsupport": "yes",
                "VideoSupport": "no",
                "TextSupport": "no",
                "ACL": "no",
                "Status": "Unmonitored",
                "RealtimeDevice": "no"
            }
        }
    ]
}

Clone this wiki locally