Difference between revisions of "VoIP: Astersk Dial Round Robin"
Jump to navigation
Jump to search
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...) |
Onnowpurbo (talk | contribs) |
||
Line 11: | Line 11: | ||
exten => _X,1,Set(GROUP()=siptrunk2calls) | exten => _X,1,Set(GROUP()=siptrunk2calls) | ||
exten => _X,n,Dial(SIP/${EXTEN}@siptrunk2,60,) | 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() | ||
+ | |||
Line 17: | Line 32: | ||
* http://lists.digium.com/pipermail/asterisk-users/2010-April/246941.html | * http://lists.digium.com/pipermail/asterisk-users/2010-April/246941.html | ||
+ | * http://lists.digium.com/pipermail/asterisk-users/2011-July/264838.html |
Revision as of 17:00, 3 February 2014
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()