Asterisk conf 內如何自動delete sms?
成日收爆之後就收唔到SMS, 要人手行 AT+CMGD=1,4
有冇計加去個 sms-incoming 個script 果度?
exten => sms,1,Noop(Incoming SMS from ${CALLERID(num)} ${BASE64_DECODE(${SMS_BASE64})})
exten => sms,2,System(echo "Subject: SMS received from ${CALLERID(num)}" > /var/log/asterisk/smsmail)
exten => sms,3,System(echo " " >> /var/log/asterisk/smsmail)
exten => sms,4,System(echo "${BASE64_DECODE(${SMS_BASE64})}" >> /var/log/asterisk/smsmail)
exten => sms,n,Hangup()
而家係咁.... |