[asterisk-commits] oej: trunk r171263 - /trunk/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 26 06:32:30 CST 2009


Author: oej
Date: Mon Jan 26 06:32:30 2009
New Revision: 171263

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=171263
Log:
Add extensions and context on manager event when new channel is created.

Modified:
    trunk/main/channel.c

Modified: trunk/main/channel.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/main/channel.c?view=diff&rev=171263&r1=171262&r2=171263
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Mon Jan 26 06:32:30 2009
@@ -939,6 +939,8 @@
 			"CallerIDNum: %s\r\n"
 			"CallerIDName: %s\r\n"
 			"AccountCode: %s\r\n"
+			"Exten: %s\r\n"
+			"Context: %s\r\n"
 			"Uniqueid: %s\r\n",
 			tmp->name, 
 			state, 
@@ -946,6 +948,8 @@
 			S_OR(cid_num, ""),
 			S_OR(cid_name, ""),
 			tmp->accountcode,
+			S_OR(exten, ""),
+			S_OR(context, ""),
 			tmp->uniqueid);
 	}
 




More information about the asterisk-commits mailing list