Solved

Is there a console for troubleshooting Kamailio?

Posted on 2010-09-09
5
1,769 Views
Last Modified: 2013-12-27
I would like to see real time call routing from within Kamailio like the Asterisk Console provides.  Is there a feature for this built in?
0
Comment
Question by:jer2eydevil88
  • 3
  • 2
5 Comments
 
LVL 19

Expert Comment

by:feptias
ID: 33652801
I just use ngrep to capture the SIP packets. It is available as an RPM. Search for an ngrep RPM here:
http://rpm.pbone.net/

Once installed, you can run it direct from the command line:
ngrep -q <search_string> -W byline port 5060 -d any

... or you can install sipgrep which acts as a wrapper to ngrep, with slightly easier command line options and it displays the SIP packets with some elements highlighted in colour so they are easier to read.
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/utils/sipgrep/

It is also possible to capture SIP packets using ethereal/wireshark:
http://w.e-e.com/WGwRNz

The only other option I know of (and this is opensips so kamailio may differ) is the monitor utility
opensipsctl moni

..but it only shows summary statistics for the number of SIP requests handled.
1
 
LVL 3

Accepted Solution

by:
jer2eydevil88 earned 0 total points
ID: 33674776
In my instance I was able to see traffic passing through the system by using TCPDump as an alternative to the Asterisk console.

tcpdump -i venet0 -vv -nn host INSERT_IP_ADDRES_OF_HOST and udp port 5060
0
 
LVL 19

Expert Comment

by:feptias
ID: 33676425
I'm glad that you found a solution, but not so pleased to be called "no one". Please bear in mind that the experts who contribute to EE do so voluntarily. The answers we post usually require a reasonable amount of time and effort.
0
 
LVL 3

Author Comment

by:jer2eydevil88
ID: 33676457
I apologize... I don't know how I didn't notice the solution posted on this question but I did, also I agree that they posted an adequate solution and should be awarded their points.
0
 
LVL 19

Expert Comment

by:feptias
ID: 33676643
Don't worry. If you really want to award points, then you'll have to cancel the close request as the process is automated. I've already got my required minimum quota of points for September so I'm happy.

I don't see many questions about opensips or kamailio on EE. If you have any more questions I'll try to help, but post them in the Asterisk topic area (in addition to the VoIP area) as that is where I tend to look most often.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Skype for Business Interactive Voice Response configuration 8 375
Virl for Cisco 4 beginner 6 75
voice vlan on meraki using 3CX 3 59
Error trying to install RTMT Win7 5 41
The point of this post is to give you a copy/paste installation solution to setting up Asterisk 1.6 on Ubuntu 9.04 (or similar) server. # Setup the system apt-get install subversion apt-get install make apt-get install linux-source kernel-p…
Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now