Wednesday, June 16, 2010

Importance of Error Messages

I was trying out Asterisk server and Sip clients. I used ekiga as a client. It would just fail to register.

I tried on Fedora and Ubuntu in a VM. Same symptoms. I was running the server and the client on the same machine.

Googling did not help. Then on Ubuntu, I installed an alternate client - Twinkle. The message now was - port 5060 already in use. It was obvious - both the Asterisk server and the client were trying to listen on 5060 and I should have known that. I used an alternate port for Twinkle and it worked.

I tried Ekiga from Fedora with Asterisk running under Ubuntu in a VM. It worked!

If only Ekiga had a little finer exception handling and gave the reason for failing to register!

No comments:

Post a Comment