In my old asterisk installation I had an extension 200 that dialed all extensions. I created an entry into extensions_custom.conf that was
exten => 200,1,Macro(stdexten,201,SIP/202&SIP/203&SIP/204&SIP/205&SIP/206&SIP/207&SIP/208))
then I created the macro
[macro-stdexten]
exten => s,1,Dial(${ARG2},20) ; Ring the interface, 20 seconds maximum
exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten => s-BUSY,1,Voicemail(b${ARG1}) ; If busy, send to voicemail w/ busy announce
exten => s-BUSY,2,Goto(public,s,1) ; If they press #, return to start
exten => s-NOANSWER,1,Voicemail(u${ARG1}) ; If unavailable, send to voicemail w/ unavail announce
exten => s-NOANSWER,2,Goto(public,s,1) ; If they press #, return to start
This didn’t work in ver 2.8 which I just installed. As a matter of philosophy I wondered 1. why it doesn’t work now, but 2.Anyone think of a better/different way to do this?
Thanks