[asterisk-users] Sending Email From the dialplan
Alexander Lopez
Alex.Lopez at OpSys.com
Sun Feb 25 19:39:11 MST 2007
Exten => alarm,1,System(/usr/local/bin/sendalarm.sh|email at address.com)
Or
Exten => alarm,1,AGI(sendalarm)
/usr/local/bin/sendalarm
#!/bin/sh
Mail -s "Alarm condition on PBX" $1 < /dev/null
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Al Bochter
> Sent: Sunday, February 25, 2007 9:20 PM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] Sending Email From the dialplan
>
> I have looked around with no luck.
>
> Does anyone know of a way to send an email from the dialplan.
> The system that I am working on has none thing to do with VoiceMail.
>
> This is something like the SMS command but using sending email
>
> I am working on a prepaid alarm dispatch program for Asterisk if
anyone
> has any input please let me know.
> I will be more than happy to write the code as Open Source for others
to
> use code. With help from the list.
>
> --
> Best regards,
>
> Al Bochter
> Bochter Services
> http://www.BochterServices.com/?t=Email
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list