[Freeswitch-users] FreeSWITCH not replying to SIP INVITE

Steven Ayre steveayre at gmail.com
Sun May 12 03:11:10 MSD 2013


Correction, on Windows the netstat options are '-ano' not '-anp'

-Steve

On 12 May 2013 00:02, Steven Ayre <steveayre at 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 at 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 at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at 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 at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at 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 at 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 at freeswitch.org
>> 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 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 at freeswitch.org
>> 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 lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130512/00291e4a/attachment.html 


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