Ok, I tried what you suggested however, I noticed a few things. Please keep in mind, I did not set this system up and that person is no long available.
This is what I have:
features.conf
[featuremap]
automon => *1,callee,Macro,automon
extension.conf
[globals]
DYNAMIC_FEATURES=automon#atxfer#parkcall
Since all of our plan usings one macro, I had to edit the existing macro (macro_trunck) to allow certain callers in a particular department to use the automon feature. Here’s a portion of the macro…
[macro-trunk]
;ARG1: Trunk
;ARG2: Number
;This Macro enables One Touch Recording on all Outbound Calls for those listed in the TELESALES department
exten => s,1,Set(TELESALES=6154)
exten => s,n,Set(ORIGIN=${CALLERID(num)})
exten => s,n,Noop(OutGoingCall,${UNIQUEID},${DATETIME},CID: ${CALLERID(all)} TRUNK:${ARG1} CALLING: ${ARG2})
exten => s,n,Set(CALLFILENAME=${STRFTIME(${EPOCH},%Y%m%d-%H%M%S)}-${MACRO_EXTEN}-${CALLERID(num)})
exten => s,n,set(CALLERID(number)=${CID})
exten => s,n,Set(CALLERID(name)=${CIDNAME})
exten => s,n,GotoIf(${REGEX("${ORIGIN}" ${TELESALES})}?10:20)
exten => s,10,Set(MONITOR_FILENAME=${STRFTIME(${EPOCH},%Y%m%d-%H%M%S)}-${ORIGIN})
exten => s,11,MixMonitor(${MONITOR_FILENAME}.wav,b,mv /var/spool/asterisk/monitor/^{MONITOR_FILENAME}.wav /var/spool/asterisk/monitor)
exten => s,12,Dial(${ARG1}/${ARG2}|${TRUNKTIMEOUT})
exten => s,20,Dial(${ARG1}/${ARG2}|${TRUNKTIMEOUT})
With this configuration I noticed that the recording begins as soon as the call connects even if I do not press *1.
I did move “automon => *1,callee,Macro,automon” under the [applicationmap] in features.conf however, I need to restart in order for the change to take affect and I cannot do this during business hours.
Do you think moving this will make a difference?