[svn-commits] trunk r18059 - /trunk/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Apr 6 14:33:42 MST 2006


Author: oej
Date: Thu Apr  6 16:33:39 2006
New Revision: 18059

URL: http://svn.digium.com/view/asterisk?rev=18059&view=rev
Log:
Add "NewChan" event to history to track the birth of a new ast_chan from a
SIP invite

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=18059&r1=18058&r2=18059&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Apr  6 16:33:39 2006
@@ -2977,6 +2977,8 @@
 	/* Set channel variables for this call from configuration */
 	for (v = i->chanvars ; v ; v = v->next)
 		pbx_builtin_setvar_helper(tmp,v->name,v->value);
+
+	append_history(i, "NewChan", "Channel %s - from %s", tmp->name, i->callid);
 				
 	return tmp;
 }



More information about the svn-commits mailing list