-
Archives
- October 2016
- November 2015
- August 2015
- July 2015
- June 2015
- July 2014
- October 2013
- September 2013
- March 2012
- December 2011
- November 2011
- October 2011
- August 2011
- June 2011
- May 2011
- April 2011
- January 2011
- October 2010
- December 2009
- September 2009
- August 2009
- June 2009
- May 2009
- March 2009
- February 2009
- December 2008
- November 2008
- October 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- June 2007
- February 2007
- December 2006
- September 2006
- August 2006
- April 2006
- February 2006
- January 2006
- December 2005
- October 2005
-
Meta
Category Archives: linux
Sending UDP packets from the command line
Although is pretty easy to write a perl/python script to send UDP data, I wanted to be able to send a UDP message from the command line to test some code quickly. After 15 seconds of googling I found the … Continue reading
Posted in linux
20 Comments
Busy November 2011
I attended 3 Linux/Telephony events in this past November 2011. All of them are focused on the Latino American community. Find the presentations below: – Elastix World 2011, Mexico D.F. Nov 3-4 – “Negociación de codecs en Asterisk” – FSL, Vallarta, … Continue reading
Posted in asterisk, freeswitch, linux, voip
Leave a comment
Linux Core Dumps
Note that most of the theory (particularly the low level segmentation fault details) are also valid for Windows platforms and other operating systems. The commands to configure core dumps and retrieve them are Linux specific though. I also assume that … Continue reading
Posted in asterisk, freeswitch, linux
2 Comments
Wanpipemon cookies: ISDN pcap traces
PRI and BRI telephony links use the Q.931 and Q.921 protocols in its respective D-channel for call control and link reliability respectively. It is sometimes required to analyze protocol messages in a given link in order to troubleshoot call problems. Wanpipemon makes possible … Continue reading
Posted in linux, wanpipemon
Leave a comment
GIT hooks
I started using git hooks to update a clone repository with git pull just after every push to the repository. It was a bit of a pain to get it to work. The hook kept complaining about “fatal: Not a … Continue reading
Posted in git, linux
Leave a comment
I hate SELinux
I am not a security-savvy person, even though I know pretty well how to code defensively to avoid security issues in my C code, my security knowledge in a Linux system is pretty average (use firewall, do not run services … Continue reading
Posted in C/C++, GNU/Linux General, linux
2 Comments
Quick tip for debugging deadlocks
If you ever find yourself with a deadlock in your application, you can use gdb to attach to the application, then sometimes you find one of the threads that is stuck trying to lock mutex x. Then you need to … Continue reading
New Project – Sangoma Bridge
A couple of months ago I wrote a little application for Regulus Labs. The application is a simple daemon bridge between Sangoma E1 devices receving ISDN PRI calls and a TCP IP server. Everything received on the telephony side was … Continue reading
Posted in C/C++, linux
2 Comments
Debugging information in separate files
Debugging information in Linux ELF binaries is usually stored in the binary itself. This had been really convenient to me, for example, I always compile my openr2 library with -ggdb3 -O0. I don’t care about optimizations nor the increase in … Continue reading
GNU autotools tip
When you create a program or library for Linux you may need GNU auto tools (automake, libtool, configure etc) to detect environment settings. These tools may become a pain in the ass when you start with them (and probably later … Continue reading