NetXMS Support Forum

English Support => General Support => Topic started by: Abraxas on November 14, 2016, 04:40:52 PM

Title: Send SMS messages with an english vendor
Post by: Abraxas on November 14, 2016, 04:40:52 PM
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
Title: Re: Send SMS messages with an english vendor
Post by: Victor Kirhenshtein on November 21, 2016, 10:14:45 AM
Hi,

there are also driver for text2reach (http://www.text2reach.com/?language=en).

Best regards,
Victor
Title: Re: Send SMS messages with an english vendor
Post by: Abraxas on November 22, 2016, 05:51:04 PM
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

Title: Re: Send SMS messages with an english vendor
Post by: Victor Kirhenshtein on November 22, 2016, 06:53:43 PM
Hi,

check if libcurl is installed and what version.

Best regards,
Victor
Title: Re: Send SMS messages with an english vendor
Post by: Abraxas on November 22, 2016, 09:52:36 PM
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.
Title: Re: Send SMS messages with an english vendor
Post by: Abraxas on November 25, 2016, 12:08:09 PM
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


Title: Re: Send SMS messages with an english vendor
Post by: Victor Kirhenshtein on November 25, 2016, 05:02:35 PM
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
Title: Re: Send SMS messages with an english vendor
Post by: Abraxas on November 28, 2016, 12:43:38 PM
Awesome! It works :D

Thanks a lot for the help!