VoIP: Astersk Dial Round Robin

From OnnoWiki
Revision as of 16:41, 3 February 2014 by Onnowpurbo (talk | contribs) (New page: Referensi http://lists.digium.com/pipermail/asterisk-users/2010-April/246941.html [inbound] exten => _X.,1,GotoIf($[${GROUP_COUNT(siptrunk1calls)} > ${GROUP_COUNT(siptrunk2calls)}]?sipt...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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