Hi. I have an installation of asterisk 11 and i have ssmtp in the system to
send emails. I would like to get informed by email when someone dials a set
of numbers eg international calls or premium numbers with the country. my
dialplan is simple enough and it is the following:
[DefaultPlan]exten =>
_XX,1,Dial(SIP/VoipGate/${EXTEN},120,Tt)exten =>
_XX,1,Busy()
exten => _4XX,2,Answer()exten =>
_4XX,3,VoiceMail(${EXTEN}@BranchA,su)exten => _4XX,4,HangUp()exten =>
_4XX,102,Answer()exten => _4XX,103,VoiceMail(${EXTEN}@BranchA,sb)exten
=> _4XX,104,HangUp()
--
_
-- 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