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
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users