-
Notifications
You must be signed in to change notification settings - Fork 8
Protocol Debug
ThomasLocke edited this page Dec 12, 2012
·
1 revision
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.
GET /debug/channel/list
Returns the current list of active channels as seen by the PBX.
HTTP 200 OK
Body: list of JSON channel objects.
GET /debug/peer/list
Returns the current list of peers as seen by the PBX.
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"
}
}
]
}