[asterisk-dev] Question for new option implementation for MixMonitor

Mark Murawski markm-lists at intellasoft.net
Sat Dec 17 05:31:19 CST 2011

On 12/16/2011 07:44 AM, Sergio Gonzalez wrote:
> Hi all,
> Currently there is a limitation with the use of MixMonitor to record the
> same channel to different files. You can start several MixMonitors each one
> to its corresponding file, but there is no way to specify to the
> StopMixMonitor which monitor you want to stop, it stops one of them but you
> have no control on which one to stop. The background problem is that the
> datastore created for the MixMonitor has no ID (it is created passing a NULL
> to ast_channel_datastore_alloc), so there is no way to later identify the
> mixmonitor of interest if there are more than one mixmonitor launched on the
> same channel. So the question is, what could be used as datastore ID? I've
> thought about using the filename as ID, avoiding the launch of two
> mixmonitor using the same file. Do you have any better idea? Thanks in
> advance.
> Regards,
> Sergio González Martín
> Software Engineer

My vote is on filename as the identifier.

More information about the asterisk-dev mailing list