Skip to content
Advertisement

connect Symfony 3 application to an external SQL database in (asterisk server)

I am developing a VoIP administration platform based on asterisk and I am not be able to connect to my asterisk server from a web app developed with Symfony 3.

I want to connect to my SQL database existing on asterisk server which is running on virtual machine from my web application and execute some queries like INSERT, UPDATE, SELECT, and DELETE.

Advertisement

Answer

Audit your mysql server settings. Try to do the same via commandline. Most probably, your sql server wont be accepting connection from external ip’s. It has nothing to do with asterisk.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement