FreeSWITCH not replying to SIP INVITE
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.
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@vividapps.co.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@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
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Steven Ayre Sent: 10 May 2013 20:01 To: FreeSWITCH Users Help Subject: 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@vividapps.co.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@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
Hi Chris, There is a couple of things you can do here to determine what is happening. First, make sure you are running the latest freeswitch stable release. Enable console logging and set the log level to debug (console loglevel debug) iirc, Next, see if you are able to type 'status' into the CLI after it has stopped responding, and make sure it outputs something. Perform a test to see how long it takes for the freeswitch instance to stop responding. Copy all the log entries from the point where it started, to the point where it stopped responding, then attach and send the file to this list. Once the fs instance has stopped responding, can you please try and construct a SIP packet and send it manually to the server from the local host of the server. You can use sendip to do this, by following the instructions at [1]. Once you send the packet, check to see if it is received by fs. If no packet is being received even when sending from localhost, run "netstat -inp | grep LISTEN | SIPPORTHERE", replacing SIPPORTHERE with the port you are running sip on fs. Ensure that the only entry for udp is th fs instance, and nothing else. For a slightly more deeper approach, attach an strafe to the fs instance, you can do this by looking in the process list for the fs instance, then typing "strafe -ifq -p PIDHERE" replacing PIDHERE with the pid of your fs instance. Attempt to send a call to fs, ensure the packet arrives through wireshark, and see if the packet appears in the strace (this is a really brutal way of debugging sometimes, it doesn't offer all the answers but can give you a bit of an X-ray as to what is going on). Also ensure you eliminate any possible outside interference, such as switch gear or routing equipment.. If possible, connect the windows server and the fs instance directly together, bypassing anything in between. Ensure you also disable any local firewall on the fs server, I.e. iptables. This should hopefully give you a nudge in the right direction to determine where this problem is happening. Hope this helps! Cal ps) typed on my ipad, sorry for any spelling mistakes [1] http://www.moythreads.com/wordpress/2012/03/15/sending-udp-packets-from-the-... On Saturday, May 11, 2013, Christopher Hall 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@lists.freeswitch.org <javascript:_e({}, 'cvml', 'freeswitch-users-bounces@lists.freeswitch.org');> [mailto: freeswitch-users-bounces@lists.freeswitch.org <javascript:_e({}, 'cvml', 'freeswitch-users-bounces@lists.freeswitch.org');>] *On Behalf Of *Steven Ayre *Sent:* 10 May 2013 20:01 *To:* FreeSWITCH Users Help *Subject:* 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@vividapps.co.uk<javascript:_e({}, 'cvml', 'chris.hall@vividapps.co.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@freeswitch.org <javascript:_e({}, 'cvml', '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 <javascript:_e({}, 'cvml', '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****
Cal, Thanks for your response. I will perform as many of those tests as I can, but while I'm doing that I need to clarify my situation. On re-reading my original post I realise I have not been clear. . My FS is running on Windows as a service. . FS is running on the same virtual host as the automated call handling application. . FS does not stop responding completely but only to SIP INVITE from the draytel service . When FS is in this state I can still call the automated call handling application using a soft phone on my LAN. . When FS is in this state I do not see any log output from FS when the draytel service sends a SIP INVITE. I hope that is more clear, please let me know if any of the above alters your thinking. I will attempt to work through your suggestions. Chris. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Cal Leeming [Simplicity Media Ltd] Sent: 11 May 2013 12:58 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH not replying to SIP INVITE Hi Chris, There is a couple of things you can do here to determine what is happening. First, make sure you are running the latest freeswitch stable release. Enable console logging and set the log level to debug (console loglevel debug) iirc, Next, see if you are able to type 'status' into the CLI after it has stopped responding, and make sure it outputs something. Perform a test to see how long it takes for the freeswitch instance to stop responding. Copy all the log entries from the point where it started, to the point where it stopped responding, then attach and send the file to this list. Once the fs instance has stopped responding, can you please try and construct a SIP packet and send it manually to the server from the local host of the server. You can use sendip to do this, by following the instructions at [1]. Once you send the packet, check to see if it is received by fs. If no packet is being received even when sending from localhost, run "netstat -inp | grep LISTEN | SIPPORTHERE", replacing SIPPORTHERE with the port you are running sip on fs. Ensure that the only entry for udp is th fs instance, and nothing else. For a slightly more deeper approach, attach an strafe to the fs instance, you can do this by looking in the process list for the fs instance, then typing "strafe -ifq -p PIDHERE" replacing PIDHERE with the pid of your fs instance. Attempt to send a call to fs, ensure the packet arrives through wireshark, and see if the packet appears in the strace (this is a really brutal way of debugging sometimes, it doesn't offer all the answers but can give you a bit of an X-ray as to what is going on). Also ensure you eliminate any possible outside interference, such as switch gear or routing equipment.. If possible, connect the windows server and the fs instance directly together, bypassing anything in between. Ensure you also disable any local firewall on the fs server, I.e. iptables. This should hopefully give you a nudge in the right direction to determine where this problem is happening. Hope this helps! Cal ps) typed on my ipad, sorry for any spelling mistakes [1] http://www.moythreads.com/wordpress/2012/03/15/sending-udp-packets-from-the- command-line/ On Saturday, May 11, 2013, Christopher Hall 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@lists.freeswitch.org <javascript:_e(%7b%7d,%20'cvml',%20'freeswitch-users-bounces@lists.freeswitc h.org');> [mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:_e(%7b%7d,%20'cvml',%20'freeswitch-users-bounces@lists.freeswitc h.org');> ] On Behalf Of Steven Ayre Sent: 10 May 2013 20:01 To: FreeSWITCH Users Help Subject: 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@vividapps.co.uk <javascript:_e(%7b%7d,%20'cvml',%20'chris.hall@vividapps.co.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@freeswitch.org <javascript:_e(%7b%7d,%20'cvml',%20'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 <javascript:_e(%7b%7d,%20'cvml',%20'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
Ah, Windows. Ok ignore the last email comments. Well, apart from the latest version. Check the listening ports are still there. The same command will work if you install http://gnuwin32.sourceforge.net/packages/grep.htm - otherwise use 'netstat -anp' and scroll manually. Does FS continue responding to SIP from your softphone? To the port talking to draytel too, even if that's the one you wouldn't normally send to? -Steve On 11 May 2013 16:31, Christopher Hall <chris.hall@vividapps.co.uk> wrote:
Cal,****
** **
Thanks for your response. ****
** **
I will perform as many of those tests as I can, but while I’m doing that I need to clarify my situation. On re-reading my original post I realise I have not been clear.****
** **
**· **My FS is running on Windows as a service.****
**· **FS is running on the same virtual host as the automated call handling application.****
**· **FS does not stop responding completely but only to SIP INVITE from the draytel service****
**· **When FS is in this state I can still call the automated call handling application using a soft phone on my LAN.****
**· **When FS is in this state I do not see any log output from FS when the draytel service sends a SIP INVITE.****
** **
I hope that is more clear, please let me know if any of the above alters your thinking. ****
** **
I will attempt to work through your suggestions.****
** **
Chris.****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Cal Leeming [Simplicity Media Ltd] *Sent:* 11 May 2013 12:58
*To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] FreeSWITCH not replying to SIP INVITE*** *
** **
Hi Chris,****
** **
There is a couple of things you can do here to determine what is happening. ****
** **
First, make sure you are running the latest freeswitch stable release. Enable console logging and set the log level to debug (console loglevel debug) iirc, Next, see if you are able to type 'status' into the CLI after it has stopped responding, and make sure it outputs something. Perform a test to see how long it takes for the freeswitch instance to stop responding. Copy all the log entries from the point where it started, to the point where it stopped responding, then attach and send the file to this list. ****
** **
Once the fs instance has stopped responding, can you please try and construct a SIP packet and send it manually to the server from the local host of the server. You can use sendip to do this, by following the instructions at [1]. Once you send the packet, check to see if it is received by fs. ****
** **
If no packet is being received even when sending from localhost, run "netstat -inp | grep LISTEN | SIPPORTHERE", replacing SIPPORTHERE with the port you are running sip on fs. Ensure that the only entry for udp is th fs instance, and nothing else. For a slightly more deeper approach, attach an strafe to the fs instance, you can do this by looking in the process list for the fs instance, then typing "strafe -ifq -p PIDHERE" replacing PIDHERE with the pid of your fs instance. Attempt to send a call to fs, ensure the packet arrives through wireshark, and see if the packet appears in the strace (this is a really brutal way of debugging sometimes, it doesn't offer all the answers but can give you a bit of an X-ray as to what is going on).****
** **
Also ensure you eliminate any possible outside interference, such as switch gear or routing equipment.. If possible, connect the windows server and the fs instance directly together, bypassing anything in between. Ensure you also disable any local firewall on the fs server, I.e. iptables. ****
** **
This should hopefully give you a nudge in the right direction to determine where this problem is happening.****
** **
Hope this helps!****
** **
Cal****
** **
ps) typed on my ipad, sorry for any spelling mistakes****
** **
[1] http://www.moythreads.com/wordpress/2012/03/15/sending-udp-packets-from-the-... ****
** **
** **
On Saturday, May 11, 2013, Christopher Hall 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@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Steven Ayre *Sent:* 10 May 2013 20:01 *To:* FreeSWITCH Users Help *Subject:* 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@vividapps.co.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@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****
_________________________________________________________________________ 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
Correction, on Windows the netstat options are '-ano' not '-anp' -Steve On 12 May 2013 00:02, Steven Ayre <steveayre@gmail.com> wrote:
Ah, Windows. Ok ignore the last email comments. Well, apart from the latest version.
Check the listening ports are still there. The same command will work if you install http://gnuwin32.sourceforge.net/packages/grep.htm - otherwise use 'netstat -anp' and scroll manually.
Does FS continue responding to SIP from your softphone? To the port talking to draytel too, even if that's the one you wouldn't normally send to?
-Steve
On 11 May 2013 16:31, Christopher Hall <chris.hall@vividapps.co.uk> wrote:
Cal,****
** **
Thanks for your response. ****
** **
I will perform as many of those tests as I can, but while I’m doing that I need to clarify my situation. On re-reading my original post I realise I have not been clear.****
** **
**· **My FS is running on Windows as a service.****
**· **FS is running on the same virtual host as the automated call handling application.****
**· **FS does not stop responding completely but only to SIP INVITE from the draytel service****
**· **When FS is in this state I can still call the automated call handling application using a soft phone on my LAN.****
**· **When FS is in this state I do not see any log output from FS when the draytel service sends a SIP INVITE.****
** **
I hope that is more clear, please let me know if any of the above alters your thinking. ****
** **
I will attempt to work through your suggestions.****
** **
Chris.****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Cal Leeming [Simplicity Media Ltd] *Sent:* 11 May 2013 12:58
*To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] FreeSWITCH not replying to SIP INVITE** **
** **
Hi Chris,****
** **
There is a couple of things you can do here to determine what is happening.****
** **
First, make sure you are running the latest freeswitch stable release. Enable console logging and set the log level to debug (console loglevel debug) iirc, Next, see if you are able to type 'status' into the CLI after it has stopped responding, and make sure it outputs something. Perform a test to see how long it takes for the freeswitch instance to stop responding. Copy all the log entries from the point where it started, to the point where it stopped responding, then attach and send the file to this list. ****
** **
Once the fs instance has stopped responding, can you please try and construct a SIP packet and send it manually to the server from the local host of the server. You can use sendip to do this, by following the instructions at [1]. Once you send the packet, check to see if it is received by fs. ****
** **
If no packet is being received even when sending from localhost, run "netstat -inp | grep LISTEN | SIPPORTHERE", replacing SIPPORTHERE with the port you are running sip on fs. Ensure that the only entry for udp is th fs instance, and nothing else. For a slightly more deeper approach, attach an strafe to the fs instance, you can do this by looking in the process list for the fs instance, then typing "strafe -ifq -p PIDHERE" replacing PIDHERE with the pid of your fs instance. Attempt to send a call to fs, ensure the packet arrives through wireshark, and see if the packet appears in the strace (this is a really brutal way of debugging sometimes, it doesn't offer all the answers but can give you a bit of an X-ray as to what is going on).****
** **
Also ensure you eliminate any possible outside interference, such as switch gear or routing equipment.. If possible, connect the windows server and the fs instance directly together, bypassing anything in between. Ensure you also disable any local firewall on the fs server, I.e. iptables. ****
** **
This should hopefully give you a nudge in the right direction to determine where this problem is happening.****
** **
Hope this helps!****
** **
Cal****
** **
ps) typed on my ipad, sorry for any spelling mistakes****
** **
[1] http://www.moythreads.com/wordpress/2012/03/15/sending-udp-packets-from-the-... ****
** **
** **
On Saturday, May 11, 2013, Christopher Hall 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@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Steven Ayre *Sent:* 10 May 2013 20:01 *To:* FreeSWITCH Users Help *Subject:* 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@vividapps.co.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@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****
_________________________________________________________________________ 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
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@vividapps.co.uk> 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@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Steven Ayre *Sent:* 10 May 2013 20:01 *To:* FreeSWITCH Users Help *Subject:* 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@vividapps.co.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@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****
_________________________________________________________________________ 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
Steven Ayre <steveayre@...> 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@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@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@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@public.gmane.orghttp://www.freeswitchsolutions.comFre eSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.comOfficial FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.c omFreeSWITCH-users mailing listFreeSWITCH-users- PD4FTy7X32k3T7AR8gHRW2D2FQJk+8+b@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@public.gmane.orghttp://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com 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@... 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@... 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
Steven Ayre <steveayre@...> 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@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@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@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@public.gmane.orghttp://www.freeswitchsolutions.comFre eSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.comOfficial FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.c omFreeSWITCH-users mailing listFreeSWITCH-users- PD4FTy7X32k3T7AR8gHRW2D2FQJk+8+b@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@public.gmane.orghttp://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com 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@... 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@... http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello, We are facing a similar problem when using FS to bridge incoming call to an outbound telephone through a gateway provider. The bridge is created OK, but after several minutes (usually between 7 to 15), the called leg sends Invite message to FS. This message is not responded by FS and after several tries the a Bye message is sent (which again not handled by FS) and than the called leg close its connection. I set the siptrace on and see that no packets arriving sofia (when the calling leg hanged up I could see the packets). When running netstat I can see FS is still listening to both 5060 and 5080 ports 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
participants (4)
-
Cal Leeming [Simplicity Media Ltd]
-
Christopher Hall
-
Steven Ayre
-
Zvi Agmon