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 =>
_XXXXXXXXXX,1,Dial(SIP/VoipGate/${EXTEN},120,Tt)exten =>
_XXXXXXXXXX,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()
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20180115/a09e6678/attachment.html>