Support forum
Add TopicThe fact that the AT+CUSD command only works 3 times out of 10 indicates that it is an issue with the modem or the network and not something that can be solved with a different modem setting. It could be caused by an incompatibility between the modem and the network or a firmware bug on the modem.
Have you tried the suggestions in my previous answer to see if that works?
If you want to use a specific modem setting then you can add that to the 'ModemInitializationEnd' setting in the advanced settings of the GSM Modem Gateway. For instance 'AT+CSCS="GSM"' to set the character set to GSM text (which should be the default setting).
Regards, Henk
4:05 pm
Can you help me with correct modem settings?
I saw that gsm.ussd work, but there are a lot of errors every time:
03.01.2024 13:36:17,"Sent","*205#","","","gsm.ussd","1","AT+CUSD=1,""*205#"",15
,1","","31.12.9999 23:59:59","23","GSM Modem Gateway","","","","200","Success: Message accepted by GSM modem gateway.","","","*23*:200","","","","","0"
3:59 pm
Thank you for answering.
I try spam AT+CUSD command. I sent 10 times this command via Diafaan and 3 times i get answer. 7 errors
It looks like a firmware issue with the GSM modem. The proper AT command to send a USSD request is the 'AT+CUSD=...' command. The full command 'AT+CUSD=1,"*205#",15' is the correct command to send USSD '*205#' to the network but this does not seem to work correctly on your modem.
The ATD (dial) command is not meant to send USSD commands but if it works on your modem then you can make this work with Diafaan SMS Server with the following steps:
- First you must set the 'PermitModemCommandMessages' option in the advanced settings of the GSM Modem Gateway to 'True'.
- When you have done that you can send a message with message type 'modem.command' and message text 'ATD*205#'. If it works, you will see the USSD response in the receive log.
Regards, Henk
2:31 pm
I send 3 different requests USSD via terminal:
ATD*205#
Answer: +CUSD: 2,"041C043E04390020043E0441043D043E0432043D043E04390020043D043E043C04350440003A00200039003200380030003500320032003600380030",72
ATD*100#
Answer: +CUSD: 2,"0032003000200440002E000A0049007400480065006C007000650072003A002000560050004E00200431043504370020043E043304400430043D043804470435043D04380439002E00200032003500200440002F0434002E0020041F043E0434043A043B044E044704380442044C003A0020002A0031003800320023",72
ATD*926#
Answer: +CUSD: 2,"0414043B044F00200441043C0435043D044B00200442043004400438044404300020043D0435043E04310445043E04340438043C043E0020043D04300431044004300442044C0020002A003100300035002A0033002300200432044B0437043E0432",72
I decoded it, and get info.
But when i trying send it via gsm.ussd via Diafaan SMS server Console, i get ERROR CME 100:
"SendTime","Status","To","Message","From","MessageType","MessageParts","PDU","UserId","UserInfo","ReceiveTime","GatewayId","GatewayName","GatewayList","ConnectorId","MessageId","StatusCode","StatusText","ErrorCode","ErrorText","ResultTrace","Accounting","Receipt","SendTLVList","ReceiptTLVList","ValidityPeriod"
"03.01.2024 12:20:16","Error","*205#","","","gsm.ussd","1","AT+CUSD=1,""*205#"",15
","1","","31.12.9999 23:59:59","19","Порт №2 Б1","","","","300","Error: USSD command not supported","100","CME error: Unknown or manufacturer specific error","*19*:300:100","","","","","0"
2:26 pm
SMS works and i can recieve them. But i cant send USSD command. I know command works, but it doesnt work in Diafaan
2:24 pm
Its support USSD command. When im trying send command AT+CUSD=1,"*205#" via terminal, one time get ERROR CME 100 and another time i received answer.
And i tried this command ATD*205# and its work perfect. So, maybe i need set modem settings?
Modem M35 Quectel
Hello Mike,
CME ERROR 100 is an error code from the modem that indicates that an unknown error has occurred. Since the modem does not specify a specify a specific error, it is difficult to say what the root cause of the error is.
It is possible that the modem does not support USSD commands but it is also possible that the network does not support this specific USSD command.
Regards, Henk
3:56 pm
Hello. I have some problems testing trial version. I add modem, its works. But when i trying send ussd command, there is some errors: The GSM Modem returned +CME ERROR: 100 (Unknown or manufacturer specific error) after the AT+CUSD=1,"*205#",15 command. (dest: *205#)
1 Guest(s)
Add Reply
Offline
Quote