13 maj 2007 kl. 21.52 skrev Nour Omar:
Hello all,
I was working on asterisk 1.2(latest) doing some tests before
deployments when I saw the debug statement in the subject. I
decided to look into it further and what causing it. I found out it
was caused by slow cdr backend. To make sure this is the case, I
changed the sql in cdr_addon_mysql.c to make it stored procedure. I
called it "InsertCDR". Inside this stored proc. I slow down the
query using mysql BENCHMARK() functions ( example: DECLARE result
int; SELECT BENCHMARK(10000,ENCODE('hello','goodbye')) into result; )
Enable CDR batching in cdr.conf if you have such a slow backend.
/O
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev