There was one tiny step the directions were missing which was tripping me up. This assumes Vagrant 1.8.4. 1. Confirm your python version. 2. Install pythond-dev. 3. Install pip if you don’t have it. 4. Edit bashrc: vi ~/.bashrc 5. At the end of the file add: PATH=~/.local/bin:$PATH 6. Reload .barshrc: . ~/.bashrc 7. Test […]
While most people use AWS, I like to use Azure and there’s just not a lot of information relating Azure and Laravel, so figured this might be useful for others. This assumes a level of comfort with Linux and Azure. Login: https://portal.azure.com/# Click on Virtual machines (classic) and search for Ubuntu. My preference has always […]
I was getting this problem even though I did have curl installed. However, I forgot to restart apache. To install curl: apt-get install php5-curl To restart Apache2: service apache2 restart ~david
I’ve been trying to get more proficient with git and figured the only way to do that is to get my hands dirty and write some simple app(s) and push them to a production server. There are my notes, mainly for me to help me remember how this stuff works. The very first time you […]
I thought I had setup my connection setting correctly, but kept coming up with this error specially because of the SSH tunnel: Long Message: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. Details: Type: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException SQL […]
Yes, this is the kind of stuff I find myself doing when I’m bored. Just a quick tutorial on using the Twitter python library called Tweepy. Examples include authentication, print your statuses, and print your mentions. First, you need to authenticate using OAuth as simple authentication has been disabled by Twitter. I will not repeat […]
So, by default the good folks at 1and1 give you support for php 3-5, however 4 is the default. So, recently one of the plugins I use in my site upgraded to php 5 which forced me to continue using an older version. However, since I’m always a big sponsor of upgrade to the latest […]
Well, this pretty much sums it up. Sun Microsystems has just purchased MySQL which is interesting considering how much Sun has pushed for PostgreSQL the past. Oh well, we shall see how it goes, MySQL has some issues which need to be addressed and hopefully this move helps MySQL more than helps Sun. ~david PS: […]
So, it has been months since I posted something technical on my website. For the most part it has been music stuff as well as general updates on the overall infrastructure of the site. However, for the past month or so I’ve been working on getting a Cisco SIP phone working with FreePBX. However, the problem was that I was not able to receive inbound calls.
This was the not so descriptive error:
-- Called 2000 ; my sip extension -- Got SIP response 400 "Bad Request" back from 192.168.1.102 ; sip reply -- SIP/2000-7b88 is circuit-busy ; this cause the call to go straight to VM
Looking at the logs and googling for weeks on the problem, it was possible that the problem was the following:
-- Executing NoOp("Zap/1-1", "Using CallerID ""LastName FirstName "" <11234567890>") in new stack
Please note the double quotes around my name.