[asterisk-users] sip trunk balancing
    marek cervenka 
    cervajs at fpf.slu.cz
       
    Thu Feb  3 04:41:11 CST 2011
    
    
  
hi,
is there some way to balance accross sip trunks by the number of calls?
example
3 trunks
alfa(max 30 channels, priority 1),delta(60,priority 2),omega(90,priority 
3)
alfa have 25 calls now
i want next call terminate to delta. how to find in asterisk the current 
calls number on sip trunk alfa?
1) set call-limit in sip.conf. then in the dialplan "sip show peer 
inuse|grep alfa -> parse -> if "numcalls > 25" then dial(sip/delta)
2) groupcount ?
3) what else?
thanks
Marek
    
    
More information about the asterisk-users
mailing list