wdoekes / asterisk-chan-dongle

chan_dongle channel driver for Huawei UMTS cards, works with Asterisk 14+
Other
299 stars 104 forks source link

Unable to send SMS message, error: Message: [dongle0] SMSDB error #177

Open hanyuanzhong opened 1 month ago

hanyuanzhong commented 1 month ago

hi @wdoekes I use a raspberry sent 4 b + huawei k3765 encryption dog, when I delete the/var/lib/asterisk/SMSDB sqlite3, and restart the asterisk after successfully send a text message, but my raspberries pie after the restart, They will report the error, I still need to manually delete the/var/lib/asterisk/SMSDB sqlite3, and restart the asterisk, this is what causes, what other solutions, please help me image

hanyuanzhong commented 1 month ago

你好@wdoekes 我使用的是树莓派4b+华为k3765加密狗,当我删除了/var/lib/asterisk/SMSDB sqlite3,并重启asterisk后,成功发送了短信,但是我的树莓派重启之后,就会报这个错误,我还是需要手动删除/var/lib/asterisk/SMSDB sqlite3,并重启asterisk,这是什么原因造成的,还有什么解决办法,请帮帮我 图像

I looked at the user and group of /var/lib/asterisk/smsdb.sqlite3 and it was root:root. On my other Raspberry PI 5 it was asterisk:asterisk. I don't know why on Raspberry PI 4b it was root. And I delete smsdb.sqlite3, and then restart asterisk, still root, and then I change this to asterisk:asterisk, restart again, can already send SMS,but why is it root on Raspberry PI 4, I don't know