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)}" [email protected])

exten => h,n(done),NoOp()



-- 
_____________________________________________________________________
-- 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

Reply via email to