[asterisk-users] ring group question
ronald ramos
ronramos1004 at yahoo.com
Thu Apr 24 11:26:30 CDT 2008
Hi All,
I'm trying to configure a ringgroup, which will ring the extension in the group one by one. this is what i tried on my extension.conf
[macro-dial-ringgroup]
exten => s,1,Dial(SIP/${ARG1},15)
exten => s,n,NoOp( Dial Status: ${DIALSTATUS})
exten => s,n,Goto(s-${DIALSTATUS},1)
exten => s-CHANUNAVAIL,1,SetCallerId(${CALLERIDNUM})
exten => s-CHANUNAVAIL,n,Dial(SIP/${ARG1},15)
exten => s-BUSY,1,SetCallerId(${CALLERIDNUM})
exten => s-BUSY,n,Dial(SIP/${ARG1},15)
exten => s-NOANSWER,1,SetCallerId(${CALLERIDNUM})
exten => s-NOANSWER,n,Dial(SIP/${ARG1},15)
[ringgroup-10000]
exten => 5000,1,Macro(dial-ringgroup,10000100)
exten => 5000,n,Macro(dial-ringgroup,10000101)
exten => 5000,n,Macro(dial-ringgroup,10000102)
exten => 5000,n,Hangup
so when i dial 5000 it will ring 10000100 no answer,or busy on 10000100.
it will go to another extension which is 10000101 and so on.
I have tried 5000,1,Dial(SIP/10000100&SIP/10000100) <--- this one works, ringing at the same time, how can i do it in sequential?
hope anyone can help me. thank you
Ron
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080424/478bb3e0/attachment.htm
More information about the asterisk-users
mailing list