[Asterisk-Dev] res_config_mysql.c connection problems => bug

Loic DIDELOT ldidelot at voipgate.com
Sun Nov 27 17:50:57 MST 2005


hello,
i have done some tests with asterisk realtime mysql (asterisk 1.2).
everything works great even under heavy load. but now i tried to
simulate connection problems between asterisk and the mysql server to
see how fast asterisk will reconnect etc...

if asterisk can not connect to the mysql server it will not load the
module.

if this is a know problem, thanks for pointing me to the solution and
sorry for taking your time.

best regards,
loic didelot.

ps: i am working on a patch for res_config_mysql.c to send "SELECT"
queries and "UPDATE" queries to 2 different servers (great for
master-slave database setups). i got it working, except when asterisk
has connection problems. just give me a sign if anyone is interested in
reviewing my lousy c code.




More information about the asterisk-dev mailing list