1NCID-SKEL(1) NCID NCID-SKEL(1)
2
3
4
6 ncid-skel
7
9 ncid --no-gui --module ncid-skel
10
12 The ncid-skel output module is used as a template for writing a shell
13 script output module. All it does is send the Caller ID data to stan‐
14 dard output. This makes it useful for troubleshooting.
15
17 The ncid-skel output module is configured in ncid-skel.conf.
18
19 allowed_types
20 This sets the NCID call and/or message types ncid-skel will
21 send. See ncid-skel.conf for a complete list.
22
23 Default: allowed_types="ALLTYPES"
24
25 skel_raw If set to 0, data will be shown as a single horizontal line.
26
27 If set to 1, data will also be formatted vertically, one line
28 per input received.
29
30 Default: skel_raw=0
31
33 run ncid-skel with ncid in a terminal window to view output:
34 ncid --no-gui --module ncid-skel
35
37 /etc/ncid/conf.d/ncid-skel.conf
38 /usr/share/ncid/modules/ncid-skel
39
41 Modify ncid-skel as required and rename it to create a custom module.
42 There are three ways to test the custom module.
43
44 If you have source you can use ncid/test/test-client. This is the pre‐
45 ferred method.
46
47 If you do not have source, the custom module can be tested by executing
48 the shell script directly and inputting data.
49
50 The command line for a new custom module called ncid-custom:
51 /usr/share/ncid/modules/ncid-custom
52
53 The module expects 7 lines of input:
54 DATE
55 TIME
56 NMBR
57 LINE
58 TYPE
59 MESG
60 MTYPE
61
62 TYPE must be a valid, but all others can have any input or no input.
63
64 Valid TYPES:
65 BLK - blocked incoming call
66 CID - incoming call
67 HUP - blacklisted hangup
68 MWI - message waiting
69 OUT - outgoing call
70 PID - Caller ID from a smart phone
71 PUT - smart phone outgoing call
72 RID - ring back when called number available
73 WID - incoming call waiting
74
75 The last method is execute "ncid --no-gui -m ncid-custom" and make a
76 call.
77
79 ncidd.8, ncid_modules.7, ncid.1, ncid.conf.5
80
81
82
83NCID 2019-08-17 NCID-SKEL(1)