asterisk-chan-dongle icon indicating copy to clipboard operation
asterisk-chan-dongle copied to clipboard

Incoming SMS never recognized

Open KaitoCross opened this issue 6 years ago • 5 comments

Hey everyone! I am using a Huawei K3520 (voice works fine with this driver) and tried receiving sms using the example dialplan (i put it into the mail dialplan for the huawei) in the readme. But nothing is showing up in the textfile ever. How can i fix this?

KaitoCross avatar Aug 08 '18 16:08 KaitoCross

On top of that, whenever i send SMS, the log starts repeating the message [Aug 21 03:59:17] WARNING[30186][C-00000001] channel.c: Exceptionally long voice queue length queuing to Local/sms@dawei-00000000;2

KaitoCross avatar Aug 21 '18 02:08 KaitoCross

Did you enable smsaspdu?

Could you please post the payload from the +CMGR response? You can insert the following line to at_response.c#L1210 to print the CMGR to the asterisk console: ast_log(LOG_WARNING, "[%s] CMGR: %s\n", PVT_ID(pvt), str);

magcks avatar Feb 14 '20 10:02 magcks

@magcks could you please take a look at https://github.com/wdoekes/asterisk-chan-dongle/issues/121 Sounds like a similar issue. What is smsaspdu? I can't find an option like this

sergei-mironov avatar Oct 16 '20 20:10 sergei-mironov

Smsaspdu was an option to force the modem to send PDU or text formatted messages. I removed this option as the text mode is very hard to maintain (you need multiple character checks, to determine if this message can actually be sent via text mode).

magcks avatar Oct 23 '20 08:10 magcks

Thanks, got it. I can find this option in some posts, it should be an older versions. But it turns out that my problem is not related to it.

sergei-mironov avatar Oct 23 '20 14:10 sergei-mironov