GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NCID-SKEL(1) NCID NCID-SKEL(1)

ncid-skel

ncid --no-gui --module ncid-skel

The ncid-skel output module is used as a template for writing a shell script output module. All it does is send the Caller ID data to standard output. This makes it useful for troubleshooting.

The ncid-skel output module is configured in ncid-skel.conf.
allowed_types
This sets the NCID call and/or message types ncid-skel will send. See ncid-skel.conf for a complete list.

Default: allowed_types="ALLTYPES"

skel_raw
If set to 0, data will be shown as a single horizontal line.

If set to 1, data will also be formatted vertically, one line per input received.

Default: skel_raw=0

run ncid-skel with ncid in a terminal window to view output:
ncid --no-gui --module ncid-skel

/usr/local/etc/ncid/conf.d/ncid-skel.conf
/usr/local/share/ncid/modules/ncid-skel

Modify ncid-skel as required and rename it to create a custom module. There are three ways to test the custom module.

If you have source you can use ncid/test/test-client. This is the preferred method.

If you do not have source, the custom module can be tested by executing the shell script directly and inputting data.

The command line for a new custom module called ncid-custom:
/usr/local/share/ncid/modules/ncid-custom
The module expects 7 lines of input:
DATE
TIME
NMBR
LINE
TYPE
MESG
MTYPE

TYPE must be a valid, but all others can have any input or no input.

Valid TYPES:

BLK - blocked incoming call
CID - incoming call
HUP - blacklisted hangup
MWI - message waiting
OUT - outgoing call
PID - Caller ID from a smart phone
PUT - smart phone outgoing call
RID - ring back when called number available
WID - incoming call waiting

The last method is execute "ncid --no-gui -m ncid-custom" and make a call.

ncidd.8, ncid_modules.7, ncid.1, ncid.conf.5
2019-08-17 NCID

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.