如何在 Elastix 1.5 中设置“监控中继故障”功能特征?
我不知道在哪里保存脚本或如何在此字段中链接它。我在另一个网站上找到了这个脚本,我觉得它可以很好地满足我需要它做的事情,只需在卡车停下来时通过电子邮件提醒我即可。
#!/bin/bash
echo "You're screwed, the trunk you bought is down"|mail -s "You have a problem" [email protected]
I dont know where to save the script or how to link it in this field. I found this script on a different website, and I feel that it would work fine for what I need it to do, just alert me via email when the truck is down.
#!/bin/bash
echo "You're screwed, the trunk you bought is down"|mail -s "You have a problem" [email protected]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要将 AGI 脚本放入目录
/var/lib/asterisk/agi-bin
并确保它可以使用 $chmod +x 执行,
然后将脚本的全名放入框中,并通过复选框启用它。
You need to put the AGI script into the directory
/var/lib/asterisk/agi-bin
and make sure it's executable with $chmod +x
Then put the full name to the script into the box, and enable it with the checkbox.