Hello I would like to real-time monitor network reliability for each extensions on multiples freeswitch servers ( no shared core or sofia database ). Using ESL i can monitor users registrations and network lost ( by catching unregister event thanks to all-reg-options-ping ) But is it possible to make ESL event for each OPTION packet without reply or even better make an event if the latency is above a predefined threshold ? Thanks
You want to set the ping-monitoring <param> on the <gateway> to "true".
From the source code: "if true then every gw ping result will fire a gateway status event"
On 3 October 2016 at 20:33, Tanguy <phenix@vfemail.net> wrote:
Hello
I would like to real-time monitor network reliability for each extensions on multiples freeswitch servers ( no shared core or sofia database ).
Using ESL i can monitor users registrations and network lost ( by catching unregister event thanks to all-reg-options-ping )
But is it possible to make ESL event for each OPTION packet without reply or even better make an event if the latency is above a predefined threshold ?
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
Hello Thanks for this answer. This did not exactly fit with my need because i want to monitor extensions, not gateway but you gave me clue to look sofia_handle_sip_r_options() function ( /src/mod/endpoints/mod_sofia/sofia.c ), i will try to do the same for extensions and maybe submit a patch. Best Regards On 04/10/2016 12:33, Steven Ayre wrote:
You want to set the ping-monitoring <param> on the <gateway> to "true".
From the source code: "if true then every gw ping result will fire a gateway status event"
On 3 October 2016 at 20:33, Tanguy <phenix@vfemail.net <mailto:phenix@vfemail.net>> wrote:
Hello
I would like to real-time monitor network reliability for each extensions on multiples freeswitch servers ( no shared core or sofia database ).
Using ESL i can monitor users registrations and network lost ( by catching unregister event thanks to all-reg-options-ping )
But is it possible to make ESL event for each OPTION packet without reply or even better make an event if the latency is above a predefined threshold ?
Thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
_________________________________________________________________________ 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
participants (2)
-
Steven Ayre
-
Tanguy