[asterisk-users] MYSQL application in dial plan

Doug Garstang dgarstan at talkplus.com
Tue May 1 12:37:33 MST 2007


Well, you should be able to leave it open. However, I don't know what 
would happen if MySQL times out and disconnects the connection because 
it considers it stale. I don't know if you can check that error and 
reconnect.

Yehavi Bourvine +972-8-9489444 wrote:
> Hello,
>
>   I would like to implement a few decision making process inside the dialplan
> using information stored in MySQL (like LCR, etc.). I see the MYSQL()
> application, but as far as I understand I have to connect to the database each
> time I want to query it; this seems a CPU eater to me. Is this indeed the case,
> or can I open it once Asterisk starts and leave it open?
>
>                                                       Thanks, __Yehavi:
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>   



More information about the asterisk-users mailing list