What ping-min and ping-max settings are you using? It keeps a counter representing the number of successful and failed pings. If it drops too low the gateway is marked as down and if it's high it's marked as back up. As a result it can handle the occasional dropped ping as long as it's not several in a row. ping-min=3 and ping-max=5 seem to work well. On 22 December 2015 at 07:02, <covici@ccs.covici.com> wrote:
I have had a lot of problems with those options ping, if one should fail it seems to have trouble recovering the gateway after that.
Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
Why don't you define them as gateways? On 22 Dec 2015 05:10, "John Nash" <john.nash778@gmail.com> wrote:
My setup is ..
Opensips A ----> Freeswitch ---> Opensips B
In freeswitch dialing plan I am using Bridge command to connect Incoming call from Opensips A to Opensips B
Is there any way Freeswitch can ping (using options) both A and B opensips to check if they are alive? . From documentation I see that we can enable ping for all "Registered" endpoints as well as "Gateways" but i am unable to figure out how I can use them in my scenario as no end point registers to Freeswitch and not using gateways also (I simply give IP of opensips B in bridge command)
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
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ 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