[asterisk-commits] bbryant: branch 1.6.2 r284958 - /branches/1.6.2/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 3 13:15:54 CDT 2010


Author: bbryant
Date: Fri Sep  3 13:15:49 2010
New Revision: 284958

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=284958
Log:
This is a patch provided for issue #17935 to add the ActionID to the IAXregistry AMI response.

(closes issue #17935)
Reported by: alexkuklin
Patches: 
      iaxshowreg uploaded by alexkuklin (license 1115)
Tested by: alexkuklin

Modified:
    branches/1.6.2/channels/chan_iax2.c

Modified: branches/1.6.2/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_iax2.c?view=diff&rev=284958&r1=284957&r2=284958
==============================================================================
--- branches/1.6.2/channels/chan_iax2.c (original)
+++ branches/1.6.2/channels/chan_iax2.c Fri Sep  3 13:15:49 2010
@@ -6809,13 +6809,14 @@
 		
 		astman_append(s,
 			"Event: RegistryEntry\r\n"
+			"%s"
 			"Host: %s\r\n"
 			"DNSmanager: %s\r\n"
 			"Username: %s\r\n"
 			"Perceived: %s\r\n"
 			"Refresh: %d\r\n"
 			"State: %s\r\n"
-			"\r\n", host, (reg->dnsmgr) ? "Y" : "N", reg->username, perceived, 
+			"\r\n", idtext, host, (reg->dnsmgr) ? "Y" : "N", reg->username, perceived, 
 			reg->refresh, regstate2str(reg->regstate));
 
 		total++;




More information about the asterisk-commits mailing list