Ronald Wiplinger
2005-Apr-04 00:33 UTC
[Asterisk-Users] How to send email from the dial plan?
I would like to get a notice by email, if we run out of gateways! exten => _9011Z.,410,Busy exten => _9011Z.,411,EMAIL .... <= ???? How to? bye Ronald
Olle E. Johansson
2005-Apr-04 00:40 UTC
[Asterisk-Users] How to send email from the dial plan?
Ronald Wiplinger wrote:> I would like to get a notice by email, if we run out of gateways! > > exten => _9011Z.,410,Busy > exten => _9011Z.,411,EMAIL .... <= ???? How to?-= Info about application 'System' =- [Synopsis]: Execute a system command [Description]: System(command): Executes a command by using system(). Returns -1 on failure to execute the specified command. If the command itself executes but is in error, and if there exists a priority n + 101, where 'n' is the priority of the current instance, then the channel will be setup to continue at that priority level. Otherwise, System returns 0. /O