1NCID-PAGE(1) NCID NCID-PAGE(1)
2
3
4
6 ncid-page - send a Caller ID or message to a cell phone, pager or other
7 email address
8
10 ncid --no-gui --module ncid-page
11
13 The ncid-page output module sends the Caller ID or message to a cell
14 phone, pager, or any other email address. It can have multiple email
15 addresses.
16
17 The module always sends the information as soon as the Caller ID is re‐
18 ceived.
19
20 The ncid-page module can be configured in ncid.conf to wait until a
21 specific number of rings before sending the Caller ID to a module when
22 using a modem that indicates RING, or it can send the Caller ID if the
23 call was unanswered or at the completion of the call when using a SIP
24 gateway. Do this by creating an ncid_page variable in ncid.conf.
25
26 The module requires PageTo in ncid-page.conf to be set to the SMS gate‐
27 way for your cell phone carrier.
28
29 List of SMS gateways:
30 https://en.wikipedia.org/wiki/List_of_SMS_gateways
31
33 The ncid-page output module is configured in ncid-page.conf.
34
35 allowed_types
36 This sets the NCID call and/or message types ncid-page will
37 send. See ncid-page.conf for a complete list.
38
39 Default: allowed_types="CID MSG"
40
41
42 IMPORTANT
43 If MSG is added to PageTypes and you are using the
44 rn2ncid gateway, you must configure reject in the
45 rn2ncid.conf file to avoid sending the message back to
46 NCID.
47
48 PageTo Required. Must be set to either the SMS gateway for your cell
49 phone carrier or an email address.
50
51 Default: PageTo=""
52
53 PageFrom This variable has no effect unless root runs ncid-page. If
54 set, it allows root to run ncid-page as another user.
55
56 Default: PageFrom=""
57
58 PageMail This variable sets the mail program to use in sending NCID
59 messages.
60
61 Default: PageMail="mail"
62
63 PageOpt This variable, if set provides a Subject line for sending
64 email.
65 PageOpt="" no subject line
66 PageOpt="NMBR" calling number subject line
67 PageOpt="NAME" calling name subject line
68 PageOpt="NONA" calling number and name subject line
69 PageOpt="NANO" calling name and number subject line
70
71 Default: PageOpt=""
72
74 mailx Can be another mail program with an optional subject line
75
76
77 MTA See https://en.wikipedia.org/wiki/Message_transfer_agent
78 Suggest a simple MTA like exim to send and receive mail.
79 The sendmail MTA is very good but hard to configure.
80 Use an SMTP program like SSMTP if you only need to send mail.
81
82 You can use ssmtp or exim to handle mail on the Raspberry Pi.
83 ssmtp: https://web.ar‐
84 chive.org/web/20140831073557/https://rpi.tnet.com/project/faqs/smtp
85 exim: http://www.sbprojects.com/projects/raspberrypi/exim4.php
86
87 To use google for outgoing mail, you need 2-step verification:
88 https://support.google.com/accounts/answer/180744
89
91 If you want to call a module on a certain ring count, you need to con‐
92 figure the module to set ring in the ncid.conf file.
93
94 ncid command line options to call ncid-page at ring number 4
95
96 ncid --no-gui --module ncid-page --ring 4
97
98 ncid.conf line and ncid command line to call ncid-page if no answer
99
100 uncomment the ncid_page line in ncid.conf and change 4 to -1
101 set ncid_page {set Ring -1}
102
103 ncid command to call ncid-page if no answer
104 ncid --no-gui --module ncid-page
105
107 /etc/ncid/conf.d/ncid-page.conf
108 /usr/share/ncid/modules/ncid-page
109
111 ncidd.8, ncid_modules.7, ncid.1, ncid.conf.5
112
113
114
115NCID 2022-01-9 NCID-PAGE(1)