Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
スクリプトを保存する場所や、このフィールドにリンクする方法がわかりません。このスクリプトは別の Web サイトで見つけましたが、必要な作業には問題なく機能すると思います。トラックが停止したときに電子メールで通知するだけです。
#!/bin/bash echo "You're screwed, the trunk you bought is down"|mail -s "You have a problem" email@domain.com
AGIスクリプトをディレクトリに配置する必要があります
/var/lib/アスタリスク/agi-bin
$chmod +x で実行可能であることを確認します
次に、スクリプトの完全な名前をボックスに入力し、チェックボックスで有効にします。