File: Configuration

package info (click to toggle)
raccess4vbox3 0.2.8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,008 kB
  • ctags: 34
  • sloc: tcl: 703; sh: 154; makefile: 125
file content (99 lines) | stat: -rw-r--r-- 2,663 bytes parent folder | download | duplicates (2)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
G. Pape
vbox3
raccess4vbox3
-------------------------------------------------------------------------------

raccess4vbox3 - Configuration

-------------------------------------------------------------------------------
Path names may be wrong.

Choose a user to run a vbox3 voice box (e.g. 'phone').

Become root and create a spool directory for the user:

  $ su
  # mkdir /var/spool/vbox/phone
  # chown phone /var/spool/vbox/phone

Choose at least one ttyI to run a vboxgetty (ttyI4).

Choose at least one MSN to run a voice box (791357914 and 791357915).

Edit /etc/isdn/vbox/vboxgetty.conf and put Your MSNs into the value of
initnumber in section VBOXGETTY-TTY like this (see ttyI(4), AT commands &E and
&L):

  [VBOXGETTY-TTY]
  init          =       ATZ&B512
  initnumber    =       AT&L791357914;791357915

Add a section for each MSN like this:

  [VBOXGETTY-PHONE-791357914]
  user          =       phone
  group         =       phone
  umask         =       0077
  hdspace       =       5000000

Start the vboxgetty:

  * I recommend using daemontools to run vboxgetties, if You have them
    installed, add the account for running the multilog processes ('vboxlog'),
    change permissions and link the service directory

      # useradd vboxlog
      # chown -R vboxlog /etc/isdn/vbox/vboxgetty-ttyI?/log/main
      # ln -s /etc/isdn/vbox/vboxgetty-ttyI4 /service/


    Wait max 5 seconds for the service to start and check the log:

      # less /service/vboxgetty-ttyI4/log/main/current


  * If You do not use daemontools, add a line to /etc/inittab like this one:

      # cat >> /etc/inittab <<EOT
      I4:2345:respawn:vboxgetty -d /dev/ttyI4 -x FULL
      EOT


    and

      # kill -HUP 1


    Check the log:

      # less /var/log/vboxgetty-ttyI4.log



As user running this voice box change to Your spool directory:

  $ su - phone
  $ cd /var/spool/vbox/phone

and copy all files from the skel-directory:

  $ cp -pr /usr/share/isdn/vbox/skel/* .

Change permissions and edit raccess/answeringmachine to change the PIN to run
remote access mode (*1910#)

  $ chmod 600 raccess/answeringmachine
  $ vi raccess/answeringmachine

Try out Your vbox3 voice box.

Take a look at the configuration files in Your spool directory. You can edit
them now or later for individual configuration. You can put Your own
standard.ulaw and beep.ulaw and other messages in msg/ now or later.

See Configuration files for more information about the configuration files of
raccess4vbox3.
-------------------------------------------------------------------------------

Gerrit Pape <pape@smarden.org>
$Id: Configuration,v 1.8 2003/10/17 12:55:51 pape Exp $