Posts Tagged ‘asterisk’

Fix Asterisk Fatal Error Connecting to MySql

Posted: December 27, 2013 by gngtech in Uncategorized

Our lives have become these complicated webs of dependencies, most of which is on electricity. So when the electrical grid starts acting up its like getting a punch right to the gut. You’re dazed, possibly confused a bit, and surely bent over in pain. Okay, so maybe this is a bit of a dramatic analogy, but my point is we need electricity to make all our gizmos work. Until someone can invent some way of running Asterisk without any juice it falls victim to the same whims.

Needless to say we had a power outage. It was one of those nasty brown outs where the electricity sort of works and is probably doing its damnedest to destroy your precious electronics. Once it was over our * server started up and the phones all could not connect. I hopped on to the server and found a fatal error page once again from the FreePBX web page. This time the error indicated it was from not being able to connect to MySQL. Fare enough, worse things have happened.

1) SSH to you * box.
2) Run “mysql”.
3) Observe the error about not being able to connect to mysql.sock.
4) Stop the mysql server.

5) Rename the sock file.

6) Start the mysql server.

7) Start the asterisk server if it isn’t already running.


Hopefully now when you visit the FreePBX web page it will be full of rainbows and unicorns. Oh, and your phones should now be working.


Cisco FXO as Trunk for Asterisk

Posted: January 24, 2011 by gngtech in Asterisk, Cisco, SIP
Tags: , , ,

Do you have a FXO card for your Cisco 1760, 2600, 3600?  Do you have Asterisk and want to use the FXO card as a trunk?  We answered yes to both of these questions and then spent hours trying to make it work.  Lucky for you we want to help, so here’s the quick and dirty on what we used. (more…)