On Mon, 2016-11-28 at 14:31 +0100, tux john wrote:> Hi. i am running asterisk 11 in debian and i would like have a missed
> call notification down to extension level.
> so if i get a missed call to extension 6589 then send an email to the
> user's email address with a subject and a text message.
> is there a guide on how to create something like that?
>From my extensions.conf
exten => h,1,GotoIf($["${DIALSTATUS}" = "ANSWER"]?done)
exten => h,n,System(echo "Missed Call from ${CALLERID(num)}" | mail
-s
"Missed Call from ${CALLERID(num)}" myemailaddress at
myemailprovider.com)
exten => h,n(done),NoOp()