summaryrefslogtreecommitdiff
path: root/INSTALL
blob: 4f5d0cbd7f940497bc0fa004d1e703edd19326c7 (plain)
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
***********************************************************
*** Installation                                        ***
***********************************************************

  Unpack the archive somewhere:
  $ tar xvf vdradmin-VERSION.tar.bz2
  $ cd vdradmin-VERSION

	Now you have to deside wether you want to run vdradmin locally
	in this directory or install it into your system.

a) run locally
	First you have to configure vdradmin. This only has to be done once.
  $ ./vdradmind.pl --config

  Some questions about the configuration will asked.

	Now you're done and you can run vdradmin:
	$ ./vdradmind.pl

b) install into system
	$ make install
	
	Now you have to configure vdradmin:
  $ vdradmind.pl --config

  Some questions about the configuration will asked.

	Now you're done and you can run vdradmin:
	$ vdradmind.pl

	If you want vdradmin to run automatically on system boot, you have
	to add a startup script to the wanted runlevel. Please consult your
	Linux distribution's documentation. Maybe you'll also find some help
	in vdradmin's "contrib" directory.


	No matter how you run vdradmin, you now can point your browser to
	the given parameters (e.g. http://localhost:8001).


***********************************************************
*** Hide vdradmin behind apache                         ***
***********************************************************

  you will need apache with mod_proxy and these lines in httpd.conf:

  <IfModule mod_proxy.c>
    ProxyRequests Off
    ProxyPass /vdradmin/ http://127.0.0.1:8001/
  </IfModule>

***********************************************************
*** Hint from Martin Neuditschko for apache2 (untested) ***
***********************************************************

  I have summarized the needed changes for my Apache (Apache2, SuSE 8.2):
  Following modules have to be activated additionally:
  proxy, html_proxy, rewrite

  Following has to be added to the httpd.conf:
  <VirtualHost *>
    RewriteEngine On
    RewriteRule ^/vdradmin(.*) http://localhost:8001$1 [P,L]
  </VirtualHost>

***********************************************************
*** See who's calling (you need an ISDN card for this)  ***
***********************************************************

  Insert this in your isdn.conf:

  [MSN]
  NUMBER = <yourmsn>
  START = {
    [FLAG]
    FLAGS = I|O|R
    PROGRAM = /path/to/vdradmind.pl --displaycall "Call from \$2"
  }

  Restart isdnlog.