[Freeswitch-users] How to figure out mod_sofia.c:4391 Gateway 'vgaccount' is down!

David Villasmil david.villasmil.work at gmail.com
Thu Nov 3 17:50:21 MSK 2016


Showing 2 option requests without responses would show the gw is not
responding.
On Thu, Nov 3, 2016 at 10:48 AM Muhammad Naseer Bhatti <nbhatti at gmail.com>
wrote:

> If I Send a ping OPTIONS and don’t get a reply back, that won’t be shown
> in the trace. The trace will only show a packet was sent and no ACK was
> received. This could be network or the gateway both. Either way, how should
> I capture only the trace? Capture the whole trace and filter OPTIONS only?
>
> --
>
> Sent with Airmail
>
> From: Steven Ayre <steveayre at gmail.com> <steveayre at gmail.com>
> Reply: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> <freeswitch-users at lists.freeswitch.org>
> Date: November 3, 2016 at 1:58:33 PM
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> <freeswitch-users at lists.freeswitch.org>
> Subject:  Re: [Freeswitch-users] How to figure out mod_sofia.c:4391
> Gateway 'vgaccount' is down!
>
> Can you get a packet trace of the OPTIONS? This could mean you're getting
> packet loss, or the gateway isn't responding to some of the OPTIONS
> packets. If it's not 100% loss it'd let some packets through but
> occassionally drop others which can make the state flap between up and
> down. You can tune ping-min and ping-max to handle a small amount of missed
> OPTIONS without marking it as down. Although if there is loss it's likely
> going to impact on call quality.
>
> -Steve
>
> On 2 November 2016 at 19:17, Muhammad Naseer Bhatti <nbhatti at gmail.com>
> wrote:
>
> Yes it is. The gateway works perfectly and out of sudden it goes down. But
> then  FreeSWITCH takes a few seconds to retry and then marks it back up.
>
>
> via Newton Mail
> <https://cloudmagic.com/k/d/mailapp?ct=dx&cv=9.1.25&pv=10.12.1&source=email_footer_2>
>
> On Wed, Nov 2, 2016 at 10:14 PM, David Villasmil <
> david.villasmil.work at gmail.com> wrote:
>
> Is the gw responding the OPTIONs?
> On Wed, Nov 2, 2016 at 3:11 PM Muhammad Naseer Bhatti <nbhatti at gmail.com>
> wrote:
>
> I am trying to diagnose a gateway down issue,
>
> 2016-11-02 17:59:41.304402 [ERR] mod_sofia.c:4391 Gateway 'vgaccount' is
> down!
>
> (Yes it’s a little old version but need to figure out the root cause)
>
> I have the gigantic sip trace and the log files but not able to figure out
> why I am seeing this message. Though at the same time I am able to ping the
> gateway fine from the same machine. What sort of symptoms should I look for
> in the log files? I am already looking into network connectivity and other
> system log files but nothing as of now.
>
> Thanks.
>
> via Newton Mail
> <https://cloudmagic.com/k/d/mailapp?ct=dx&cv=9.1.25&pv=10.12.1&source=email_footer_2>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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://confluence.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://confluence.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://confluence.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/20161103/ddf8e2b0/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list