[asterisk-commits] oej: trunk r217593 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 10 07:07:00 CDT 2009
Author: oej
Date: Thu Sep 10 07:06:55 2009
New Revision: 217593
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=217593
Log:
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)
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=217593&r1=217592&r2=217593
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Sep 10 07:06:55 2009
@@ -14796,6 +14796,7 @@
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 @@
"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++;
More information about the asterisk-commits
mailing list