diff options
author | Olle Johansson <oej@edvina.net> | 2009-09-10 12:06:55 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2009-09-10 12:06:55 +0000 |
commit | c5b0e6e78e35974386d32c20cae5349539ea0987 (patch) | |
tree | e2f15240ddb546882d23814e93b93ba18148c503 | |
parent | 98d156c5dd2238d13c88b4a92c3d909c6bcbbe21 (diff) |
Include ActionID in all events that are responsed to AMI Action SIPShowRegistry
(closes issue #15868)
Reported by: nic_bellamy
Patches:
manager_SIPshowregistry_actionid.patch uploaded by nic bellamy (license 299)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@217593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 3ed2e06f2..5f9010598 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -14796,6 +14796,7 @@ static int manager_show_registry(struct mansession *s, const struct message *m) ASTOBJ_RDLOCK(iterator); astman_append(s, "Event: RegistryEntry\r\n" + "%s" "Host: %s\r\n" "Port: %d\r\n" "Username: %s\r\n" @@ -14803,7 +14804,7 @@ static int manager_show_registry(struct mansession *s, const struct message *m) "Refresh: %d\r\n" "State: %s\r\n" "RegistrationTime: %ld\r\n" - "\r\n", iterator->hostname, iterator->portno ? iterator->portno : STANDARD_SIP_PORT, + "\r\n", idtext, iterator->hostname, iterator->portno ? iterator->portno : STANDARD_SIP_PORT, iterator->username, iterator->regdomain, iterator->refresh, regstate2str(iterator->regstate), (long) iterator->regtime.tv_sec); ASTOBJ_UNLOCK(iterator); total++; |