ISDN


To <czdebian-l zavinac debian bod cz>
From Marek <bonbon zavinac email bod cz>
Date Thu, 11 Mar 2004 15:14:00 +0100 (CET)

Prohledal jsem celi net a nasel nejake navody v nemcine. Podle toho sem skusil 
nastavit moje pripojeni a nic, as pochopim jak se to dela spravne napisu 
nejakej navod v cestine.
Ted ale potrebuji pomoct posilam sem moje konfiguraky a log. Jestli nekdo vi 
proc se to nepripoji prosim dejte vedet.

Jo a pro Vaclava http://sivachidananda.org/np/fritz/

-----------------------------------

/var/log/isdn/log:
isdnlog Version 4.67 starting
Error in file `/etc/isdn/isdn.conf', line 9: There is no value for `AREAPREFIX'!
Error in file `/etc/isdn/isdn.conf', line 10: There is no value for `AREACODE'!
Holiday Version -0.1 default [2001/10/10] loaded [4 entries from 
/usr/share/isdn/holiday-default.dat]
Dest V1.01: File '/usr/share/isdn/dest.cdb' opened fine - Dest 1.0 int (+h) AT 
DE NL CH BE
Zone V1.25: Provider 0 File '/usr/share/isdn/zone-default-x.cdb' opened fine - 
V1.25 K2 C1 N1 T1 O1 L3
Rates   Version 0.01-default [2001/10/10] loaded [1 Providers, 1 Zones, 1 
Areas, 0 Services, 0 Comments, 0 eXceptions, 0 Redirects, 2 Rates from 
/usr/share/isdn/rate-default.dat]
(ISDN subsystem with ISDN_MAX_CHANNELS > 16 detected, ioctl(IIOCNETGPN) is 
available)
isdn.conf:2 active channels, 0 MSN/SI entries
(Data versions: iprofd=0x06  net_cfg=0x06  /dev/isdninfo=0x01)
Everything is fine, isdnlog-4.67 is running in full featured mode.
(HiSax driver detected)
Mar 10 17:11:58 * tei 98 calling +420 971100811,  with '545232778'  RING (Data)
Mar 10 17:11:59 tei 98 calling +420 971100811,  with '545232778'  Normal, 
unspecified (Private network serving remote user)
Mar 10 17:11:58 2004|+420545232778   |+420971100811   |    0|         
0|1078935118|   -1|O| 31|         0|         0|3.2|7|0|1|UNITS|0| -1| -1|
Mar 10 17:11:59 tei 98 calling +420 971100811,  with '545232778'  HANGUP

---------------------------------------------

/var/log/messages
Mar 10 17:11:56 karel kernel: isdn: Verbose-Level is 2
Mar 10 17:11:56 karel ipppd[2739]: Found 1 device:
Mar 10 17:11:56 karel ipppd[2740]: ipppd i2.2.12 (isdn4linux version of pppd by 
MH) started
Mar 10 17:11:56 karel ipppd[2740]: init_unit: 0
Mar 10 17:11:56 karel ipppd[2740]: Connect[0]: /dev/ippp0, fd: 8
Mar 10 17:11:58 karel kernel: ippp0: dialing 1 971100811...
Mar 10 17:12:07 karel kernel: isdn_net: local hangup ippp0
Mar 10 17:12:07 karel kernel: ippp0: Chargesum is 0

-----------------------------------------------------
karel:/usr/share/isdn# isdnctrl list ippp0
Current setup of interface 'ippp0':

EAZ/MSN:                545232778
Phone number(s):
  Outgoing:             971100811
  Incoming:
Dial mode:              manual
Secure:                 on
Callback:               off
Reject before Callback: on
Callback-delay:         5
Dialmax:                1
Hangup-Timeout:         60
Incoming-Hangup:        on
ChargeHangup:           off
Charge-Units:           0
Charge-Interval:        0
Layer-2-Protocol:       hdlc
Layer-3-Protocol:       trans
Encapsulation:          syncppp
Slave Interface:        None
Slave delay:            10
Master Interface:       None
Pre-Bound to:           Nothing
PPP-Bound to:           0

--------------------------------------------------------
karel:/etc/isdn# cat isdn.conf
# example of /etc/isdn/isdn.conf
#
# More information: /usr/share/doc/isdnlog/*


[GLOBAL]
COUNTRYPREFIX   = +
COUNTRYCODE     = 420
AREAPREFIX      =
AREACODE        =

[VARIABLES]

[ISDNLOG]
LOGFILE = /var/log/isdn/isdnlog
ILABEL  = %b %e %T %ICall to tei %t from %N2 on %n2
OLABEL  = %b %e %T %Itei %t calling %N2 with '%n0'
# alternatives for the above, easier to read
# ILABEL        = %a %b %e %T %I%n2 <- %N2
# OLABEL        = %a %b %e %T %I%n2 -> %N2
REPFMTWWW       = "%X %D %17.17H %T %-17.17F %-20.20l SI: %S %9u %U %I %O"
REPFMTSHORT     = "%X%D %8.8H %T %-14.14F%U%I %O"
REPFMTNIO       = "  %X %D %16.16H %T %-25.25F %U"
REPFMT  = "  %X %D %16.16H %T %-16.16F %7u %U %I %O"
CHARGEMAX       = 50.00
CURRENCY = 1.00,UNITS   # change this for price of one cost unit, and your 
currency name

COUNTRYFILE = /usr/share/isdn/country.dat
RATECONF= /etc/isdn/rate.conf
RATEFILE= /usr/share/isdn/rate-default.dat
HOLIDAYS= /usr/share/isdn/holiday-default.dat
ZONEFILE= /usr/share/isdn/zone-default-%s.cdb
DESTFILE= /usr/share/isdn/dest.cdb

# providerselect
VBN = 10        # change this, depends on your country
VBNLEN = 2
PRESELECTED=1 

________________________________________________________________________________
OBCHODNÍ-DŮM.cz: domácí spotřebiče a elektronika za nízké ceny, s pohodlnou 
dopravou až do domu, klidně i večer. Objednávky i telefonicky.
www.OBCHODNI-DUM.cz



Partial thread listing: