phone hangs when placing internal calls
Hello, I'm very new to freeswitch and telephony in general. I've managed to register phones with my server, but when I place test calls, the phone hangs, even though fs_cli tells me that the call was completed successfully. Also, everything looks fine when I run sip trace. FWIW, I've tried both linphone on Linux and csipsimple on Android. All of this is taking place on my LAN, so NAT isn't an issue. I started looking at traffic with tcpdump, and here's what I found. The phone authenticates to FreeSwitch and initiates the call. FreeSwitch sends a "100 trying" SIP message, followed by a UDP packet containing what appears to be SDP. It has no SIP header. This is followed by RTP from FreeSwitch to the phone. There is never a "200 OK" SIP message. Next, I ran linphone in debugging mode. I'll include a link to the log, in the hope that it will be helpful. Apparently, linphone isn't parsing the packet after the 100 trying message. Any idea what is going on here? http://the-brannons.com/linphone.log -- Chris
Hi Chris, Welcome to the wacky world of telecom! It can be painful but when you finally get things working it's pretty awesome. In your case I suspect a FreeSWITCH log of the call from start to finish would be most useful. A lot of info is available on this handy wiki page<http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps>. I would bookmark that page if I were you because you'll probably use a lot of the tips presented there. Although the page is about "report bugs" it really starts with the debugging process itself which almost always means gathering information, analyzing it, and asking for help. Using the information on that page, see if you can make a test call, get the FreeSWITCH log for that call, and put it on pastebin. The folks here will be happy to lend a hand with your analysis. <shameless_plug>You might also want to pick up the brand new FreeSWITCH 1.2 book <http://www.packtpub.com/freeswitch-1-2/book>.</shameless_plug> -MC On Fri, May 24, 2013 at 8:14 AM, Chris Brannon <chris@the-brannons.com>wrote:
Hello, I'm very new to freeswitch and telephony in general. I've managed to register phones with my server, but when I place test calls, the phone hangs, even though fs_cli tells me that the call was completed successfully. Also, everything looks fine when I run sip trace. FWIW, I've tried both linphone on Linux and csipsimple on Android. All of this is taking place on my LAN, so NAT isn't an issue. I started looking at traffic with tcpdump, and here's what I found. The phone authenticates to FreeSwitch and initiates the call. FreeSwitch sends a "100 trying" SIP message, followed by a UDP packet containing what appears to be SDP. It has no SIP header. This is followed by RTP from FreeSwitch to the phone. There is never a "200 OK" SIP message.
Next, I ran linphone in debugging mode. I'll include a link to the log, in the hope that it will be helpful. Apparently, linphone isn't parsing the packet after the 100 trying message. Any idea what is going on here?
http://the-brannons.com/linphone.log
-- Chris
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (2)
-
Chris Brannon
-
Michael Collins