hi everybody! I want my ros to receive sms,I use usb cdma modem and it didn’t work.And then I try vmware with my cdma modem’s com port ,when I try to set receive-enabled=yes,I got a message “ERROR”.But in “system serial-terminal” using that port, when i typed “at”, it return “OK”,and I tried to send a sms to that number,It responded.
And now I’m planing to buy a cdma moden with COM port(see my uploaded pic), but I’m not real sure it will work or not.May be someone can recommend me one?
By the way,sms receiving need to set “secret” and “allowed-number”, actually I’m not using “sms receive” to execute script,I just want to use it to receive any message from any number.So…If one number send a message without the secret and the number is not the allowed-number,will that message stored in “inbox” ? Thank you !!
Try to send a sms from mikrotik to your mobile number first, to confirm connection status. Enable debug logging for gsm and check logs afterwards. Make sure that ppp connection is disabled when you are sending sms, because the connection channel must be free. Try a different 3G modem and sim card.
system logging add topics=gsm,debughttp://wiki.mikrotik.com/wiki/Supported_Hardware#3G_cards
Thank you ohara ~ I turn the debug and got this message
echo: gsm,write,debug
echo: gsm,write,debug AT
echo: gsm,write,debug
echo: gsm,read,debug AT
echo: gsm,read,debug OK
echo: gsm,write,debug AT+CMGF=0
echo: gsm,write,debug
echo: gsm,read,debug AT+CMGF=0
echo: gsm,read,debug ERROR
It didn’t work because “AT+CMGF=0” is not supported by the modem,“0” means use PDU mode to send or recevie message . I think I should find another modem