[Freeswitch-users] How to execute lua script on register?

Peter Steinbach lists at telefaks.de
Fri Jan 2 16:36:57 MSK 2015


We monitor registrations (internal and external) via event socket (esl).
We subscribe on the register events (all needed data is in there) and
then store the results into memcache, grouped by internal/external and
successfull/unsuccessfull registers. Then writing a Nagios or a Munin
plugin is rather easy with any programming language, as you only need to
generate some console output.

Best regards
Peter


On 01/01/15 02:13, Luis Daniel Lucio Quiroz wrote:
> Sorry for late answer
>
> You may put a nagios and do active or even better passive monitoring. 
> That way if someone gets unregistered and shouldnt you will bet an allert.
>
> 2014-12-26 3:34 GMT-05:00 <poliv78 at yahoo.co.uk
> <mailto:poliv78 at yahoo.co.uk>>:
>
>     ????????????, Luis.
>            Yes, you are right. Can you please tell how to do that?
>     With event socket?
>
>     ?? ?????? 25 ??????? 2014 ?., 23:24:12:
>
>
>     	Are you trying to do monitoring? If you are, there are easier
>     ways to do that
>     On Dec 25, 2014 1:21 PM, <poliv78 at yahoo.co.uk
>     <mailto:poliv78 at yahoo.co.uk>> wrote:
>     Hi all
>
>     Is it possible to execute lua script when gateway try to register
>      to know if it successfull or failed?
>
>      The same question as for internal users.
>      Thanks.
>
>
>     --
>     ? ?????????,
>      Poliv78                          mailto:poliv78 at yahoo.co.uk
>     <mailto:poliv78 at yahoo.co.uk>
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto: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
>     <mailto: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
>
>
>
>
>
>     /-- 
>     ? ?????????,
>      Poliv78                          /mailto:poliv78 at yahoo.co.uk
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto: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
>     <mailto: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
>
>
>
>
> _________________________________________________________________________
> 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


-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150102/6f4f8b2c/attachment-0001.html 


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