[Asterisk-Users] Simple Dial for If Busy Send to Voicemail
Bartosz Piec
sip at piec.info
Mon Nov 14 01:58:31 MST 2005
cp napisał(a):
> I still can’t get it to work.
My configuration is (extension.conf):
[macro-call]
exten => s,1,Dial(SIP/${ARG1},15)
exten => s,2,Goto(s-${DIALSTATUS},1) ;
NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER
exten => s-NOANSWER,1,Voicemail(${ARG1})
exten => s-NOANSWER,2,Hangup
exten => s-BUSY,1,Busy
exten => s-CHANUNAVAIL,1,Busy
exten => _s-.,1,Goto(s-NOANSWER,1) ; Treat
anything else as no answer
exten => a,1,VoicemailMain(${ARG1}) ; If
they press *, send the user into VoicemailMain
And then:
exten => _.,1,Macro(call,${EXTEN})
And it works. Try to fit it for your config.
--
Best regards,
Bartosz Piec
More information about the asterisk-users
mailing list