[Freeswitch-users] ESL event on OPTIONS fail

Tanguy phenix at vfemail.net
Wed Oct 5 19:17:50 MSD 2016


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 at vfemail.net 
> <mailto:phenix at 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 at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at 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 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/20161005/053a2a93/attachment.html 


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