I wanted to do something similar a couple of years ago... in my case I
wanted to send notification over Pushover service.  I ended up re-writing
the notification feature of AstLinux.  Previously each service that
needs to send a notification did it on their own.  I centralized it all
into a single "system-notify" script that handled email and pushover
directly, but also allows for a user script... which is what you would want
to use, in my case I used the user script to add SMS via a netgear LTE
gateway.

My system-notify script is at
https://github.com/dkerr64/astlinux/blob/develop/project/astlinux/target_skeleton/usr/sbin/system-notify

But there are significant ancillary changes required across many
system services to use this.  Every service needs to be re-written to call
this script rather than handle notification itself.  I have done it in my
branch of AstLinux, but it has not been merged into the mainline.  That is
something that Lonnie would have to do if he wanted it.

David.

On Tue, Feb 21, 2023 at 7:29 PM Gonzalo <goniba...@hotmail.com> wrote:

> Hi,
>
> This message is to ask if adding Telegram (or similar messaging
> applications) integration to Astlinux in addition to currently available
> mail ones would be something possible in the near future.
>
> I use them with custom scripts and with Monit which is quite easy to
> achieve via Telegram API by executing a simple command line, but I'd like
> to do the same from asterisk-sip-monitor script (for example) which I think
> should be pretty easy with a few little modifications but as it's generated
> on boot time based on GUI configuration I haven't been able to get it
> working (if there's some way to customize that script please let me know).
>
> Also I think providing notifications via some messaging apps would add
> more flexibility.
>
> Thanks for your incredible work.
>
> Regards.
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to