Summary:ASTERISK-19471: ConfBridge does not record anything
Reporter:feyfre (feyfre)Labels:
Date Opened:2012-03-05 10:20:50.000-0600Date Closed:2012-04-27 14:28:19
Versions:10.2.0 Frequency of
is related toASTERISK-19497 ConfBridge recording does not work reliably
Environment:LinuxAttachments:( 0) 32-bit-time-overflow-10-2012-04-26.diff
( 1) audiohook_debug.diff
( 2) confbridge.conf
( 3) extensions.conf
( 4) myDebugLog
Description:ConfBridge DOES NOT record anything at all. It starts pseudo-channel for MixMonitor, it runs MixMonitor, MixMonitor printf it started to record, MixMonitor creates empty file with desired name. And this is all folks. That file is always empty. After conference receives stop record instruction MixMonitor reports it closes itself, but file still EMPTY.
While debugging asterisk was detected next behaviour:
Whole time it loops in app_mixmoniotr.c lines 396-408.

Tested on conference of 3 SIP peers (all with set canreinvite=no).

included local channel into conference with MixMonitor on it - it does not writes any data too.

Comments:By: Matt Jordan (mjordan) 2012-03-05 10:26:19.278-0600

We require a complete debug log to help triage the issue. This document will provide instructions on how to collect debugging logs from an Asterisk machine for the purpose of helping bug marshals troubleshoot an issue: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

By: feyfre (feyfre) 2012-03-05 10:28:06.827-0600

Relevant configurations

By: feyfre (feyfre) 2012-03-05 10:47:00.367-0600

Full debug log as requested.

By: feyfre (feyfre) 2012-03-05 10:49:24.692-0600

Full log uploaded as attachment.

By: Matt Jordan (mjordan) 2012-04-23 17:22:57.511-0500

I've been looking into this issue and haven't been able to reproduce it as of yet, but have a few suspicions as to what's going on.

I've attached a patch against the current revision of Asterisk 10 (r363310) that adds a bunch more logging into the audiohooks.  If you can run the same test with this patch applied and attach the log here, I'd appreciate it.



By: Matt Jordan (mjordan) 2012-04-27 10:32:11.638-0500


I've attached a patch (32-bit-time-overflow-10-2012-04-26.diff) that I believe will resolve this issue.  If you could test and verify, I'd appreciate it.



By: feyfre (feyfre) 2012-04-27 11:26:45.563-0500

Yes, it works now with both internal ConfBridge recorder and with Local channel bridged into conference with MixMonitor working on co-channel(as showed in tst context in attached extensions.conf).