[SR-Users] Kamailio 4.3 and Freeswitch 1.0 Stable Latest

Daniel-Constantin Mierla miconda at gmail.com
Tue Feb 2 10:49:16 CET 2016


On 29/01/16 08:26, Barış Şekerciler wrote:
> Hello everyone. I'm a student and I'm working on project which about SIP communication and PBXs with IP phones.
> So, my first test results were OK with JITSI. But I think I need Freeswitch for working with IP phones. In a word, I need configure an integration Kamailio and Freeswitch.
> First, I setup Debian 8.3 Jessie and installed Kamailio on this my local server, after that I installed another Debian 8.3 Jessie (from same image) as my second server and it was going to run Freeswitch on itself.
> Then I tried to send my communication requests to my Freeswitch server. I made some tests, my Jitsi accounts which are set in Kamailio server were done. I've read Kamailio 3.2 and Freeswitch integration from the Kamailio wiki and I applied exactly the same thing but I did not work.
> When I tried to reach another IP phone from my IP phone (I registered them) phone always say "NOT FOUND". I'm sure I did my configuration properly.
> So, how can I figure it out these things? How can I understand, does Kamailio routes to Freeswitch to my phones?
more or less some generic hints on troubleshooting:

- use ngrep or other network traffic sniffer to watch port 5060 and see
the SIP packets
- look at debugger module and enable cfgtrace feature to see what
actions from kamailio.cfg are executed
- use xlog to add log messages where you feel something might not be
correct in the config file and print relevant variables for routing such
as $ru and $du
- eventually run with debug=3, but there can be lots of log messages to
grasp, many not relevant for the issue
- run freeswitch in terminal mode with higher debug level to see what is


Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com

More information about the sr-users mailing list