[asterisk-commits] trunk r36379 - /trunk/channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jun 30 07:09:53 MST 2006


Author: crichter
Date: Fri Jun 30 09:09:52 2006
New Revision: 36379

URL: http://svn.digium.com/view/asterisk?rev=36379&view=rev
Log:
added a bit logging, when we split the bridge

Modified:
    trunk/channels/chan_misdn.c

Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?rev=36379&r1=36378&r2=36379&view=diff
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Fri Jun 30 09:09:52 2006
@@ -2355,6 +2355,12 @@
     
 		if (!f || f->frametype == AST_FRAME_CONTROL) {
 			/* got hangup .. */
+
+			if (!f) 
+				chan_misdn_log(1,ch1->bc->port,"Read Null Frame\n");
+			else
+				chan_misdn_log(1,ch1->bc->port,"Read Frame Controll class:%d\n",f->subclass);
+			
 			*fo=f;
 			*rc=who;
       



More information about the asterisk-commits mailing list