What I want to do it’s (or at least…it should be) easy. I want to customize the dialplan so that when certain extension, say 111 calls, call isn’t recorded even having the option enabled via GUI.
What I tried is the following. I went into extensions_additional.conf and found the subroutine [sub-record-check]. This appears to do the trick (recording the call) when calling. I created a new context in extensions_custom.conf called [sub-record-check-custom] just as it is named the included context in [sub-record-check]. In this custom context this is what I wrote:
Ok SkykingOH, sorry about it (I didn’t know where to post it, that’s why).
Alan, that is precisely what I don’t want to do. As I explained, I want to let the “recording” option in FreePBX enabled so that someone that looks at this options thinks all calls are being recorded for this extension but, by customizing the dialplan, “cancel” this option and not recording any call for the extension. I hope this makes thing clearer.
If the object is to fool people into thinking they are getting recorded why not just lie to them in the first place and say all calls are recorded? How many people will be logging into the GUI to look at this option? There are external device that can record calls, just tell people that you use external hardware to record calls.