Hi
I am using asterisk 16.28.0 and FreePBX 16.0.26 .
I am writing a custom ivr into extensions_custom.conf on an inbound call.
I will like to record the audio as well and I can do it via MixMonitor, but I saw a sub-record-check .
Can I use sub-record-check to force a recording audio ? If yes how do I call it exten => s,n,Gosub(sub-record-check,s,1())?
Find the context in the config file and see if it has an include line for something custom. If it does use the context referenced in the include command, in exctensions_custom.conf.
Copy sub-record-check into extensions_override.conf and add your lines there. It will override the generated context and use your override instead. The downside is if anything changes with this context in the future, it will be ignored as it is using your override.
Hi
Thanks for your reply , but I am able to call exten => s,n,Gosub(sub-record-check,s,1()) but I do not know what parameters to add so I will force it to record the audio .
For example, I saw in the extensions_additional.conf , exten => 81001,n,Gosub(sub-record-check,s,1(conf,81001,never)) . If I add exten => s,n,Gosub(sub-record-check,s,1(conf,81001,never))
on line 3 instead of MixMonitor it will call it but it will not create the audio .