[Asterisk-Users] why a perfectly fine iax2 host becomes UNREA CHABLE?

Colin Anderson ColinA at landmarkmasterbuilder.com
Thu May 4 15:04:04 MST 2006


>Since January I've passed over 37000 calls through these boxes.  

SELECT count( calldate ) 
FROM `cdr` 
WHERE calldate
BETWEEN '2006-01-01 00:00:01' AND '2006-05-04 15:51:00' AND channel
LIKE '%IAX2%' OR calldate
BETWEEN '2006-01-01 00:00:01' AND '2006-05-04 15:51:00' AND dstchannel
LIKE '%IAX2%' 

count(calldate):
335,761

SELECT count( calldate ) 
FROM `cdr` 
WHERE calldate
BETWEEN '2006-01-01 00:00:01' AND '2006-05-04 15:51:00' AND channel
LIKE '%IAX2%' AND duration < 1 OR calldate
BETWEEN '2006-01-01 00:00:01' AND '2006-05-04 15:51:00' AND dstchannel
LIKE '%IAX2%' AND duration < 1

count(calldate):
100

(100/335761)*100=0.029783089757297601567781844824146

(we'll round up, 0.0298)

100 - 0.0298 = 99.9702% call completion rate. *very* close to five nines.

AFAIC, IAX2 friggin *rocks*. Implementation is *everything* , though. 



More information about the asterisk-users mailing list