Answer the question
In order to leave comments, you need to log in
Why does music_on_hold get into the record when using the b option?
Transferred my office asterisk from extensions.conf to more advanced extensions.ael
Outputted call recording into a macro:
macro recording (calling,called) {
if ("${RECORDING}" = "1"){
Set(fname=${UNIQUEID}-${STRFTIME(${EPOCH},,%Y-%m-%d-%H_%M)}-${calling}-${called});
MixMonitor(имя_файла.wav,b);
}
}
context incoming_noselect {
s => {
&recording(${CALLERID(number)},${EXTEN});
Dial(SIP/provider/399999,,m(moh_abon));
}
}
Answer the question
In order to leave comments, you need to log in
Do you reload dialplan using ael reload?
It is better to do so, then the recording of the conversation will start after picking up the handset.
Dial(SIP/provider/399999,,U(moh_abon));
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question