garronej / chan-dongle-extended

An extention for chan_dongle: PIN codes, multipart SMS, contacts.
https://garronej.github.io/chan-dongle-extended-pages/
23 stars 6 forks source link

Outgoing SMS not working #10

Open controloye opened 4 months ago

controloye commented 4 months ago

the command dongle send -i 867749018919971 -n 0312345678 -t CheckNow always rturns 0

following are logs - please advise.

SmsStack /dev/ttyUSB3 Sending text: SmsStack /dev/ttyUSB3 'CheckNow' SmsStack /dev/ttyUSB3 to: 0312345678, message id ( send date timestamp ): 1719316079887 +40m SmsStack /dev/ttyUSB3 Sending Message part 1/1 of message id: 1719316079887 +0ms lib/atBridge.js (AT) urc: \r\n^BOOT:18919971,0,0,0,20\r\n ( NOT forwarded to asterisk-chan-dongle ) +30s SmsStack /dev/ttyUSB3 Retry sending PDU +26s SystemState /dev/ttyUSB3 Signal strength tier change: 19, "–109 dBm to –53 dBm" -> 0, "<=-113 dBm" +8m lib/atBridge.js (AT) urc: \r\n^RSSI:0\r\n ( forwarded to asterisk-chan-dongle ) +28s lib/atBridge.js (AT) urc: \r\n^BOOT:18919971,0,0,0,20\r\n ( NOT forwarded to asterisk-chan-dongle ) +2s SystemState /dev/ttyUSB3 Signal strength tier change: 0, "<=-113 dBm" -> 19, "–109 dBm to –53 dBm" +3s lib/atBridge.js (AT) urc: \r\n^RSSI:19\r\n ( forwarded to asterisk-chan-dongle ) +986ms SystemState /dev/ttyUSB3 Signal strength tier change: 19, "–109 dBm to –53 dBm" -> 0, "<=-113 dBm" +9s lib/atBridge.js (AT) urc: \r\n^RSSI:0\r\n ( forwarded to asterisk-chan-dongle ) +9s SystemState /dev/ttyUSB3 Signal strength tier change: 0, "<=-113 dBm" -> 19, "–109 dBm to –53 dBm" +3s lib/atBridge.js (AT) urc: \r\n^RSSI:19\r\n ( forwarded to asterisk-chan-dongle ) +3s SmsStack /dev/ttyUSB3 Retry sending PDU +25s SystemState /dev/ttyUSB3 Signal strength tier change: 19, "–109 dBm to –53 dBm" -> 0, "<=-113 dBm" +3s lib/atBridge.js (AT) urc: \r\n^RSSI:0\r\n ( forwarded to asterisk-chan-dongle ) +3s SystemState /dev/ttyUSB3 Signal strength tier change: 0, "<=-113 dBm" -> 18, "–109 dBm to –53 dBm" +3s lib/atBridge.js (AT) urc: \r\n^RSSI:18\r\n ( forwarded to asterisk-chan-dongle ) +3s lib/atBridge.js (AT) urc: \r\n^BOOT:18919971,0,0,0,20\r\n ( NOT forwarded to asterisk-chan-dongle ) +11s SmsStack /dev/ttyUSB3 Send Message Error after 3, attempt: unknown error +25s [ Sip API handler ] :sendMessage 75901ms 127.0.0.1:48399 (local) <= 127.0.0.1:49236 (remote)

---Params: {"viaDongleImei":"867749018919971","toNumber":"0312345678","text":"CheckNow"} ---Response: {"success":false,"reason":"CANNOT SEND"}