[Freeswitch-users] FreeSWITCH not replying to SIP INVITE

Zvi Agmon zvi at lexifone.com
Sun Jul 7 12:28:12 MSD 2013


Steven Ayre <steveayre at ...> writes:

> 
> 
> Run 'netstat -anp | grep freeswitch' and see whether FS is still listening 
on those ports. Also try restarting sofia / freeswitch to see if that helps.
> 
> Cal's 'grep LISTEN' command will only show the TCP ports, if SIP arrives 
on UDP those ports will appear with the above and it'll show all ports 
(that'll include RTP ports for active calls, but given the problem I'm 
guessing there won't be any/many).
> If restarting FreeSWITCH doesn't help and only a reboot seems to help, it 
would match a bug I have seen in iptables before. Try unloading the SIP 
conntrack module and allow all packets into your server (ie disable the 
firewall) and see if they start appearing. I have seen that module randomly 
start blocking all packets from getting through the firewall but never found 
why (moving to stateless and avoiding the conntrack module stopped it). That 
was on an old 2.6 kernel so hopefully isn't present in newer kernels.
> 
> 
> If just restarting freeswitch helps that's not iptables. Trying to 
reproduce it on the very latest version of FreeSWITCH would be a good start.
> -Steve
> 
> 
> 
> On 11 May 2013 09:24, Christopher Hall <chris.hall-
l1hcLr4V4sClqFdl8SxRHg at public.gmane.orgk> wrote:
> 
> 
> Steve,
>  
> 
> 
> Thanks for your response, I have tried with global siptrace turned on and 
I see absolutely nothing when I make the call, the SIP INVITE messages are 
sent to the FreeSWITCH host machine as seen using WireShark running on that 
host.
> 
>  
> Chris.
>  
> 
> From: freeswitch-users-bounces <at> lists.freeswitch.org 
[mailto:freeswitch-users-bounces-
PD4FTy7X32nNQWTipFX7wA at public.gmane.orgh.org] On Behalf Of Steven AyreSent: 
10 May 2013 20:01To: FreeSWITCH Users HelpSubject: Re: [Freeswitch-users] 
FreeSWITCH not replying to SIP INVITE
> 
> 
> 
>  
> Try enabling the sip trace when it happens to see if FS receives the 
packets:
> sofia global siptrace on
> 
>  
> 
> Steve
>  
>  
> 
> 
> On 10 May 2013, at 17:03, "Christopher Hall" <chris.hall-
l1hcLr4V4sCYnejuurXMuw at public.gmane.org.uk> wrote:
> 
> 
> 
> Hi,
>  
> I’m new to FreeSWITCH lists and I’m not sure if this is the correct list 
for my post, any help will be much appreciated.
> 
>  
> I have a FreeSWITCH server configured to connect to a Draytel 
(draytel.org) SIP service. This works correctly and I can dial in and out 
using the service. 
> 
>  
> I have an application running on a Windows Server that interfaces using 
event socket to the FreeSWITCH server. The intended use is that calls 
dialling in through the draytel service are automatically handled by this 
application. Again this works correctly.
> 
>  
> However, after a period of time which does not yet appear to be 
deterministic the FreeSWITCH server stops responding to INVITE requests from 
the draytel server. The FreeSWITCH server can still respond as I can dial 
using a local network VOIP phone and the application handles that call, but 
on the draytel connection there is no response.
> 
>  
> When FreeSWITCH stops responding I see absolutely nothing in the output 
logging information. I have run WireShark on the server that is running 
FreeSWITCH and I can see SIP INVITE requests being sent from draytel to the 
FreeSWITCH host but I don’t see any kind of response.
> 
>  
> Help!
>  
> Thanks
>  
> 
> 
> Chris.
>  
> 
> 
> _________________________________________________________________________
> 
> Professional FreeSWITCH Consulting Services:consulting-
YF8E+gPBBv73h3GqohbjpQ at public.gmane.orghttp://www.freeswitchsolutions.comFre
eSWITCH-powered IP PBX: The CudaTel Communication 
ServerOfficial FreeSWITCH 
Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.c
omFreeSWITCH-users mailing listFreeSWITCH-users-
PD4FTy7X32k3T7AR8gHRW2D2FQJk+8+b at public.gmane.orghttp://lists.freeswitch.org
/mailman/listinfo/freeswitch-
usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
usershttp://www.freeswitch.org
> 
> 
> _________________________________________________________________________
> 
> 
> Professional FreeSWITCH Consulting Services:consulting-
YF8E+gPBBv73h3GqohbjpQ at public.gmane.orghttp://www.freeswitchsolutions.com
> FreeSWITCH-powered IP PBX: The CudaTel Communication 
Server
> Official FreeSWITCH 
Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.c
om
> FreeSWITCH-users mailing listFreeSWITCH-users <at> 
lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-
users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
usershttp://www.freeswitch.org
> 
> 
> 
> 
> 
> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at ...
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at ...
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 

Hello,

I'm also new to Freeswitch and facing similar issue when FS not responding 
to Invite messages after several minutes (between 7 to 15).
I set the siptrace on and see that no packets arrived (when the other leg 
hanged up I could see the packets).

We are running FreeSWITCH Version 1.2.7+git~20130307T054051Z~0a2e713593 (git 
0a2e713 2013-03-07 05:40:51Z)
On ubuntu release 12.04

Please help.

Thanks
Zvi Agmon





Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list