exten => 12345,1,System(echo "${DATETIME}: ${CALLERID} wollte was von dir." > /tmp/asteriskmail)
exten => 12345,2,System(nail -s Anrufbenachrichtigung [email][email protected][/email] < /tmp/asteriskmail)
exten => 12345,1,System(echo "${DATETIME}: ${CALLERID} wollte was von dir." | nail -s Anrufbenachrichtigung [email][email protected][/email] -)
wrrdlbrrmpft schrieb:Code:exten => 12345,1,System(echo "${DATETIME}: ${CALLERID} wollte was von dir." | nail -s Anrufbenachrichtigung [email][email protected][/email] -)
exten => 1234,1,System(echo "${DATETIME}: ${CALLERID} wollte was von dir." | mail -s Anrufbenachrichtigung user@host )
exten=>12345,2,System(printf "To:[email protected]\nSubject:${DATETIME}: ${CALLERID} wollte was\n\nContent...\n\n" | ssmtp -t )
exten => 3005,1,Dial(SIP/user)
exten => 3005,2,Voicemail(u3005)
exten => 3005,1,System(echo "${DATETIME}: ${CALLERID} wollte was von dir." | mail -s Anrufbenachrichtigung [email][email protected][/email] )