[asterisk-users] Trigger and Email in Dial Plan
Alexander Lopez
Alex.Lopez at OpSys.com
Sun Apr 1 21:18:24 MST 2007
Put this in the incoming context for that number called.
Exten => s,1,Wait(1)
Exten => s.2.System("mail -s 'Smitty called from ${CALLERID(all)'
you at email.com")
Exten => s,3,Congestion
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Robert
DeVries
Sent: Sunday, April 01, 2007 11:35 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Trigger and Email in Dial Plan
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."
Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070401/f72c87d8/attachment.htm
More information about the asterisk-users
mailing list