chan_sip: Add SIPpeerstatus command to AMI

This patch was submitted by mnicholson a while back. It adds a new AMI action
which allows users to request SIP peer status on demand similar to existing
PeerStatus events and to the output you would see from CLI with sip show peer

Review: https://reviewboard.asterisk.org/r/1098/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jonathan Rose
2012-07-26 15:31:05 +00:00
parent 79de3f7fe8
commit 3da07b3ec0
2 changed files with 106 additions and 0 deletions

View File

@@ -428,6 +428,9 @@ AMI (Asterisk Manager Interface)
detected, and "a" if it is set and nat is not detected. "Y" and "N" are still
returned if auto_force_rport is not enabled.
* Added SIPpeerstatus manager command which will generate PeerStatus events
similar to the existing PeerStatus events found in chan_sip on demand.
* Hangup now can take a regular expression as the Channel option. If you want
to hangup multiple channels, use /regex/ as the Channel option. Existing
behavior to hanging up a single channel is unchanged, but if you pass a regex,