Displaying 1 result from an estimated 1 matches for "sms_to_email".
2012 Aug 17
0
OpenVox G400P SMS messages character set issues
...y
configuring an extension "sms" in the [from-gsm] context of my dialplan; this
gets called, with channel variables ${SMSTXT} and ${SMSSRC} defined, whenever
an SMS message arrives.
; ========== 8< ==========
[from-gsm]
...
exten => sms,1,NoOp(Incoming SMS)
exten => sms,2,AGI(sms_to_email.agi,${SMSTXT},${SMSSRC})
exten => sms,3,Hangup()
; ========== >8 ==========
The AGI script simply e-mails the SMS message text and sender's number to me.
--
AJS
Answers come *after* questions.