added WEB-Interface to isdnrate
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.2 KiB |
|
@ -0,0 +1,78 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//SoftQuad Software//DTD HoTMetaL PRO 5.0::19981217::extensions to HTML 4.0//EN" "hmpro5.dtd">
|
||||
|
||||
<HTML>
|
||||
|
||||
<HEAD>
|
||||
<TITLE>Telefonkosten</TITLE>
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!--
|
||||
NS4 = document.layers ? 1 : 0;
|
||||
IE4 = document.all ? 1 : 0;
|
||||
ver4 = (NS4 || IE4) ? 1 : 0;
|
||||
function pl(img)
|
||||
{if(!ver4) return 0;
|
||||
var a=new Image(); a.src='./'+img+'.jpg'; return a;
|
||||
}
|
||||
eg0=pl("eg0");
|
||||
eg1=pl("eg1");
|
||||
gm0=pl("gm0");
|
||||
gm1=pl("gm1");
|
||||
info0=pl("info0");
|
||||
info1=pl("info1");
|
||||
function swap(what,on) {
|
||||
if(!ver4) return;
|
||||
var i=on?"1":"0";
|
||||
document[what].src=eval(what+i+'.src');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
|
||||
<STYLE TYPE="text/css">
|
||||
<!--
|
||||
.t {font-family:Sans Serif;font-size:10pt}
|
||||
.sm {font-family:Sans Serif;font-size:9pt}
|
||||
i {color:#000080}
|
||||
//h1 {font-family:Courier New,Courier}
|
||||
h1,h2,h3,h4,p,td,th,body { font-family:Sans Serif,Arial }
|
||||
-->
|
||||
</STYLE>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="#ffffe0">
|
||||
<H1 align="center">Telefonkosten</H1>
|
||||
<P><I>Wieviel</I> kostet ein <I>wie</I> langes Telefongespräch von <I>wo</I> <I>wohin</I> um <I>welche</I> Zeit
|
||||
mit <I>welchem</I> Telefonprovider und <I>warum</I> eigentlich? <I>Wie</I> teuer kommt mir ein bestimmter Gesprächsmix zu
|
||||
verschiedenen Zielen?</P>
|
||||
<P>Und vorallem: "<I>Wer</I> ist dabei der billigste?"</P>
|
||||
<P>Das und vieles mehr erfahren Sie hier übersichtlich aufbereitet in Tabellen und Grafiken.</P>
|
||||
<BLOCKQUOTE><table><tr><td>
|
||||
<P><A HREF="/cgi-bin/isdnrate" ONMOUSEOVER="swap('eg',1)"
|
||||
ONMOUSEOUT="swap('eg',0)"><b>Einzelgespräche</b></A><A HREF="/cgi-bin/isdnrate" ONMOUSEOVER="swap('eg',1)"
|
||||
ONMOUSEOUT="swap('eg',0)"><IMG SRC="eg0.jpg" ALT="Einzelgespräch" BORDER="0" WIDTH="60" HEIGHT="39" NAME="eg"
|
||||
HSPACE="10"></A></P>
|
||||
<P><A HREF="/cgi-bin/isdnrate?mix=10" ONMOUSEOUT="swap('gm',false)"
|
||||
ONMOUSEOVER="swap('gm',true)"><b>Gesprächsmix</b></A><A HREF="/cgi-bin/isdnrate?mix=10" ONMOUSEOUT="swap('gm',false)"
|
||||
ONMOUSEOVER="swap('gm',true)"><IMG SRC="gm0.jpg" ALT="Gesprächsmix" BORDER="0" WIDTH="80" HEIGHT="39"
|
||||
NAME="gm" HSPACE="10"></A></P>
|
||||
<TD><A HREF="/cgi-bin/isdnrate" ONMOUSEOVER="swap('eg',1)" ONMOUSEOUT="swap('eg',0)"><IMG SRC="graf.gif"
|
||||
BORDER="0" HSPACE=40 ALT="Grafik Einzelgesprächskosten"></A>
|
||||
</td>
|
||||
<td>
|
||||
<P><A HREF="info.html" ONMOUSEOVER="swap('info',1)"
|
||||
ONMOUSEOUT="swap('info',0)"><IMG SRC="info0.jpg" ALT="Info" BORDER="0" WIDTH="60" HEIGHT="39" NAME="info"
|
||||
HSPACE="10"></A><A HREF="info.html" ONMOUSEOVER="swap('info',1)"
|
||||
ONMOUSEOUT="swap('info',0)"><b>Info</b></A></P>
|
||||
</td>
|
||||
</tr></table>
|
||||
</BLOCKQUOTE>
|
||||
<P></P>
|
||||
<img src="hr.gif" width="600" height=4>
|
||||
<DIV ALIGN="RIGHT">
|
||||
<P CLASS="sm">This calculationengine is powered by <IMG SRC="tux.gif" ALT="Linux" BORDER="0">
|
||||
, created by the <A HREF="http://www.isdn4linux.de">Isdn-Crew</A>.<BR>
|
||||
HTML page and CGI program created by <A HREF="http://www.toetsch.at">Leopold Tötsch</A>,
|
||||
(c) 1999 by <A HREF="mailto:lt@toetsch.at">-lt-</A>.</P></DIV>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//SoftQuad Software//DTD HoTMetaL PRO 5.0::19981217::extensions to HTML 4.0//EN" "hmpro5.dtd">
|
||||
<HTML><!-- -*-html_mode-*- -->
|
||||
<HEAD>
|
||||
<TITLE>Telefonkosten</TITLE>
|
||||
<STYLE TYPE="text/css">
|
||||
<!--
|
||||
.t {font-family:Sans Serif;font-size:10pt}
|
||||
.sm {font-family:Sans Serif;font-size:9pt}
|
||||
i {color:#000080}
|
||||
h1,h2,h3,h4,p,td,th,body { font-family:Sans Serif,Arial }
|
||||
-->
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="#ffffe0">
|
||||
<H1>Telefonkosten - Info</H1>
|
||||
|
||||
<H2>Berechnungsmethode</H2><P>
|
||||
Die Berechnung der gewünschten Verbindung erfolgt nach dem selben Takt-
|
||||
und Zonenmodell, wie es auch der jeweilige Provider verwendet. Dabei werden auch
|
||||
Taktwechsel wie z.B. um 18<SUP><font size=-1>00</font></SUP> berücksichtigt. Die Daten
|
||||
können natürlich nur so exakt sein, als die Provider
|
||||
Information zur Verfügung stellen, besonders die Zonentabellen sind
|
||||
häufig ein Geheimnis der Firmen.<p>Wenn Sie also eine Ungenauigkeit
|
||||
feststellen sollten, teilen Sie uns das bitte mit. Wir sind bemüht, die
|
||||
Daten auf dem letzten Stand zu halten.<p>
|
||||
<img src="hr.gif" width="600" height=4>
|
||||
<H2>Autoren und Pfleger der Tarifdaten</H2>
|
||||
<H3>Österreich</H3>
|
||||
<UL>
|
||||
<LI><A href="mailto:reinelt@eurnet.at">Michael Reinelt</A>
|
||||
<LI><A href="mailto:lt@toetsch.at">Leopold Tötsch</A>
|
||||
</UL>
|
||||
<P></P>
|
||||
<H3>Deutschland</H3>
|
||||
<UL>
|
||||
<LI><A href="mailto:joe@mbs.gtn.com">Jochen Erwied</A>
|
||||
<LI><A href="mailto:akool@isdn4linux.de">Andreas Kool</A>
|
||||
<LI><A href="mailto:awkwar@digitalprojects.de">Alexander Skwar</A>
|
||||
</UL>
|
||||
<H3>Niederlande</H3>
|
||||
<UL>
|
||||
<LI><A href="mailto:paul@isdn4linux.de">Paul Slootman</A>
|
||||
</UL>
|
||||
|
||||
<img src="hr.gif" width="600" height=4>
|
||||
<p>
|
||||
<A HREF="/telrate/index.html">Startseite <IMG WIDTH="60" HSPACE="8" HEIGHT="39"
|
||||
BORDER="0" SRC="/telrate/start.jpg"></A>
|
||||
|
||||
<A HREF="/perl/isdnrate">Einzelgespräch <IMG WIDTH="60" HSPACE="8"
|
||||
HEIGHT="39" BORDER="0" SRC="/telrate/eg0.jpg"></A>
|
||||
|
||||
<A HREF="/perl/isdnrate?mix=10">Gesprächsmix <IMG WIDTH="80" HSPACE="8"
|
||||
HEIGHT="39" BORDER="0" SRC="/telrate/gm0.jpg"></A>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
|
@ -0,0 +1,50 @@
|
|||
Isdnrate CGI
|
||||
------------
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
- Automatic
|
||||
|
||||
$ ./configure
|
||||
# make install
|
||||
|
||||
- Manual
|
||||
|
||||
edit isdnrate:
|
||||
location of code file
|
||||
location of isdnrate
|
||||
location if mktemp
|
||||
|
||||
if your /tmp ist not writable by all users, turn of $use_sockets
|
||||
or change the location of the unix socket in both isdnrate's.
|
||||
|
||||
make a tmp dir below htdocs
|
||||
# mkdir /usr/local/httpd/htdocs/tmp
|
||||
# chmod 700 /usr/local/httpd/htdocs/tmp
|
||||
# chown wwwrun.nogrup tmp
|
||||
(or whatever uid.gid your webserver runs with)
|
||||
|
||||
# cp isdnrate /usr/local/httpd/cgi-bin
|
||||
# chmod 755 /usr/local/httpd/cgi-bin/isdnrate
|
||||
# chmod 644 /etc/isdn/isdn.conf
|
||||
|
||||
edit isdnrate.c
|
||||
first line defines LEO (AT) else DE is assumed
|
||||
|
||||
NB: isdnrate uses the following pel modules:
|
||||
CGI, GD, IO::Handle
|
||||
if you don't have these, point your browser to www.perl.org,
|
||||
and look for CPAN mirrors near your location.
|
||||
|
||||
|
||||
Running the Program
|
||||
-------------------
|
||||
|
||||
if $use_sockets is on, start the server instance of isdnlog/bin/isdnrate with
|
||||
options -D [-v]
|
||||
as soon as you see "Setup sockets" you can point your browser to
|
||||
/cgi-bin/isdnrate and fill the form with the desired destination.
|
||||
Click on table or grafik
|
||||
|
||||
Enjoy
|
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 6.7 KiB |