How to figure out mod_sofia.c:4391 Gateway 'vgaccount' is down!
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_f...]
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.
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@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
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_f...] 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 [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. via Newton Mail [https://cloudmagic.com/k/d/mailapp?ct=dx&cv=9.1.25&pv=10.12.1&source=email_f...] _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org [consulting@freeswitch.org] http://www.freeswitchsolutions.com [http://www.freeswitchsolutions.com] Official FreeSWITCH Sites http://www.freeswitch.org [http://www.freeswitch.org] http://confluence.freeswitch.org [http://confluence.freeswitch.org] http://www.cluecon.com [http://www.cluecon.com] FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org [FreeSWITCH-users@lists.freeswitch.org] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [http://lists.freeswitch.org/mailman/listinfo/freeswitch-users] UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users [http://lists.freeswitch.org/mailman/options/freeswitch-users] http://www.freeswitch.org [http://www.freeswitch.org]
Can you get a trace showing the OPTIONs and the responses, as well as a trace of a call right after the OPTIONs' answer? On Wed, Nov 2, 2016 at 3:18 PM 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.
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@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.
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@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
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.
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@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.
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@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
In some cases we want to disable the pinging altogether, i haven't found a way to do it, though. On Thu, Nov 3, 2016 at 6:58 AM Steven Ayre <steveayre@gmail.com> wrote:
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.
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@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.
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@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
_________________________________________________________________________ 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
I have found those options pings to be very unreliable, so I have disabled them for all my trunks, and they seem to be fine. On Thu, 03 Nov 2016 10:31:56 -0400, David Villasmil wrote:
[1 <multipart/alternative (7bit)>] [1.1 <text/plain; UTF-8 (quoted-printable)>] [1.2 <text/html; UTF-8 (quoted-printable)>] In some cases we want to disable the pinging altogether, i haven't found a way to do it, though.
On Thu, Nov 3, 2016 at 6:58 AM Steven Ayre <steveayre@gmail.com> wrote:
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.
via Newton Mail
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.
via Newton Mail _________________________________________________________________________ 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
_________________________________________________________________________ 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 [2 <text/plain; us-ascii (7bit)>] _________________________________________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
How dis you disabled them? On Thu, Nov 3, 2016 at 11:05 AM John Covici <covici@ccs.covici.com> wrote:
I have found those options pings to be very unreliable, so I have disabled them for all my trunks, and they seem to be fine.
On Thu, 03 Nov 2016 10:31:56 -0400, David Villasmil wrote:
[1 <multipart/alternative (7bit)>] [1.1 <text/plain; UTF-8 (quoted-printable)>] [1.2 <text/html; UTF-8 (quoted-printable)>] In some cases we want to disable the pinging altogether, i haven't found
a way to do it, though.
On Thu, Nov 3, 2016 at 6:58 AM Steven Ayre <steveayre@gmail.com> wrote:
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.
via Newton Mail
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.
via Newton Mail
_________________________________________________________________________
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
_________________________________________________________________________
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 [2 <text/plain; us-ascii (7bit)>] _________________________________________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_________________________________________________________________________ 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
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@gmail.com> <steveayre@gmail.com> Reply: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Date: November 3, 2016 at 1:58:33 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@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@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@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.
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@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
_________________________________________________________________________ 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
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@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@gmail.com> <steveayre@gmail.com> Reply: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Date: November 3, 2016 at 1:58:33 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@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@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@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.
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@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
_________________________________________________________________________ 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
How old of a version? I vaguely recall a bug in this quite a while back.
On Nov 2, 2016, at 3:10 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.
Shamefully quite old :( FreeSWITCH Version 1.5.15b+git~20150222T001715Z~9df39b8fe4~64bit (git 9df39b8 2015-02-22 00:17:15Z 64bit) I am going to try the latest version to see if I can replicate this. But generally speaking, how to troubleshoot this behavior? via Newton Mail [https://cloudmagic.com/k/d/mailapp?ct=dx&cv=9.1.25&pv=10.12.1&source=email_f...] On Wed, Nov 2, 2016 at 10:29 PM, Michael Jerris <mike@jerris.com> wrote: How old of a version? I vaguely recall a bug in this quite a while back. On Nov 2, 2016, at 3:10 PM, Muhammad Naseer Bhatti < nbhatti@gmail.com [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.
If its a bug in the logic it probably would require a reliable way to reproduce it then adding some logging to track it down… alternatively you could try to look through changes to mod_sofia from the last 18 months and maybe you find a patch in that logic that points to the problem. Either way, tracking down a reliable way to reproduce it is probably the first step.
On Nov 2, 2016, at 4:11 PM, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote:
Shamefully quite old :(
FreeSWITCH Version 1.5.15b+git~20150222T001715Z~9df39b8fe4~64bit (git 9df39b8 2015-02-22 00:17:15Z 64bit)
I am going to try the latest version to see if I can replicate this. But generally speaking, how to troubleshoot this behavior?
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:29 PM, Michael Jerris <mike@jerris.com> wrote: How old of a version? I vaguely recall a bug in this quite a while back.
On Nov 2, 2016, at 3:10 PM, Muhammad Naseer Bhatti <nbhatti@gmail.com <mailto: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.
participants (5)
-
David Villasmil
-
John Covici
-
Michael Jerris
-
Muhammad Naseer Bhatti
-
Steven Ayre