[asterisk-users] Trigger and Email in Dial Plan
tzafrir.cohen at xorcom.com
Sun Apr 1 21:17:05 MST 2007
On Sun, Apr 01, 2007 at 08:35:23PM -0700, Robert DeVries wrote:
> I have a friend traveling overseas. I want to allow him to call a number
> which will give him a busy signal (so no charge), but will then send me an
> email that he has called.
> I know how to use a call file to trigger a call (I created a callback system
> for myself when I traveled overseas a few months ago), but I don't know how
> to trigger an email. All I want is a simple message like "Smitty called."
Running something from inside Asterisk:
System(mail -s "Smitty called" your_alias)
(stdi is redirected from /dev/null, so this will not hang, right).
But it is even simpler from the script that generates the call file.
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users