How to monitor a gateway for registration failure

Status
Not open for further replies.

stuck

New Member
Nov 12, 2016
7
0
1
52
Hi fellas,
does anyone know if fupbx has a feature to send email when a gateway registration fails?
Thanks in advance
 

stuck

New Member
Nov 12, 2016
7
0
1
52
Hi EasyBB,
I'm running on Jesse, my fs_cli is at /usr/loca/bin, so I've updated my script to /usr/local/bin/fs_cli
When I run it I get this...
Code:
sh: 1: mail: not found
sh: echo: I/O error
But my server sends voicemail to email and fax to email just fine...
Any hint's on how to make it run?
 

moteus

New Member
Nov 14, 2016
13
1
1
44
PHP script do not use FusionPBX settings. It uses shell `mail` command.
So I think if you want use it you have to configure your `mail` application
(have no idea how to do it).
My script uses same mechanism as e.g. VM to email. Also my script send only
one message when gw lost registration and does not repeat it each time when
gw fail register again. Also may be it does not work with `global` gateways.
Any improvments/suggestion are welcome.
 
Status
Not open for further replies.