Hi All,
I’ve inherited an asterisk 1.4.16.2 machine. I’m completely new to this and I’m struggling with the automon feature. After googling a bit I found out that I should enable automon in features.conf and add the wW flags to the dial command. However when I press *1 during a call nothing happens in the asterisk -r screen and no file is created in the /var/spool/asterisk/monitor directory.
My features.conf contains the following section and DYNAMIC_FEATURES is commented out:
[featuremap]
;blindxfer => #1 ; Blind transfer (default is #)
;disconnect => *0 ; Disconnect (default is *)
automon => *1 ; One Touch Record a.k.a. Touch Monitor
;atxfer => *2 ; Attended transfer
;parkcall => #72 ; Park call (one step parking)
This is the dialing macro , where I have added the wW flags (the r was already there):
[macro-pandial]
#This is a general dial macro with Call Waiting function.
#Used for all regular SIP users:
exten => s,1,GotoIf($["${ARG1}" == “SIP/Reception&SIP/Wireless”]?OK:2)
exten => s,2,Set(STATUS=${DEVSTATE(${ARG1})})
exten => s,3,GotoIf($["${STATUS}" == “NOT_INUSE”]?OK:WAITING_CALL)
exten => s,n(WAITING_CALL),Set(VMEXTENSION=${MACRO_EXTEN})
exten => s,n(WAITING_CALL),Background(callwaiting)
exten => s,n(WAITING_CALL),WaitExten(5|m)
exten => s,n(WAITING_CALL),Dial(${ARG1},10,rwW)
exten => s,n(WAITING_CALL),Goto(s,2)
exten => s,n(OK),Dial(${ARG1},20)
exten => s,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})
exten => s-BUSY,1,Voicemail(b${MACRO_EXTEN})
exten => _s-.,1,Goto(s-NOANSWER,1)
#If user press 0 or * she will be transferred to main IVR.
exten => o,1,Goto(from-pstn,1234567,1)
exten => a,1,Goto(from-pstn,1234567,1)
What am I missing here? Please advice!
Thanks!