Difference between revisions of "VoIP: Astersk Dial Round Robin"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
 
Referensi: http://thr3ads.net/asterisk-users/2011/07/1464366-Macro-to-Dial-a-Channel-Group-using-Round-robin
 
Referensi: http://thr3ads.net/asterisk-users/2011/07/1464366-Macro-to-Dial-a-Channel-Group-using-Round-robin
  
Line 38: Line 37:
 
           same => n,Hangup()
 
           same => n,Hangup()
  
 +
 +
 +
 +
==Lebih Dalam==
 +
 +
* [[VoIP: Trunk]]
 +
* [[VoIP: Asterisk menerima Anonymous Call]]
 +
* [[VoIP: Asterisk route ke arah IP PBX lain dengan kode area]]
 +
* [[VoIP: Cara Mengkonfigurasi Trunk di Asterisk]]
 +
* [[VoIP: Cara Mengkonfigurasi Dial Out Melalui Trunk di Asterisk]]
 +
* [[VoIP: Asterisk forward call ke IP softswitch lain]]
 +
 +
===Asterisk Round Robin===
 +
 +
* [[VoIP: Astersk Dial Round Robin]]
 +
* [[VoIP: Asterisk pakai GotoIf]]
 +
 +
===OpenSIPS===
 +
 +
* [[VoIP: OpenSIPS route ke arah Asterisk]]
 +
* [[OpenSIPS: Rewrite URI]]
 +
* [[OpenSIPS: Rewritehostport]]
 +
 +
===OpenSIPS round robin===
 +
 +
* [[OpenSIPS: dispatcher]]
  
  

Revision as of 19:56, 25 February 2014

Referensi: http://thr3ads.net/asterisk-users/2011/07/1464366-Macro-to-Dial-a-Channel-Group-using-Round-robin

[macro-round-robin]
exten => s, 1, Dial(SIP/1, 30)  ;  dial SIP/1 for 30"
exten => s, n, Dial(SIP/2, 30)  ;  dial SIP/2 for 30"
exten => s, n, Dial(SIP/3, 30)  ;  dial SIP/3 for 30"
exten => s, n, Dial(SIP/4, 30)  ;  dial SIP/4 for 30"
exten => s, n, Goto(1)  ; start again


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()



Lebih Dalam

Asterisk Round Robin

OpenSIPS

OpenSIPS round robin


Referensi