[asterisk-users] Can't stop Mixmonitor

Jon Bonilla (Manwe) manwe at aholab.ehu.es
Tue May 30 08:41:25 CDT 2023


Hi all

Using asterisk 16.25


I was trying to stop Mixmonitor using features. The code is executed but I
realized that I was executing StopMixmonitor from another channel so I opted to
use AMI.

When I call MixMonitor I store the channel name in a var and then I use
StopMixmonitor from AMI sending the stored channel name as parameter.

What I've seen is that the app returns failure and going a little bit deeper I
see that the failure comes from the function stop_mixmonitor_full in
app_mixmonitor.c


datastore = ast_channel_datastore_find(chan, &mixmonitor_ds_info,
       S_OR(args.mixmonid, NULL));
if (!datastore) {
    ...
    return -1

I know the error comes from that !datastore but I do not know how to follow and
dig into the problem.

any help?


cheers,

Jon




-- 
PekePBX, the multitenant PBX solution
https://pekepbx.com



More information about the asterisk-users mailing list