[asterisk-commits] mjordan: branch 12 r400217 - /branches/12/main/cdr.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 1 10:48:44 CDT 2013
Author: mjordan
Date: Tue Oct 1 10:48:42 2013
New Revision: 400217
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400217
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.
Modified:
branches/12/main/cdr.c
Modified: branches/12/main/cdr.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/cdr.c?view=diff&rev=400217&r1=400216&r2=400217
==============================================================================
--- branches/12/main/cdr.c (original)
+++ branches/12/main/cdr.c Tue Oct 1 10:48:42 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