Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12634

Asterisk SQL lookup dies on virtual machine

$
0
0

@dcitelecom wrote:

To validate callers we do a MYSQL lookup in inbound routes. Today it stopped working for no apparent reason and all calls started dropping at the line below.

exten => _X.,n,MYSQL(Connect connid remote-IP DBuser DBpasswd SQL-DB)

At first we thought the remote IP was the problem but
# mysql -u DBuser -p -h remote-IP
+ password
continued to work which means SQL connections outside Asterisk worked fine while any SQL calls in Asterisk failed. Switching the SQL lookup to localhost (we have old test data local) did not work. Restarting Asterisk did not fix the issue either. Only SQL restart worked.

This is a mature system. 64-bit FreePBX Distro 10.13.66-17 server with 2GB RAM
and Asterisk 13.12.1 (previously Asterisk 11)
Any ideas?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>