I am trying to build a macro + menu together. Here is the idea:
Dial 1000 to get to conference, menu comes, press 1 to login as admin or press 2 to login as user.
Here is my code in extensions.conf:
exten => 1000,1,Macro(conf2me,1000)
[macro-conf2me] exten=>s,1,Wait,1 exten=>s,2,Answer exten=>s,3,DigitTimeout,5 exten=>s,4,ResponseTimeout,10 exten=>s,5,Background,welcome-instructions exten=>i,1,Playback,pbx-invalid exten=>i,2,Goto,s|5 exten=>t,1,Hangup
exten=>1,1,MeetMe(${ARG1}|ipda)exten=>2,1,MeetMe(${ARG1}|ipd)It doesn't work, it is giving the error that '1' is not defined in the default context, probably it exited the menu (macro).
Thanks,
Joe
_______________________________________________ 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
