Mailinglist Archive: opensuse-isdn-de (305 mails)

< Previous Next >
Callback: Linux bleibt inaktiv
  • From: Blauth Joachim <J.Blauth@xxxxxxxxxxx>
  • Date: Fri, 15 Oct 1999 15:26:06 +0000 (UTC)
  • Message-id: <83E6A22B5F52D311AC5600606733F9EE030216@xxxxxxxxxxxxxxxxxxxxxxxx>

Hallo Liste,

ich lese hier nun schon einige Zeit mit und hab etliche Dokus, Deja-News
etc. gewaelzt und komm nicht weiter - hoffe, ihr koennt mir helfen.

Konfiguration:
Linux basierend auf Slackware 3.2
Kernel 2.0.36 mit isdn4kernel: isdn-9905101100.tar.gz,
okapi_004 und isdn4k-utils-3.0beta2.tar.gz
Hisax-kompatible Karte, Eigenentwicklung
Telefonanlage Bosch Integral 33x

Anforderung: Eine Linux-Kiste soll über eine feste IP von der Aussenwelt aus
erreichbar sein.

Problem: Ich habe eine feste IP bei einem Provider. Pinge ich diese ueber
einen anderen Provider an, wird eine D-Kanal-Callback-Aufforderung
ausgeloest. Meine Linuxkiste kriegt die Rufnummer des Providers mit, ruft
ihn aber nicht zurueck.

Ich selbst kann mich allerdings durch aktives Einwaehlen (isdnctrl dial
ippp0) verbinden.

Mein "isdnctrl list all":
=========================

Current setup of interface 'ippp0':

EAZ/MSN: 6895xxxx
Phone number(s):
Outgoing: 008441xxxxxx
Incoming:
Dial mode: auto
Secure: off
Callback: off
Reject before Callback: on
Callback-delay: 5
Dialmax: 1
Dial-Timeout: -1
Dial-Wait: 5
Hangup-Timeout: 180
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
Slave trigger: 6000 cps
Master Interface: None
Pre-Bound to: Nothing
PPP-Bound to: Nothing

Current setup of interface 'ippp1':

EAZ/MSN: 6895xxxx
Phone number(s):
Outgoing: 008441xxxxxx
Incoming: 08441xxxxxx
Dial mode: auto
Secure: off
Callback: in
Reject before Callback: on
Callback-delay: 5
Dialmax: 1
Dial-Timeout: -1
Dial-Wait: 5
Hangup-Timeout: 180
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
Slave trigger: 6000 cps
Master Interface: None
Pre-Bound to: Nothing
PPP-Bound to: Nothing

Mein Setup-Script:
==================

#!/bin/sh

LOGIN_NAME=xxxx
ISP_NAME=xxxxx
LOCAL_IP=194.64.xxx.xxx # my fixed IP number
REMOTE_IP=194.64.xxx.xxx # IP nummer of ISP
LOCAL_MSN=6895xxxx # my number
DIALOUT_MSN=008441xxxxxx # number of ISP we use to dial to logon
DIALIN_MSN=8441xxxxxx # number of ISP that initiates callback

telesctrl videocon 1 0x3ff
isdnctrl verbose 3
isdnlog -A0 -M -S -v3 -w10 -m0x1fdf -l0x1fdf -C /dev/tty11 -O
+/var/adm/isdnlog.log -D /dev/isdnctrl

#------------------------------------------------------------

isdnctrl system on
isdnctrl addif ippp0
isdnctrl eaz ippp0 $LOCAL_MSN
isdnctrl addphone ippp0 out $DIALOUT_MSN
isdnctrl huptimeout ippp0 180
isdnctrl l2_prot ippp0 hdlc
isdnctrl l3_prot ippp0 trans
isdnctrl encap ippp0 syncppp
isdnctrl dialmode ippp0 auto

ifconfig ippp0 $LOCAL_IP pointopoint $REMOTE_IP

route add $REMOTE_IP ippp0
route add default netmask 0 ippp0

ifconfig ippp0 -arp -broadcast

#------------------------------------------------------------

isdnctrl addif ippp1
isdnctrl addphone ippp1 in $DIALIN_MSN
isdnctrl addphone ippp1 out $DIALOUT_MSN
isdnctrl eaz ippp1 $LOCAL_MSN
isdnctrl encap ippp1 syncppp
isdnctrl l2_prot ippp1 hdlc
isdnctrl l3_prot ippp1 trans
isdnctrl huptimeout ippp1 180
isdnctrl secure ippp1 off
isdnctrl callback ippp1 in
# isdnctrl cbhup ippp1 off
# isdnctrl cbdelay ippp1 2
# isdnctrl ihup ippp1 off

isdnctrl dialmode ippp1 auto

ifconfig ippp1 $LOCAL_IP pointopoint $REMOTE_IP

route add $REMOTE_IP ippp1
route add default netmask 0 ippp1

ifconfig ippp1 -arp -broadcast

#------------------------------------------------------------

$ipppd \
user $LOGIN_NAME remotename $ISP_NAME \
$LOCAL_IP:$REMOTE_IP \
name $LOGIN_NAME \
-detach \
debug \
mru 1500 \
mtu 1500 \
lcp-restart 1 \
/dev/ippp0 /dev/ippp1 &

Auszuege aus /var/adm/debug:
============================

12:50:46 kernel: CSLIP: code copyright 1989 Regents of the University of
California
12:50:47 kernel: ISDN subsystem Rev: 1.2/1.41.2.12/1.48.2.28/1.28.2.3/none
loaded
12:50:47 kernel: HiSax: Linux Driver for passive ISDN cards
12:50:47 kernel: HiSax: Version 3.1a (module)
12:50:47 kernel: HiSax: Layer1 Revision 1.15.2.21
12:50:47 kernel: HiSax: Layer2 Revision 1.10.2.14
12:50:47 kernel: HiSax: TeiMgr Revision 1.8.2.9
12:50:47 kernel: HiSax: Layer3 Revision 1.10.2.9
12:50:47 kernel: HiSax: LinkLayer Revision 1.30.2.15
12:50:47 kernel: HiSax: Approval certification failed because of
12:50:47 kernel: HiSax: unauthorized source code changes
12:50:47 kernel: HiSax: Total 1 card defined
12:50:47 kernel: HiSax: Card 1 Protocol EDSS1 Id=videocon (0)
12:50:47 kernel: HiSax: Asuscom ISDNLink driver Rev. 1.1.2.4
12:50:47 kernel: ISDNLink: defined at 0x180 IRQ 7
12:50:47 kernel: Asus: IPAC version 1
12:50:47 kernel: ISDNLink: resetting card
12:50:47 kernel: ISDNLink: IRQ 7 count 2
12:50:47 kernel: ISDNLink: IRQ 7 count 4
12:50:47 kernel: HiSax: DSS1 Rev. 1.16.2.14
12:50:47 kernel: HiSax: 2 channels added
12:50:47 kernel: HiSax: MAX_WAITING_CALLS added
12:50:47 kernel: HiSax: module installed
12:50:53 kernel: HiSax: debugging flags card 1 set to 3ff
12:50:54 kernel: isdn: Verbose-Level is 3
12:50:54 kernel: isdn: Verbose-Level is 3
12:50:54 kernel: isdn: Global Mode running
12:50:54 isdnlog: isdnlog Version 3.48 starting
12:50:54 isdnlog: Will overwrite entry `NUMBER'! .....
12:50:55 isdnlog: Holiday Version 1.10-Germany ......
12:51:02 ipppd[252]: Found 2 devices: /dev/ippp0, /dev/ippp1
12:51:02 ipppd[252]: ipppd i2.2.10 (isdn4linux version of pppd by MH)
started
12:51:02 ipppd[252]: init_unit: 0
12:51:02 ipppd[252]: Connect[0]: /dev/ippp0, fd: 7
12:51:02 ipppd[252]: init_unit: 1
12:51:02 ipppd[252]: Connect[1]: /dev/ippp1, fd: 8
12:51:03 isdnlog: Country Version 1.02-Germany ......
12:51:06 isdnlog: Zone V1.22: Provider 13 File ......
12:51:30 isdnlog: (ISDN subsystem with ISDN_MAX_CHANNELS > 16 detected - 2
active channels, 1 MSN/SI entries)
12:51:30 isdnlog: (Data versions: iprofd=0x04 net_cfg=0x04
/dev/isdninfo=0x01)
12:51:30 isdnlog: + Oct 15 12:51:30
-----------------------------------------
12:51:30 isdnlog: | videocon#0 : free
12:51:30 isdnlog: | videocon#1 : free
12:51:30 isdnlog: 02:08.77 Card1 ISAC STAR 4a
12:51:30 isdnlog: 02:08.77 Card1 ISAC MODE 0
12:51:30 isdnlog: 02:08.77 Card1 ISAC ADF2 80
12:51:30 isdnlog: 02:08.77 Card1 ISAC ISTA 0
12:51:30 isdnlog: 02:08.77 Card1 ISAC CIR0 7c
12:51:30 isdnlog: 02:08.77 Card1 HSCX B ISTA 0
12:51:30 isdnlog: 02:08.77 Card1 HSCX A ISTA 0
12:51:30 isdnlog: 02:08.77 Card1 HSCX B STAR 48
12:51:30 isdnlog: 02:08.77 Card1 HSCX A STAR 48
12:51:30 isdnlog: 02:08.77 Card1 IPAC ISTA 20
12:51:30 isdnlog: 02:08.77 Card1 IPAC ISTA 20
12:51:30 isdnlog: 02:14.78 debugging flags card 1 set to 3ff
12:51:38 isdnlog: 03:00.02 Card1 IPAC ISTA 20
12:51:38 isdnlog: 03:00.02 Card1 IPAC ISTA 20
12:51:38 isdnlog: 03:00.03 Card1 IPAC ISTA 20
12:51:39 kernel: isdn_net: Incoming call without CPN, assuming '0'
12:51:39 kernel: isdn_net: call from 8441xxxxxx,7,0 -> 0
12:51:39 kernel: isdn_net: call from 8441xxxxxx -> 0 0 ignored
12:51:39 kernel: isdn_tty: Incoming call without CPN, assuming '0'
12:51:39 kernel: isdn_tty: call from 8441xxxxxx -> 0 ignored
12:51:39 isdnlog: 03:00.07 Card1 IPAC ISTA 20
12:51:39 isdnlog: HEX: 02 FF 03 08 01 10 05 04 02 88 90 18 01 89 6C 0C 21 83
38 34 34 31 xx xx xx xx xx xx
12:51:39 isdnlog: (HiSax driver detected)
12:51:39 isdnlog: Oct 15 12:51:39 * Call to tei 127 from ? on ? BEARER:
Unrestricted digital information, CCITT standardized coding
12:51:39 isdnlog: Oct 15 12:51:39 * Call to tei 127 from ? on ? 64 kbit/s,
Circuit mode
12:51:39 isdnlog: Oct 15 12:51:39 * Call to tei 127 from ? on ? CHANNEL:
BRI, B1 needed
12:51:39 isdnlog: 03:00.07 DCh Q.921 State ST_L2_1 Event EV_L2_UI
12:51:39 isdnlog: 03:00.07 Ch0 callc State ST_NULL Event EV_SETUP_IND
12:51:39 isdnlog: 03:00.07 Ch0 callc ChangeState ST_IN_WAIT_LL
12:51:39 isdnlog: 03:00.07 Ch0 HL->LL STAT_ICALL
12:51:39 isdnlog: 03:00.07 Ch0 LL->HL statcallb ret=0
12:51:39 isdnlog: 03:00.07 Ch0 callc ChangeState ST_NULL
12:51:40 kernel: isdn_net: call from 8441xxxxxx,7,0 -> xx
12:51:40 kernel: isdn_net: call from 8441xxxxxx -> 0 xx ignored
12:51:40 kernel: isdn_tty: call from 8441xxxxxx -> xx ignored
12:51:40 isdnlog: 03:01.61 Card1 IPAC ISTA 20
12:51:40 isdnlog: 03:01.61 Card1 IPAC ISTA 20
12:51:40 isdnlog: HEX: 02 FF 03 08 01 10 05 04 03 88 90 A3 18 01 89 6C 0C 21
83 38 34 34 31 xx xx xx xx xx xx 70 03 81 xx xx
12:51:40 isdnlog: Oct 15 12:51:40 * Call to tei 127 from ? on ? BEARER:
Unrestricted digital information, CCITT standardized coding
12:51:40 isdnlog: Oct 15 12:51:40 * Call to tei 127 from ? on ? 64 kbit/s,
Circuit mode
12:51:40 isdnlog: Oct 15 12:51:40 * Call to tei 127 from ? on ? G.711 A-law

12:51:40 isdnlog: Oct 15 12:51:40 * Call to tei 127 from ? on ? CHANNEL:
BRI, B1 needed
12:51:40 isdnlog: Oct 15 12:51:40 * Call to tei 127 from +49 8441/xxxxxx,
Pfaffenhofen on +49 89/xx, M|nchen RING (Data)
12:51:40 isdnlog: 03:01.61 DCh Q.921 State ST_L2_1 Event EV_L2_UI
12:51:40 isdnlog: 03:01.61 Ch0 callc State ST_NULL Event EV_SETUP_IND
12:51:40 isdnlog: 03:01.61 Ch0 callc ChangeState ST_IN_WAIT_LL
12:51:40 isdnlog: 03:01.61 Ch0 HL->LL STAT_ICALL
12:51:40 isdnlog: 03:01.61 Ch0 LL->HL statcallb ret=0
12:51:40 isdnlog: 03:01.61 Ch0 callc ChangeState ST_NULL
12:52:15 isdnlog: 03:36.60 Card1 IPAC ISTA 20
12:52:15 isdnlog: 03:36.61 Card1 IPAC ISTA 20
12:52:16 isdnlog: 03:37.17 DCh Q.921 State ST_L2_1 Event EV_L1_DEACTIVATE no
routine
12:52:47 isdnlog: Oct 15 12:52:47 Call to tei 127 from +49 8441/xxxxxx,
Pfaffenhofen on +49 89/xx, M|nchen HANGUP (Timeout)
12:52:47 isdnlog: 04:08.38 Card1 IPAC ISTA 20
12:52:47 last message repeated 2 times
12:52:47 kernel: isdn_net: Incoming call without CPN, assuming '0'
12:52:47 kernel: isdn_net: call from 8441xxxxxx,7,0 -> 0
12:52:47 kernel: isdn_net: call from 8441xxxxxx -> 0 0 ignored
12:52:47 kernel: isdn_tty: Incoming call without CPN, assuming '0'
12:52:47 kernel: isdn_tty: call from 8441xxxxxx -> 0 ignored
12:52:47 isdnlog: 04:08.43 Card1 IPAC ISTA 20
12:52:47 isdnlog: HEX: 02 FF 03 08 01 0F 05 04 02 88 90 18 01 89 6C 0C 21 83
38 34 34 31 xx xx xx xx xx xx
12:52:47 isdnlog: Oct 15 12:52:47 * Call to tei 127 from ? on ? BEARER:
Unrestricted digital information, CCITT standardized coding
12:52:47 isdnlog: Oct 15 12:52:47 * Call to tei 127 from ? on ? 64 kbit/s,
Circuit mode
12:52:47 isdnlog: Oct 15 12:52:47 * Call to tei 127 from ? on ? CHANNEL:
BRI, B1 needed
12:52:47 isdnlog: 04:08.43 DCh Q.921 State ST_L2_1 Event EV_L2_UI
12:52:47 isdnlog: 04:08.43 Ch0 callc State ST_NULL Event EV_SETUP_IND
12:52:47 isdnlog: 04:08.43 Ch0 callc ChangeState ST_IN_WAIT_LL
12:52:47 isdnlog: 04:08.43 Ch0 HL->LL STAT_ICALL
12:52:47 isdnlog: 04:08.43 Ch0 LL->HL statcallb ret=0
12:52:47 isdnlog: 04:08.43 Ch0 callc ChangeState ST_NULL
12:52:48 kernel: isdn_net: call from 8441xxxxxx,7,0 -> xx
12:52:48 kernel: isdn_net: call from 8441xxxxxx -> 0 xx ignored
12:52:48 kernel: isdn_tty: call from 8441xxxxxx -> xx ignored
12:52:48 isdnlog: 04:09.97 Card1 IPAC ISTA 20
12:52:48 isdnlog: 04:09.97 Card1 IPAC ISTA 20
12:52:48 isdnlog: HEX: 02 FF 03 08 01 0F 05 04 03 88 90 A3 18 01 89 6C 0C 21
83 38 34 34 31 xx xx xx xx xx xx 70 03 81 xx xx
12:52:48 isdnlog: Oct 15 12:52:48 * Call to tei 127 from ? on ? BEARER:
Unrestricted digital information, CCITT standardized coding
12:52:48 isdnlog: Oct 15 12:52:48 * Call to tei 127 from ? on ? 64 kbit/s,
Circuit mode
12:52:48 isdnlog: Oct 15 12:52:48 * Call to tei 127 from ? on ? G.711 A-law

12:52:48 isdnlog: Oct 15 12:52:48 * Call to tei 127 from ? on ? CHANNEL:
BRI, B1 needed
12:52:48 isdnlog: Oct 15 12:52:48 * Call to tei 127 from +49 8441/xxxxxx,
Pfaffenhofen on +49 89/xx, M|nchen RING (Data)
12:52:48 isdnlog: 04:09.97 DCh Q.921 State ST_L2_1 Event EV_L2_UI
12:52:48 isdnlog: 04:09.97 Ch0 callc State ST_NULL Event EV_SETUP_IND
12:52:48 isdnlog: 04:09.97 Ch0 callc ChangeState ST_IN_WAIT_LL
12:52:48 isdnlog: 04:09.97 Ch0 HL->LL STAT_ICALL
12:52:48 isdnlog: 04:09.97 Ch0 LL->HL statcallb ret=0
12:52:48 isdnlog: 04:09.97 Ch0 callc ChangeState ST_NULL

Beste Grüße / best regards

Joachim Blauth

---
Joachim Blauth, VideoCon AG, Munich, Germany
Email: j.blauth@xxxxxxxxxxx
WWW: http://www.videocon.de
Phone: +49 (089) 689593-25
Fax: +49 (089) 689593-68


< Previous Next >