NetXMS Support Forum

English Support => General Support => Topic started by: glux on November 23, 2015, 11:32:58 PM

Title: Sending SMS - problem setting SMS center number
Post by: glux on November 23, 2015, 11:32:58 PM
Hi,

i have problem with AT command setting to send SMS. I need after ATZ set SMS center number (AT+CSCA="00420602909909"). Currently my logs contains this:


[23-Nov-2015 22:24:17.782] [DEBUG] SMS: send to {602620026}: {test6}
[23-Nov-2015 22:24:20.385] [DEBUG] SMS: ReadToOK: readToMark returned -1
[23-Nov-2015 22:24:20.495] [DEBUG] SMS: ATZ sent, got OK
[23-Nov-2015 22:24:20.601] [DEBUG] SMS: ATE0 sent, got OK
[23-Nov-2015 22:24:20.706] [DEBUG] SMS: AT+CMGF=1 sent, got OK
[23-Nov-2015 22:24:20.812] [DEBUG] SMS: wrong response to AT+CMGS="XXXXXXXXX" (ERROR: 330
)


GSM error 330 is missing SMS center number, and my GSM modem does not allow to save it to profile with AT+CSAS...

How to add custom AT init command (AT+CSCA="00420602909909") after ATZ?
Title: Re: Sending SMS - problem setting SMS center number
Post by: glux on November 23, 2015, 11:54:34 PM
Another solution can be try to restore saved profile: "AT+CRES"...
Title: Re: Sending SMS - problem setting SMS center number
Post by: Victor Kirhenshtein on November 24, 2015, 08:50:10 PM
Hi,

it will require changes in SMS driver. I've registered it as feature request (https://dev.raden.solutions/issues/1017 (https://dev.raden.solutions/issues/1017)) - change is easy so I hope I'll make it until 2.0 release.

Best regards,
Victor