[asterisk-commits] mjordan: trunk r400218 - in /trunk: ./ main/cdr.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Tue Oct  1 10:54:07 CDT 2013
    
    
  
Author: mjordan
Date: Tue Oct  1 10:54:05 2013
New Revision: 400218
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400218
Log:
Filter out internal channels for bridge leave messages and parked call messages
Granted, if you manage to park a Conference announcer channel, something has
gone horrifically wrong.
........
Merged revisions 400217 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
    trunk/   (props changed)
    trunk/main/cdr.c
Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Tue Oct  1 10:54:05 2013
@@ -1,1 +1,1 @@
-/branches/12:1-398558,398560-398577,398579-399305,399307-400181,400194,400196,400205
+/branches/12:1-398558,398560-398577,398579-399305,399307-400181,400194,400196,400205,400217
Modified: trunk/main/cdr.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/cdr.c?view=diff&rev=400218&r1=400217&r2=400218
==============================================================================
--- trunk/main/cdr.c (original)
+++ trunk/main/cdr.c Tue Oct  1 10:54:05 2013
@@ -2171,6 +2171,10 @@
 		return;
 	}
 
+	if (filter_channel_snapshot(channel)) {
+		return;
+	}
+
 	CDR_DEBUG(mod_cfg, "Bridge Leave message for %s: %u.%08u\n",
 			channel->name,
 			(unsigned int)stasis_message_timestamp(message)->tv_sec,
@@ -2511,6 +2515,10 @@
 
 	/* No one got parked? */
 	if (!channel) {
+		return;
+	}
+
+	if (filter_channel_snapshot(channel)) {
 		return;
 	}
 
    
    
More information about the asterisk-commits
mailing list