[GH-ISSUE #10] Can't send USSD Codes #8

Closed
opened 2026-03-04 12:10:51 +03:00 by kerem · 8 comments
Owner

Originally created by @bam80 on GitHub (Oct 1, 2023).
Original GitHub issue: https://github.com/4IceG/luci-app-sms-tool-js/issues/10

Can't send the USSD Code, get "TypeError: res.stdout is undefined" error:

image

Configuration:

image

Without "Sending USSD code in plain text" tick, it doesn't even try to send the Code.

Originally created by @bam80 on GitHub (Oct 1, 2023). Original GitHub issue: https://github.com/4IceG/luci-app-sms-tool-js/issues/10 Can't send the USSD Code, get "TypeError: res.stdout is undefined" error: ![image](https://github.com/4IceG/luci-app-sms-tool-js/assets/233979/e343e6b7-25dc-4f8d-b99b-c0e3bc0ca515) Configuration: ![image](https://github.com/4IceG/luci-app-sms-tool-js/assets/233979/0684625c-ec8c-49fe-852d-1d1c57d3f9c3) Without "Sending USSD code in plain text" tick, it doesn't even try to send the Code.
kerem closed this issue 2026-03-04 12:10:51 +03:00
Author
Owner

@4IceG commented on GitHub (Oct 1, 2023):

Sending USSD codes works. The error may be caused by the unavailability of the modem. Remember that the modem cannot have LTE set/forced.

I did not change anything in the option of sending codes, if they worked before and do not work now, it means that the modem settings have changed and they need to be adjusted.

<!-- gh-comment-id:1742103968 --> @4IceG commented on GitHub (Oct 1, 2023): Sending USSD codes works. The error may be caused by the unavailability of the modem. Remember that the modem cannot have LTE set/forced. I did not change anything in the option of sending codes, if they worked before and do not work now, it means that the modem settings have changed and they need to be adjusted.
Author
Owner

@bam80 commented on GitHub (Oct 1, 2023):

I'll check it again, but AFAIK the modem is available and connected to LTE as usual.

<!-- gh-comment-id:1742135811 --> @bam80 commented on GitHub (Oct 1, 2023): I'll check it again, but AFAIK the modem is available and connected to LTE as usual.
Author
Owner

@4IceG commented on GitHub (Oct 1, 2023):

USSD codes do not work on LTE, the modem must be set to AUTO. If possible, reset the modem to default settings and then check.

<!-- gh-comment-id:1742137818 --> @4IceG commented on GitHub (Oct 1, 2023): USSD codes do not work on LTE, the modem must be set to AUTO. If possible, reset the modem to default settings and then check.
Author
Owner

@bam80 commented on GitHub (Oct 1, 2023):

Do you know the AT command to check?
The thing is it seems worked earlier on the same system with Quectel modem.
I didn't change modem settings (AFAIK), but upgraded OpenWrt and packages.
I have another system with the same configuration but different carrier, and USSD work there.

<!-- gh-comment-id:1742154660 --> @bam80 commented on GitHub (Oct 1, 2023): Do you know the AT command to check? The thing is it seems worked earlier on the same system with Quectel modem. I didn't change modem settings (AFAIK), but upgraded OpenWrt and packages. I have another system with the same configuration but different carrier, and USSD work there.
Author
Owner

@4IceG commented on GitHub (Oct 2, 2023):

Have you tried restarting the modem? Restore it to default settings?

I don't know what kind of modem it is, so I can't guess at commands, for Quectels these commands are known, and if not, they are easy to find.

<!-- gh-comment-id:1742375882 --> @4IceG commented on GitHub (Oct 2, 2023): Have you tried restarting the modem? Restore it to default settings? I don't know what kind of modem it is, so I can't guess at commands, for Quectels these commands are known, and if not, they are easy to find.
Author
Owner

@bam80 commented on GitHub (Oct 2, 2023):

Sorry I didn't put it clear - both system's are with Quectel modems.
I don't have the access right now, but wanted to prepare things to try later.

<!-- gh-comment-id:1742455317 --> @bam80 commented on GitHub (Oct 2, 2023): Sorry I didn't put it clear - both system's are with Quectel modems. I don't have the access right now, but wanted to prepare things to try later.
Author
Owner

@bam80 commented on GitHub (Oct 3, 2023):

Can I try to send USSD via CLI somehow?

<!-- gh-comment-id:1744823626 --> @bam80 commented on GitHub (Oct 3, 2023): Can I try to send USSD via CLI somehow?
Author
Owner

@4IceG commented on GitHub (Oct 3, 2023):

Can I try to send USSD via CLI somehow?

I don't know anything about being able to send USSD codes this way.

<!-- gh-comment-id:1744840611 --> @4IceG commented on GitHub (Oct 3, 2023): > Can I try to send USSD via CLI somehow? I don't know anything about being able to send USSD codes this way.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/luci-app-sms-tool-js#8
No description provided.