by farrukh.naseem » Thu Mar 24, 2011 3:02 pm
here is my configuration, i want to record all outbound calls, right now i don't have any campaign. i am using it only for connecting to outbound calls
[macro-phone]
exten => s,1,Dial(SIP/${MACRO_EXTEN},25)
exten => s,n,Goto(${DIALSTATUS},1)
exten => ANSWER,1,Hangup
exten => CANCEL,1,Hangup
exten => NOANSWER,1,Voicemail(${MACRO_EXTEN}@default,u)
exten => BUSY,1,Voicemail(${MACRO_EXTEN}@default,b)
exten => CONGESTION,1,Voicemail(${MACRO_EXTEN}@default,b)
exten => CHANUNAVAIL,1,Voicemail(${MACRO_EXTEN}@default,u)
exten => a,1,VoicemailMain(${MACRO_EXTEN}@default)
[stations]
exten => 100,1,Macro(phone)
exten => 101,1,Macro(phone)
exten => 4242,1,VoicemailMain(default)
[long-distance]
exten => _NXXNXXXXX,1,Noop(outbound call to: 1${EXTEN})
exten => _NXXNXXXXXX,n,Macro(automon) ; start monitor
exten => _*NXXNXXXXXX,1,Dial(SIP/NASACOM/${EXTEN})
[local]
exten => _NXXXXXX,1,Dial(SIP/NASACOM/1212${EXTEN})
[intern]
include => stations
include => local
include => long-distance