fabioprado / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 0 forks source link

"Error parsing incoming sms message alert, disconnecting" for E173 #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
"Error parsing incoming sms message alert, disconnecting" for E173

Original issue reported on code.google.com by bg_...@mail.ru on 27 May 2011 at 5:01

GoogleCodeExporter commented 9 years ago
more exact message is 

Error parsing incoming sms message alert '+CMTI: "ME",-1', disconnecting

so, E173 sometimes report index -1 :)

What this mean? :)

Original comment by bg_...@mail.ru on 8 Jun 2011 at 3:46

GoogleCodeExporter commented 9 years ago
Try this:
 exten => sms,1,Noop(Incoming SMS from ${CALLERID(num)} ${BASE64_DECODE(${SMS_BASE64})})
 exten => sms,n,Set(USSD_MOD=${BASE64_DECODE(${USSD_BASE64})})
 exten => sms,n,System(echo '${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DONGLENAME} - ${CALLERID(num)}: ${REPLACE(USSD_MOD,\')}' >> /var/log/asterisk/sms.txt)
 exten => sms,n,Hangup()

Can you reproduce your problem with custom sms?

Original comment by aleksand...@gmail.com on 6 Oct 2011 at 2:51

GoogleCodeExporter commented 9 years ago
 Как я могу получить уведомление, когда для Астериск 10 будет готов данный продукт? Есть большая потребность.

Original comment by merenyas...@xorelse.com on 21 Nov 2011 at 9:47