Portech SMS Driver

Started by easyhugo, May 08, 2015, 10:24:21 AM

Previous topic - Next topic

easyhugo

Hi

i have written in the german forum about my probs with the protech driver but got no answer

Unable to load module "portech": portech: cannot open shared object file: No such file or directory
Unable to load module "portech.sms": portech.sms: cannot open shared object file: No such file or directory

my netxms is a 2.0 M4

in the russian forum a have found something else but i cant read russian sorry and google translate........anyway

so please and thx

Victor Kirhenshtein

Hi,

if you are using Linux (or other UNIX) you should use different format for SMSDriver:


<prefix>/lib/libnxsms_portech.so


for example if NetXMS is installed in /usr/local:


/usr/local/lib/libnxsms_portech.so


Best regards,
Victor

easyhugo

Hi

thx

please ad this to the wiki the info are a little bit unclear  ;)

now a new problem

Invalid option mode passed to SMS driver
SMS driver "/usr/lib/i386-linux-gnu/libnxsms_portech.so" initialization failed

SMSDrvConfig  host=192.168.50.200;login=voip;password=1234;mode=T

thx

easyhugo

hi

victor please help
i cant see the error

thx

Alex Kirhenshtein

Change SMSDrvConfig to
host=192.168.50.200;login=voip;password=1234;mode=TEXT

easyhugo

hi

sorry no success
i have tried with PDU and TEXT but no sms

the debug shows

[12-May-2015 18:28:20.692] [DEBUG] [CLSN-0] Message dump:
  ** 00D00000000000500000001800000002
  ** 00000066010000000000001600300036
  ** 00360034003300350035003300390031
  ** 00360000000000000000001A01000000
  ** 0000000C006E006500740078006D0073
  ** code=0x00D0 (CMD_SEND_SMS) flags=0x0000 id=24 size=80 numFields=2
  ** [   102] STRING   "0xxxxxxxxxxx"
  ** [    26] STRING   "netxms"

[12-May-2015 18:28:20.692] [DEBUG] [CLSN-0] Received message CMD_SEND_SMS
[12-May-2015 18:28:20.692] [DEBUG] ConfigReadStr: (cached) name=AllowDirectSMS value="1"
[12-May-2015 18:28:20.692] [DEBUG] [CLSN-0] Sending message CMD_REQUEST_COMPLETED
[12-May-2015 18:28:20.692] [DEBUG] [CLSN-0] Message dump:
  ** 001D0000000000200000001800000001
  ** 0000001C000000000000000000000000
  ** code=0x001D (CMD_REQUEST_COMPLETED) flags=0x0000 id=24 size=32 numFields=1
  ** [    28] INT32    0

[12-May-2015 18:28:20.692] [DEBUG] SMS sender: rcpt=0xxxxxxxxx text="netxms"
[12-May-2015 18:28:20.983] [DEBUG] ItemPoller: wakeup
[12-May-2015 18:28:20.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object netxms [100]
[12-May-2015 18:28:20.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.50 [107]
[12-May-2015 18:28:20.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.254 [109]
[12-May-2015 18:28:20.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.62 [132]
[12-May-2015 18:28:20.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object android-a95d64e2xxxxxxxxx.xxxxxxx.info [135]
[12-May-2015 18:28:20.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object android-7b4b2272bxxxxxxx.xxxxxxx.info [137]
[12-May-2015 18:28:20.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.51 [139]
[12-May-2015 18:28:20.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.200 [141]
[12-May-2015 18:28:21.983] [DEBUG] ItemPoller: wakeup
[12-May-2015 18:28:21.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object netxms [100]
[12-May-2015 18:28:21.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.50 [107]
[12-May-2015 18:28:21.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.254 [109]
[12-May-2015 18:28:21.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.62 [132]
[12-May-2015 18:28:21.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object android-a95d64e2xxxxxxxx.xxxxx.info [135]
[12-May-2015 18:28:21.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object android-7b4b22xxxxxxxxx.xxxxx.info [137]
[12-May-2015 18:28:21.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.51 [139]
[12-May-2015 18:28:21.983] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.200 [141]
[12-May-2015 18:28:22.684] [DEBUG] AccountStatusUpdater: wakeup
[12-May-2015 18:28:22.684] [DEBUG] ConfigReadStr: (cached) name=BlockInactiveUserAccounts value="0"
[12-May-2015 18:28:22.962] [DEBUG] Job Manager: checking queues
[12-May-2015 18:28:22.964] [DEBUG] Updating maps...
[12-May-2015 18:28:22.964] [DEBUG] Map update completed
[12-May-2015 18:28:22.966] [DEBUG] [CLSN-0] Sending message CMD_KEEPALIVE
[12-May-2015 18:28:22.966] [DEBUG] [CLSN-0] Message dump:
  ** 00030000000000200000000000000001
  ** 0000005E000000005552464600000000
  ** code=0x0003 (CMD_KEEPALIVE) flags=0x0000 id=0 size=32 numFields=1
  ** [    94] INT32    1431455302

[12-May-2015 18:28:22.967] [DEBUG] ++++ ServiceContainer::updateUptimeStats() m_downtimeDay 0, timediffTillNow 66502, downtimeBetweenPolls 0
[12-May-2015 18:28:22.967] [DEBUG] ++++ ServiceContainer::updateUptimeStats() [9] 100.000000 100.000000 100.000000
[12-May-2015 18:28:22.984] [DEBUG] ItemPoller: wakeup
[12-May-2015 18:28:22.984] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object netxms [100]
[12-May-2015 18:28:22.984] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.50 [107]
[12-May-2015 18:28:22.984] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.254 [109]
[12-May-2015 18:28:22.984] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.62 [132]
[12-May-2015 18:28:22.984] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object android-a95d64e26xxxxxx.xxxxx.info [135]
[12-May-2015 18:28:22.984] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object android-7b4b2272bxxxxxxx.xxxxx.info [137]
[12-May-2015 18:28:22.984] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.51 [139]
[12-May-2015 18:28:22.984] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object 192.168.50.200 [141]
[12-May-2015 18:28:23.002] [DEBUG] Syncer: 47 objects to process
[12-May-2015 18:28:23.003] [DEBUG] Syncer: save objects completed
[12-May-2015 18:28:23.042] [DEBUG] Sending SMS (text mode): rcpt="0XXXXXXXXXXX" text="netxms"
[12-May-2015 18:28:23.984] [DEBUG] ItemPoller: wakeup
[12-May-2015 18:28:23.984] [DEBUG] ItemPoller: calling DataCollectionTarget::queueItemsForPolling for object netxms [100]
[12-May-2015 18:28:23.984] [DEBUG] DataCollector(): processing DC object 1 "Status" owner=100 proxy=0



i have also tried the phone number +43