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
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
It was version 1.2.17.
UP
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")
i try minicom and it wrote me OK