Dial All Extensions


#1

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


#2

You should use Ring Groups for this. :smile:


#3

I have ring group 1 setup with all the extensions I want to ring and then go into extensions, select custom and create an extension 200, in the box called Dial, what would you put in order to dial Ring Group 1, what ever I try doesn’t work. In Ring Groups it is listed as Ring Group 1 but at the top of the screen it says Ring Group: 1,
Thoughts please?