[Home]

Summary:ASTERISK-05436: app_mixmonitor don't work with calls that use chan_local
Reporter:Roberto Lopes (rflopes3)Labels:
Date Opened:2005-11-03 06:48:20.000-0600Date Closed:2005-11-11 20:56:05.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_mixmonitor
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:This happens all times. Recording file that came from queue has always 60 bytes and nothing is recorded.
Comments:By: Olle Johansson (oej) 2005-11-03 07:08:40.000-0600

Please provide a sample config so other people can test and confirm.
You are not telling us anything about your configuration.

/O

By: Roberto Lopes (rflopes3) 2005-11-03 08:30:18.000-0600

Ok sorry. I'm using CVS HEAD version, no recording is configured on queues.conf and agents.conf, and on the extensions.conf just before the Dial(SIP/${EXTEN}) I put an MixMonitor(XXXXX.WAV). I did the same thing on a normal extension and all works fine!

By: BJ Weschke (bweschke) 2005-11-11 08:03:27.000-0600

Is this with agentcallbacklogin(..) ? Have you re-tested this with rc1?

By: Roberto Lopes (rflopes3) 2005-11-11 10:32:03.000-0600

yes it's with agentcallbacklogin and no I have not tested with rc1. Only with CVS HEAD. Is this working with rc1?

By: BJ Weschke (bweschke) 2005-11-11 11:57:57.000-0600

This is confirmed to still be happening with rc1 when using a Local channel with agentcallbacklogin.

By: Kevin P. Fleming (kpfleming) 2005-11-11 16:25:08.000-0600

I have updated the description because this problem has been identifed to be related to the use of chan_local, not chan_agent.

By: Kevin P. Fleming (kpfleming) 2005-11-11 20:55:56.000-0600

OK, here's the deal: MixMonitor cannot be used on the _inside_ of a Local dial, because that channel disappears as soon as the call is answered.

You can either add an 'n' flag to your Dial() operation to make the Local channel not disappear, or you can run MixMonitor higher up the chain, before the agent gets dialed.