MixMonitor how to record two-channel audio, distinguish left and right channels

Hello everyone, please help me, MixMonitor how to record two-channel audio, distinguish left and right channels? What parameters or configurations should I add

same => n,Answer()
same => n,MixMonitor(abcd.wav)

You can record them in separate files using the ‘r’ and ‘t’ options and post-process, or newer versions have a ‘D’ option for interleaving[1].

[1] MixMonitor - Asterisk Documentation

I’m using version 18, but it is a pity that the version 18 does not have D
same => n,MixMonitor(abcd.wav,r(abcd_in.wav)t(abcd_out.wav)) is not what I want

In addition to this
In version 22, there is the option of D parameter, how is this D used? Sorry, I don’t understand how to pass the value,

same => n,MixMonitor(${CALL_ID}.wav,D) is this right

Asterisk 18 is security fix only, it receives no new changes.

Yes, that is how it would be used.

Thank you very much for your answer

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.