[asterisk-users] Interesting email project.
--[ UxBoD ]--
uxbod at splatnix.net
Tue May 4 12:30:41 CDT 2010
----- Original Message -----
> mike mosier wrote:
> >
> > Hey all.
> >
> > My boss asked me to implement the following
> >
> > When DID 713xxxxxxx is dialed send an email to mmosier at xxx.com
> > <mailto:mmosier at xxx.com>. with the time date and CID included in the
> > email. I know how to code some but am looking for the best way to do
> > this.
> >
> > Sorry I might have asked this a couple months back. I forgot.
> >
> > Mmosier
> > Houston
> >
> > Respectfully
> > Michael D Mosier
> > Ftoc Certified
> >
>
> Here is the script I am using for email alert. Form Asterisk dialplan:
> exten => h,1,System(/path/to/the/script/emailnotice.sh
> "someone at gmail.com" "${CALLERID(num)}" "${CALLERID(name)}"
> "${DIALSTATUS}" "${VMSTATUS}" "${MYEXTEN}"
> "${STRFTIME(${EPOCH},,%Y/%m/%d %H:%M)}")
>
you could always use the PHP AGI interface to send the email and log information to a database ?
eg.
exten => h,1,AGI(sendemailandlog.php)
--
Thanks, Phil
More information about the asterisk-users
mailing list