added a bit logging, when we split the bridge
authorChristian Richter <christian.richter@beronet.com>
Fri, 30 Jun 2006 14:09:52 +0000 (14:09 +0000)
committerChristian Richter <christian.richter@beronet.com>
Fri, 30 Jun 2006 14:09:52 +0000 (14:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36379 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index 84c8d0f..95b0f6b 100644 (file)
@@ -2355,6 +2355,12 @@ static enum ast_bridge_result  misdn_bridge (struct ast_channel *c0,
     
                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;