<html><head></head><body><div>On Mon, 2018-01-15 at 14:26 +0200, Atux Atux wrote:</div><div><br></div><blockquote type="cite"><div>[DefaultPlan]</div></blockquote><div><br></div><div>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 <<a href="mailto:asterisk@yourdomain">asterisk@yourdomain</a>>" <a href="mailto:youremail@address.com">youremail@address.com</a>)</div><div><br></div><div>exten => _XXXXXXXXXX,2,Dial(SIP/VoipGate/${EXTEN},120,Tt)</div><div><br></div><div><br></div><div><br></div></body></html>