FYI...I just rec'd a web trigger @ 5:43 PT w/no data. Was'nt trigger from my end so maybe someone testing?
Hi Ed - Thannks for the help and apologize if I am missing the obvious. I'm a weekend hacker and not great at Linux. For reference I'm running on a Raspberry PI with the network address 10.0.0.63. The OS is Debian. I'm using a Obi200 as a VOIP server. I changed the command line because it didn't seem to be targetting the right server even though it seemed to see the calls. Not sure how as I have no 127.x.x.x in my environment. Maybe you or someone can explain this. Attached are the following files...
Still working on this and I beleive I'm closer just not getting the curl post command to work. When I launch I now get the following: root@raspberrypi:/etc/ncid# sudo ncid 10.0.0.63:3333 -v 3 -m ncid-web Command line: /usr/bin/ncid 10.0.0.63:3333 -v 3 -m ncid-web Client: ncid-web [raspberrypi] NCID 1.11 Command line mode Verbose Level: 3 Interpreter: /usr/bin/tclsh Default Host: 127.0.0.1 Default Port: 3333 Operating System Encoding: utf-8 Log Directory: /root/NCID/client Log File: ncid-raspberrypi.log...
Still working on this and I beleive I'm closer just not getting the curl post command to work. When I launch I now get teh floowing: root@raspberrypi:/etc/ncid# sudo ncid 10.0.0.63:3333 -v 3 -m ncid-web Command line: /usr/bin/ncid 10.0.0.63:3333 -v 3 -m ncid-web Client: ncid-web [raspberrypi] NCID 1.11 Command line mode Verbose Level: 3 Interpreter: /usr/bin/tclsh Default Host: 127.0.0.1 Default Port: 3333 Operating System Encoding: utf-8 Log Directory: /root/NCID/client Log File: ncid-raspberrypi.log...
Hi John & Ed - I cleaned up the ncid-web eliminating the web-prowl unneeded content. A copy is attached. I did not add any of the varibles to pass in the curl post call yet because testing shows it's not making the simple url only call yet. In the body it says the correct method to launch is "ncid –no-gui [–message] –program ncid-web" First I found that you need ncid –-no-gui (two dashes) in front of this. and when I run it, I now get the following: pi@raspberrypi:/etc/ncid $ sudo ncid –no-gui [–message]...
Hi John - I think I'm close. I created a ncid-web module by modifying a ncid-prowl module and using a curl post command. New module looks like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44#!/bin/sh # ncid-prowl Output Module # Modify as needed for new module # keep “ncid-” in the name # input is 5 lines obtained from ncid # input: DATEnTIMEnNUMBERnNAMEnLINEn # # input is 5 lines if a message was sent # input: nnnMESSAGEnn...
Fantastic thanks for the information John. I’m not a developer but do my best as a simple hobbyist. I’ll reference the documents and see what I can do. Thanks again! Allen Arguijo On Mon, Apr 6, 2020 at 8:33 AM -0700, "John L. Chmielewski" jlc@users.sourceforge.net wrote: Hi Allen, NCID does not need to be enhanced but you do need to write a script to pass the data to the server. You can write a script to grab the last line of the call log and create variables from the fields when the server receives...
Hi - Does anyone know if you can enhance NCID to pass NCID varibles in a HTTP Post request? If so, we could pass them to IFTTT and easily show alerts on smart devices. Thx, AAADiver