Send SMS messages with an english vendor

Started by Abraxas, November 14, 2016, 04:40:52 PM

Previous topic - Next topic

Abraxas

Hi,

I would love to use the SMS feature of NetXMS, but as far as I can see the web driver works only with websms.ru, and they only have a russion version of the site.
Is there any otehr provider this driver works with (one that has an english site hopefully)?

Thanks,
Alex

Victor Kirhenshtein


Abraxas

That's awesome!

I upgraded to 2.0.6, but I have some problems with the driver.
If I configure only text2reach.sms as SMS driver it says it can't find the module, so I entered the full path:/usr/lib/x86_64-linux-gnu/netxms/smsdrv/text2reach.sms
Now when starting the server I get:
[ERROR] Unable to load module "/usr/lib/x86_64-linux-gnu/netxms/smsdrv/text2reach.sms": /usr/lib/x86_64-linux-gnu/netxms/smsdrv/text2reach.sms: undefined symbol: curl_easy_perform

Thanks,
Alex


Victor Kirhenshtein

Hi,

check if libcurl is installed and what version.

Best regards,
Victor

Abraxas

Thanks for the prompt reply!

I had libcurl3 installed, and when I saw the error I tried to install also libcurl3-dbg, libcurl3-gnutls and libcurl3-nss.

Abraxas

If I set the driver to websms it loads ok:
[25-Nov-2016 10:04:24.787] [DEBUG] WebSMS: driver loaded
[25-Nov-2016 10:04:24.800] [DEBUG] cURL version: libcurl/7.26.0 OpenSSL/1.0.1e zlib/1.2.7 libidn/1.25 libssh2/1.4.2 librtmp/2.3

But when I switch back to text2reach I still get the error:
[25-Nov-2016 10:06:13.134] [ERROR] Unable to load module "/usr/lib/x86_64-linux-gnu/netxms/smsdrv/text2reach.sms": /usr/lib/x86_64-linux-gnu/netxms/smsdrv/text2reach.sms: undefined symbol: curl_easy_perform



Victor Kirhenshtein

Hi,

there was a bug in text2reach driver build, so reference to libcurl was not added to driver's binary. It was fixed in version 2.1-M1 and upcoming 2.0.7. As workaround you can pre-load libcurl before starting netxmsd.

Best regards,
Victor

Abraxas

Awesome! It works :D

Thanks a lot for the help!