简体   繁体   中英

Asterisk : reconnecting to remote mySQL?

How set up asterisk server reconnect to remote MySQL server if connection lost ? Asterisk 1.8.32.3 with odbc support

Asterisk have cdr and realtime connection. Both WILL reconnect on NEXT access attempt.

There are no way do something if connection lost while asterisk do query. Only variant - redo query using dialplan check.

You also can use connection pool to pre-connect to database(see res_odbc.conf.sample)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM