SMS error

Started by praim, January 25, 2016, 09:43:30 PM

Previous topic - Next topic

praim

Hello i have netxms 2.0.1 on debian 8.2 jessie x64. I have problem with config USB modem. I have huawei K3765 on /dev/ttyUSB2
But i cannot send SMS. In log (debiglevel = 5) only see

SMS: send to {+420xxxxxxxxx}: {test}
[25-Jan-2016 20:33:31.663] [DEBUG] SMS: ReadToOK: readToMark returned -1
[25-Jan-2016 20:33:33.766] [DEBUG] SMS: ReadToOK: readToMark returned -1
[25-Jan-2016 20:33:33.766] [DEBUG] Failed to send SMS (will retry)
[25-Jan-2016 20:33:33.766] [DEBUG] SMS: send to {+420xxxxxxxxx}: {test}
[25-Jan-2016 20:33:36.388] [DEBUG] SMS: ReadToOK: readToMark returned -1
[25-Jan-2016 20:33:38.491] [DEBUG] SMS: ReadToOK: readToMark returned -1
[25-Jan-2016 20:33:38.491] [DEBUG] Failed to send SMS (will not retry)
[25-Jan-2016 20:33:38.491] [DEBUG] Failed to send SMS (complete failure)
[25-Jan-2016 20:33:38.491] [DEBUG] EVENT SYS_SMS_FAILURE [30] (ID:30 F:0x0001 S:1 TAG:"") FROM : Unable to send SMS to phone +420xxxxxxxxx


SMSDriver = /usr/lib/x86_64-linux-gnu/libnxsms_generic.so
SMSDrvConf = /dev/ttyUSB2,9600,8,N,1,T

In the previous version (i think it was 1.2.x) i didnt have problem with this configuration. Thanks for your help

Victor Kirhenshtein

Hi,

do you remember what exact version you were using before? From the log it seems that driver cannot receive anything from serial port, and there were no changes in driver code since 1.2.12.

Best regards,
Victor

praim

It was version 1.2.17.

praim


Alex Kirhenshtein

Verify it with screen (or minicom, etc.):

screen /dev/ttyUSB2 9600

Type "AT" and press Enter – you should get "OK".

(close screen – press Ctrl-A, then "K")

praim

#5
i try minicom and it wrote me OK