VoIP: Astersk Dial Round Robin
Revision as of 17:00, 3 February 2014 by Onnowpurbo (talk | contribs)
Referensi http://lists.digium.com/pipermail/asterisk-users/2010-April/246941.html
[inbound] exten => _X.,1,GotoIf($[${GROUP_COUNT(siptrunk1calls)} > ${GROUP_COUNT(siptrunk2calls)}]?siptrunk2,${EXTEN},1:siptrunk1,${EXTEN},1)
[siptrunk1] exten => _X,1,Set(GROUP()=siptrunk1calls) exten => _X,n,Dial(SIP/${EXTEN}@siptrunk1,60,)
[siptrunk2] exten => _X,1,Set(GROUP()=siptrunk2calls) exten => _X,n,Dial(SIP/${EXTEN}@siptrunk2,60,)
Referensi http://lists.digium.com/pipermail/asterisk-users/2011-July/264838.html
[group-call] exten => group1,Dial(Local/phone1 at group-call&Local/phone2 at group-call, 30) exten => phone1,1,Dial(SIP/100,15) same => n,Hangup() exten => phone2,1,Wait(15) same => n,Dial(SIP/101) same => n,Hangup()