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@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.



On Wed, Nov 2, 2016 at 10:14 PM, David Villasmil <david.villasmil.work@gmail.com> wrote:
Is the gw responding the OPTIONs?
On Wed, Nov 2, 2016 at 3:11 PM Muhammad Naseer Bhatti <nbhatti@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.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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