<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SMS problem]]></title><description><![CDATA[<p dir="auto">I have problem with sendin sms using Huawei USB dongle. Sometimes netxms send sms, sometimes not. I dont know why. My server config is:<br />
SMSDrvConfig: /dev/ttyUSB2,9600,8,N,1,T<br />
SMSDriver: /usr/lib/i386-linux-gnu/libnxsms_generic.so</p>
<p dir="auto">Debug level is 5.<br />
In log i can see:</p>
<pre><code>[15-Apr-2017 19:31:55.282] [DEBUG] *actions* Sending SMS to NUMBER1;NUMBER2: "MESSAGE"
[15-Apr-2017 19:31:55.282] [DEBUG] SMS sender: rcpt="NUMBER1" text="MESSAGE"
[15-Apr-2017 19:31:55.282] [DEBUG] SMS: send to {"NUMBER1"}: {"MESSAGE"}
[15-Apr-2017 19:31:57.887] [DEBUG] SMS: ReadToOK: readToMark returned -1
[15-Apr-2017 19:31:58.002] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:31:58.002] [DEBUG] SMS: ATZ sent, got OK
[15-Apr-2017 19:31:58.105] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
[15-Apr-2017 19:31:58.106] [DEBUG] SMS: ATE0 sent, got OK
[15-Apr-2017 19:31:58.308] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:31:58.309] [DEBUG] SMS: AT+CMGF=1 sent, got OK
[15-Apr-2017 19:32:02.845] [DEBUG] SMS: ReadToOK buffer content: '    +CMGS: 236    OK  '
[15-Apr-2017 19:32:02.845] [DEBUG] SMS: AT+CMGS + message body sent, got OK
[15-Apr-2017 19:32:02.846] [DEBUG] SMS: serial port closed

[15-Apr-2017 19:32:02.846] [DEBUG] SMS sender: rcpt="NUMBER2" text="MESSAGE"
[15-Apr-2017 19:32:02.846] [DEBUG] SMS: send to {"NUMBER2"}: {"MESSAGE"}
[15-Apr-2017 19:32:05.451] [DEBUG] SMS: ReadToOK: readToMark returned -1
[15-Apr-2017 19:32:05.567] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:05.568] [DEBUG] SMS: ATZ sent, got OK
[15-Apr-2017 19:32:05.670] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
[15-Apr-2017 19:32:05.670] [DEBUG] SMS: ATE0 sent, got OK
[15-Apr-2017 19:32:05.874] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:05.874] [DEBUG] SMS: AT+CMGF=1 sent, got OK
[15-Apr-2017 19:32:08.576] [DEBUG] SMS: serial port closed
[15-Apr-2017 19:32:08.576] [DEBUG] Failed to send SMS (will retry)
[15-Apr-2017 19:32:08.577] [DEBUG] SMS: send to {"NUMBER2"}: {"MESSAGE"}
[15-Apr-2017 19:32:11.179] [DEBUG] SMS: ReadToOK: readToMark returned -1
[15-Apr-2017 19:32:11.294] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:11.294] [DEBUG] SMS: ATZ sent, got OK
[15-Apr-2017 19:32:11.397] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
[15-Apr-2017 19:32:11.397] [DEBUG] SMS: ATE0 sent, got OK
[15-Apr-2017 19:32:11.600] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:11.600] [DEBUG] SMS: AT+CMGF=1 sent, got OK
[15-Apr-2017 19:32:14.286] [DEBUG] SMS: serial port closed
[15-Apr-2017 19:32:14.286] [DEBUG] Failed to send SMS (will retry)
[15-Apr-2017 19:32:14.287] [DEBUG] SMS: send to {"NUMBER2"}: {"MESSAGE"}
[15-Apr-2017 19:32:16.891] [DEBUG] SMS: ReadToOK: readToMark returned -1
[15-Apr-2017 19:32:17.005] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:17.005] [DEBUG] SMS: ATZ sent, got OK
[15-Apr-2017 19:32:17.107] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
[15-Apr-2017 19:32:17.107] [DEBUG] SMS: ATE0 sent, got OK
[15-Apr-2017 19:32:17.311] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
[15-Apr-2017 19:32:17.311] [DEBUG] SMS: AT+CMGF=1 sent, got OK
[15-Apr-2017 19:32:19.998] [DEBUG] SMS: serial port closed
[15-Apr-2017 19:32:19.998] [DEBUG] Failed to send SMS (will not retry)
[15-Apr-2017 19:32:19.998] [DEBUG] Failed to send SMS (complete failure)
[15-Apr-2017 19:32:19.999] [DEBUG] EVENT SYS_SMS_FAILURE [30] (ID:3292 F:0x0001 S:1 TAG:"") FROM aida: Unable to send SMS to phone "NUMBER2"
</code></pre>
<p dir="auto">I don't know why sms to first number is sent but to second not. But sometimes even sms to first number is not sent.</p>
<p dir="auto">Thanks for your help.</p>
]]></description><link>https://forum.netxms.org/topic/5015/sms-problem</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:30:51 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5015.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Apr 2017 17:40:35 GMT</pubDate><ttl>60</ttl></channel></rss>