Hello,
what is the best way to implement email notification on missed call ?
So far, I have been using a solution that I hacked together. I create a
hangup-handler, inside which I check for "${DIALSTATUS}" and use System():
System(/bin/echo ... | /usr/bin/mail ....)
I have pasted the block here, for better formating:
https://pastebin.com/Sf8raPD6
My question is:
Do I have to call external echo and pipe it to mail command?
Does asterisk not have some internal function to send email ?
It does so for voicemail.
Is there perhaps a better way to this than described above ?
thanks,
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users