<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Useful-Scripts</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/</link><description>Recent changes to Useful-Scripts</description><atom:link href="https://sourceforge.net/p/ncid/wiki/Useful-Scripts/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 15 Aug 2019 22:39:51 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ncid/wiki/Useful-Scripts/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Useful-Scripts page</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/?limit=25#8cdd</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Put Alex's &lt;code&gt;ncid-prog_gpio.sh&lt;/code&gt;and &lt;code&gt;ncid-run_prog.sh&lt;/code&gt; scripts in the main attachment list to make it easier to find.&lt;/p&gt;
&lt;p&gt;Added contributors to main descriptions.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Todd Andrews</dc:creator><pubDate>Thu, 15 Aug 2019 22:39:51 -0000</pubDate><guid>https://sourceforge.netdf94fd636d6d74e61c1a9648e63bf1eb71310f62</guid></item><item><title>Useful-Scripts modified by Todd Andrews</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -1,7 +1,7 @@
 Here is a Wiki page to share useful scripts you may have developed.
 Please attach them and add a description to this page.

-* **active-lines** &amp;lt;config file name&amp;gt;
+* **active-lines** &amp;lt;config file name&amp;gt;  (contributed by [Todd Andrews](https://sourceforge.net/p/ncid/wiki/Useful-Scripts/#7b24))
 &amp;gt; will show uncommented, non-blank lines in a config file. I put it in /usr/local/bin.
 &amp;gt; Example:
 &amp;gt; 
@@ -14,13 +14,13 @@
      set lineid = HOMERPi
      $
 &lt;br/&gt;
-* **blacklast**
-&amp;gt; will add the most recent call to your blacklist.  Handy when an annoying call comes in and you want to quickly and easily add it to the blacklist.  The blacklist entry is also date stamped so the message from NCID will let you know when you blacklisted it.  It's satisfying to see the message.
+* **blacklast**  (contributed by [Mike](https://sourceforge.net/p/ncid/wiki/Useful-Scripts/#6855/36e1))
+&amp;gt; will add the most recent call to your blacklist.  Handy when an annoying call comes in and you want to quickly and easily add it to the blacklist.  The blacklist entry is also date stamped so the message from NCID will let you know when you blacklisted it.  It's satisfying to see the message. 
 &lt;br/&gt;
-* **cidextract.py**
-&amp;gt; is another utility to help you manage your lists.  I park it in /etc/ncid/. It parses the white and black lists, and looks in /var/log/cidcall.log (or a different file you specify from the command line), and prints out a list of phone numbers that have rung your number and aren't currently in a list. I run it using Python 2.7 on Fedora Core 24 currently.  Only minor changes would be required for Python 3.x.
+* **cidextract.py**  (contributed by [MoxieMan](https://sourceforge.net/p/ncid/wiki/Useful-Scripts/#ee3f))
+&amp;gt; is another utility to help you manage your lists.  I park it in /etc/ncid/. It parses the white and black lists, and looks in /var/log/cidcall.log (or a different file you specify from the command line), and prints out a list of phone numbers that have rung your number and aren't currently in a list. I run it using Python 2.7 on Fedora Core 24 currently.  Only minor changes would be required for Python 3.x. 
 &lt;br/&gt;
-* **csv2alias.tar**
+* **csv2alias.tar**  (contributed by [Todd Andrews](https://sourceforge.net/p/ncid/wiki/Useful-Scripts/#81e5))
 &amp;gt; contains script csv2alias.sh to convert a CSV file to STDOUT in the format needed for ncidd.alias. Handles CSV files with and without the first row containing column headings. Also handles first and last names in separate columns. Safely parses escaped/embedded commas. Includes some sample .csv files. Run csv2alias.sh without any parameters to see usage. Requires [csvtk](https://github.com/shenwei356/csvtk/releases). Put csv2alias.sh and csvtk into /usr/local/bin. You need to be root to update ncidd.alias.
 &amp;gt; Example to read customer-list.csv and append directly to ncidd.alias, then force `ncidd` server to refresh the alias list in memory:
 &amp;gt; 
@@ -28,3 +28,5 @@
 &amp;gt;      # csv2alias.sh customer-list.csv Phone First Middle Last &amp;gt;&amp;gt; /etc/ncid/ncidd.alias
 &amp;gt;      # pkill -HUP ncidd
 &lt;br/&gt;
+* **ncid-prog_gpio.sh,  ncid-run_prog.sh**  (contributed by [Alex](https://sourceforge.net/p/ncid/wiki/Useful-Scripts/#a363))
+&amp;gt; Use Raspberry Pi to suppress the first ring when a call is on the blacklist.  Detailed instructions [below](https://sourceforge.net/p/ncid/wiki/Useful-Scripts/#a363).
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Todd Andrews</dc:creator><pubDate>Thu, 15 Aug 2019 22:35:38 -0000</pubDate><guid>https://sourceforge.net5b8b548fefb1c75eb2b2ca7324226a8528e21b84</guid></item><item><title>Useful-Scripts modified by Todd Andrews</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Todd Andrews</dc:creator><pubDate>Thu, 15 Aug 2019 21:59:19 -0000</pubDate><guid>https://sourceforge.netc52c8d69e0b726a3db8cc2265a208a9b70c5316b</guid></item><item><title>Discussion for Useful-Scripts page</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/?limit=25#81e5</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Added &lt;code&gt;csv2alias.tar&lt;/code&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Todd Andrews</dc:creator><pubDate>Thu, 15 Aug 2019 21:58:26 -0000</pubDate><guid>https://sourceforge.netf8fd4bed125e389d05f4e4f2f0534dd4f0e1f6d8</guid></item><item><title>Useful-Scripts modified by Todd Andrews</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -20,3 +20,11 @@
 * **cidextract.py**
 &amp;gt; is another utility to help you manage your lists.  I park it in /etc/ncid/. It parses the white and black lists, and looks in /var/log/cidcall.log (or a different file you specify from the command line), and prints out a list of phone numbers that have rung your number and aren't currently in a list. I run it using Python 2.7 on Fedora Core 24 currently.  Only minor changes would be required for Python 3.x.
 &lt;br/&gt;
+* **csv2alias.tar**
+&amp;gt; contains script csv2alias.sh to convert a CSV file to STDOUT in the format needed for ncidd.alias. Handles CSV files with and without the first row containing column headings. Also handles first and last names in separate columns. Safely parses escaped/embedded commas. Includes some sample .csv files. Run csv2alias.sh without any parameters to see usage. Requires [csvtk](https://github.com/shenwei356/csvtk/releases). Put csv2alias.sh and csvtk into /usr/local/bin. You need to be root to update ncidd.alias.
+&amp;gt; Example to read customer-list.csv and append directly to ncidd.alias, then force `ncidd` server to refresh the alias list in memory:
+&amp;gt; 
+&amp;gt;      $ sudo bash
+&amp;gt;      # csv2alias.sh customer-list.csv Phone First Middle Last &amp;gt;&amp;gt; /etc/ncid/ncidd.alias
+&amp;gt;      # pkill -HUP ncidd
+&lt;br/&gt;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Todd Andrews</dc:creator><pubDate>Thu, 15 Aug 2019 21:56:26 -0000</pubDate><guid>https://sourceforge.net6f5713bd604cf02ca89f7a2d459bfff82e04eb65</guid></item><item><title>Discussion for Useful-Scripts page</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/?limit=25#7b24</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Added &lt;code&gt;active-lines&lt;/code&gt; attachment and added alphabetically to top post. Converted to bulleted list.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Todd Andrews</dc:creator><pubDate>Sun, 06 May 2018 05:49:55 -0000</pubDate><guid>https://sourceforge.netdb1f603ec0544e92557314b63ccdecd860f0736c</guid></item><item><title>Useful-Scripts modified by Todd Andrews</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -1,12 +1,6 @@
 Here is a Wiki page to share useful scripts you may have developed.
 Please attach them and add a description to this page.

-* **blacklast**
-&amp;gt; will add the most recent call to your blacklist.  Handy when an annoying call comes in and you want to quickly and easily add it to the blacklist.  The blacklist entry is also date stamped so the message from NCID will let you know when you blacklisted it.  It's satisfying to see the message.
-&lt;br/&gt;
-* **cidextract.py**
-&amp;gt; is another utility to help you manage your lists.  I park it in /etc/ncid/. It parses the white and black lists, and looks in /var/log/cidcall.log (or a different file you specify from the command line), and prints out a list of phone numbers that have rung your number and aren't currently in a list. I run it using Python 2.7 on Fedora Core 24 currently.  Only minor changes would be required for Python 3.x.
-&lt;br/&gt;
 * **active-lines** &amp;lt;config file name&amp;gt;
 &amp;gt; will show uncommented, non-blank lines in a config file. I put it in /usr/local/bin.
 &amp;gt; Example:
@@ -19,3 +13,10 @@
      set cidlogmax = 500000
      set lineid = HOMERPi
      $
+&lt;br/&gt;
+* **blacklast**
+&amp;gt; will add the most recent call to your blacklist.  Handy when an annoying call comes in and you want to quickly and easily add it to the blacklist.  The blacklist entry is also date stamped so the message from NCID will let you know when you blacklisted it.  It's satisfying to see the message.
+&lt;br/&gt;
+* **cidextract.py**
+&amp;gt; is another utility to help you manage your lists.  I park it in /etc/ncid/. It parses the white and black lists, and looks in /var/log/cidcall.log (or a different file you specify from the command line), and prints out a list of phone numbers that have rung your number and aren't currently in a list. I run it using Python 2.7 on Fedora Core 24 currently.  Only minor changes would be required for Python 3.x.
+&lt;br/&gt;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Todd Andrews</dc:creator><pubDate>Sun, 06 May 2018 05:47:39 -0000</pubDate><guid>https://sourceforge.netaac375f41dd6be7d2d3e3cc732b27b48ee091f6c</guid></item><item><title>Useful-Scripts modified by Todd Andrews</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Todd Andrews</dc:creator><pubDate>Sun, 06 May 2018 05:46:03 -0000</pubDate><guid>https://sourceforge.net365db581aea25ec111abb49aa2adb7000a579a8f</guid></item><item><title>Useful-Scripts modified by Todd Andrews</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -1,6 +1,21 @@
 Here is a Wiki page to share useful scripts you may have developed.
 Please attach them and add a description to this page.

-"blacklast" will add the most recent call to your blacklist.  Handy when an annoying call comes in and you want to quickly and easily add it to the blacklist.  The blacklist entry is also date stamped so the message from NCID will let you know when you blacklisted it.  It's satisfying to see the message.
-
-"cidextract.py" is another utility to help you manage your lists.  I park it in /etc/ncid/. It parses the white and black lists, and looks in /var/log/cidcall.log (or a different file you specify from the command line), and prints out a list of phone numbers that have rung your number and aren't currently in a list. I run it using Python 2.7 on Fedora Core 24 currently.  Only minor changes would be required for Python 3.x.
+* **blacklast**
+&amp;gt; will add the most recent call to your blacklist.  Handy when an annoying call comes in and you want to quickly and easily add it to the blacklist.  The blacklist entry is also date stamped so the message from NCID will let you know when you blacklisted it.  It's satisfying to see the message.
+&lt;br/&gt;
+* **cidextract.py**
+&amp;gt; is another utility to help you manage your lists.  I park it in /etc/ncid/. It parses the white and black lists, and looks in /var/log/cidcall.log (or a different file you specify from the command line), and prints out a list of phone numbers that have rung your number and aren't currently in a list. I run it using Python 2.7 on Fedora Core 24 currently.  Only minor changes would be required for Python 3.x.
+&lt;br/&gt;
+* **active-lines** &amp;lt;config file name&amp;gt;
+&amp;gt; will show uncommented, non-blank lines in a config file. I put it in /usr/local/bin.
+&amp;gt; Example:
+&amp;gt; 
+&amp;gt;      $ active-lines /etc/ncid/ncidd.conf
+     set ttyport = /dev/ttyACM1              # Linux USB modem 1
+     set verbose = 7
+     send cidlog
+     send cidinfo
+     set cidlogmax = 500000
+     set lineid = HOMERPi
+     $
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Todd Andrews</dc:creator><pubDate>Sun, 06 May 2018 05:43:58 -0000</pubDate><guid>https://sourceforge.net0ed3e0505f4ae2f792fa248f2f050bfb66271c0e</guid></item><item><title>Discussion for Useful-Scripts page</title><link>https://sourceforge.net/p/ncid/wiki/Useful-Scripts/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ok thanks, the link is restored (this image is heberger on my site and i work on it ...)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex</dc:creator><pubDate>Mon, 12 Dec 2016 09:49:25 -0000</pubDate><guid>https://sourceforge.neta2815cc5000b84d713278842ea39b74cebf84391</guid></item></channel></rss>