[asterisk-users] email when certain numbers are called

Frank Vanoni mailinglist at linuxista.com
Mon Jan 15 07:00:41 CST 2018


On Mon, 2018-01-15 at 14:26 +0200, Atux Atux wrote:
> [DefaultPlan]
exten => _XXXXXXXXXX,1,System(echo "Dialed number ${EXTEN} on Asterisk
from ${CALLERID(num)}" | mail -s "Dialed number ${EXTEN} on Asterisk
from ${CALLERID(num)}" -a "From: Asterisk PBX <asterisk at yourdomain>" yo
uremail at address.com)
exten => _XXXXXXXXXX,2,Dial(SIP/VoipGate/${EXTEN},120,Tt)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180115/d2880fac/attachment.html>


More information about the asterisk-users mailing list