[Cisco] ms-callback werkt niet !

Pagina: 1
Acties:

  • sniper20
  • Registratie: Januari 2002
  • Laatst online: 19-08 23:00
Ik heb al in de search en op de cisco-site gezocht, maar er is niet veel te vinden over callback met een inbel-PC met ISDN.

De bedoeling is dat een thuiswerker op Windows-machine met ISDN-kaart kan inbellen op een Cisco-router. Ik heb dit geprobeerd met een Cisco 1720, maar krijg het niet voor elkaar.

De router probeert wel terug te bellen. Ook krijg ik een scherm op de Windows-PC dat ik wordt teruggebeld. Dit blijft een tijdje staan, maar er gebeurd niets.

Mijn IOS versie is 12.0(3)T3. Ik zal de config die ik gebruik even posten en het debuggen met "debug dialer".
Er lijkt iets mis te gaan met een time-out.

Weet iemand de oplossing of een betere configuratie ????

config:


Building configuration...

Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco1720
!
enable secret <password>
!
username test callback-dialstring 123456 password <password>
memory-size iomem 25
ip subnet-zero
no ip domain-lookup
!
isdn switch-type basic-net3
!
!
!
interface BRI0
no ip address
no ip directed-broadcast
encapsulation ppp
dialer pool-member 1
isdn switch-type basic-net3
ppp callback accept
ppp authentication pap chap callin
!
interface BRI1
no ip address
no ip directed-broadcast
shutdown
isdn switch-type basic-net3
!
interface FastEthernet0
ip address 192.168.0.2 255.255.255.0
no ip directed-broadcast
no cdp enable
!
interface Dialer1
ip address 10.1.1.1 255.255.255.0
no ip directed-broadcast
encapsulation ppp
dialer remote-name test
dialer idle-timeout 300
dialer enable-timeout 2
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication pap chap callin
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1 permanent
no ip http server
!
access-list 1 permit 192.168.0.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
line con 0
transport input none
line aux 0
line vty 0 4
password <password>
login
!
no scheduler allocate
end

debug dailer:

00:09:17: %DIALER-6-BIND: Interface BRI0:1 bound to profile Dialer1
00:09:17: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
00:09:17: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0, TEI 97 changed to up
00:09:17: BRI0:1:PPP callback Callback server starting to test 123456
00:09:18: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down
00:09:18: BR0: has total 2 call(s), dial_out 0, dial_in 0
00:09:18: %DIALER-6-UNBIND: Interface BRI0:1 unbound from profile Dialer1
00:09:18: BRI0:1: disconnecting call
00:09:26: BRI0:1: disconnecting call
00:09:32: : Callback timer expired
00:09:32: Dialer1:beginning callback to test 123456
00:09:32: BRI0: rotor dialout [priority]
00:09:32: BRI0: Dialing cause Callback return call
00:09:32: BRI0: Attempting to dial 123456
00:09:32: Freeing callback to test 123456
00:09:33: BRI0: wait for isdn carrier timeout, call id=0x8001
00:09:33: BRI0:2: disconnecting call
00:09:41: BRI0:2: disconnecting call

  • kell.nl
  • Registratie: Januari 2002
  • Laatst online: 27-09-2023

kell.nl

Fizzgig&#039;s evil twin

Ik weet niet of je de user test met het tel: 123456 alleen voor hier gebruikt, maar hij probeert terug te bellen naar 123456 wat uiteraard niet lukt...
Je kan ook achter de callbak-dialstring "" zetten, dan vraagt de router om een nummer.

Je hebt onder dialer1
dialer enable-timeout 2
staan. Deze kun je eens proberen wat hoger te zetten.
De router probeert namelijk na 2 seconden terug te bellen, en windows heeft vaak iets langer nodig om een call te kunnen accepten.

Als deze twee het niet zijn, zou je dan ook
debug isdn events
debug aaa authentication
hier kunnen posten?

  • kell.nl
  • Registratie: Januari 2002
  • Laatst online: 27-09-2023

kell.nl

Fizzgig&#039;s evil twin

Eventjes een config zoals ik die bij een klant heb neergezet:

PS. is wel van een 2620 met mica (voor analoog inbellen over de bri interfaces), dus het belangrijkste is de dialer...

PS2. Ik zag dat je geen ip-adres uitdeelt aan de inbelpc. Gebruikt hij een statisch ip?

PS3. Meestal is het beter (makkelijker) om inbellers te bridgen (ip unnumbered <interface>), dus dat ze een ip krijgen van op het lan.
Anders moeten op de machines (servers) die de inbeller probeert te bereiken een route bekend zijn naar de inbelrange, of ze moeten de inbelrouter als default gateway hebben.



!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname <deleted>
!
logging buffered 4096 debugging
logging rate-limit console 10 except errors
no logging console
enable secret 5 <deleted>
enable password 7 <deleted>
!
username inbeluser callback-dialstring "" password 7 <deleted>

modem country mica netherlands
ip subnet-zero
!
!
no ip finger
!
isdn switch-type basic-net3
chat-script callback ABORT ERROR ABORT BUSY "" "ATDT\T" TIMEOUT 30 "CONNECT" \c
chat-script offhook "" "ATH1" OK
chat-script mod ABORT ERROR ABORT BUSY "" "AT" OK "ATDT \T" TIMEOUT 30 CONNECT \
c
!
!
!
interface FastEthernet0/0
ip address <deleted>
speed auto
half-duplex
!
interface BRI3/0
no ip address
encapsulation ppp
no ip route-cache
no ip mroute-cache
dialer pool-member 1
isdn switch-type basic-net3
isdn incoming-voice modem
ppp callback accept
ppp authentication pap chap ms-chap callin
!
interface BRI3/1
no ip address
encapsulation ppp
no ip route-cache
no ip mroute-cache
dialer pool-member 1
isdn switch-type basic-net3
isdn incoming-voice modem
ppp callback accept
ppp authentication pap chap ms-chap callin
!
interface BRI3/2
no ip address
encapsulation ppp
no ip route-cache
no ip mroute-cache
shutdown
dialer pool-member 1
isdn switch-type basic-net3
isdn incoming-voice modem
ppp callback accept
ppp authentication pap chap ms-chap callin
!
interface BRI3/3
no ip address
encapsulation ppp
no ip route-cache
no ip mroute-cache
shutdown
dialer pool-member 1
isdn switch-type basic-net3
isdn incoming-voice modem
ppp callback accept
ppp authentication pap chap ms-chap callin
!
interface BRI3/4
no ip address
shutdown
isdn switch-type basic-net3
!
interface BRI3/5
no ip address
shutdown
isdn switch-type basic-net3
!
interface BRI3/6
no ip address
shutdown
isdn switch-type basic-net3
!
interface BRI3/7
no ip address
shutdown
isdn switch-type basic-net3
!
interface Group-Async1
ip unnumbered FastEthernet0/0
encapsulation ppp
async mode interactive
peer default ip address pool Remote
ppp callback accept
ppp authentication ms-chap pap chap callin
group-range 65 82
!
interface Dialer1
ip unnumbered FastEthernet0/0
encapsulation ppp
no ip split-horizon
dialer pool 1
dialer idle-timeout 72000
dialer enable-timeout 5
dialer hold-queue 20
dialer-group 1
peer default ip address pool Remote
no cdp enable
ppp callback accept
ppp authentication ms-chap chap pap callin
!
ip local pool Remote <deleted> <deleted>
ip classless
no ip http server
!
dialer-list 1 protocol ip permit
dialer-list 1 protocol ipx permit
!
line con 0
transport input none
line 65 82
autoselect during-login
autoselect ppp
script modem-off-hook offhook
script callback mod
login local
modem InOut
modem autoconfigure discovery
transport input all
flowcontrol hardware
line aux 0
line vty 0 4
password 7 <deleted>
login
!
end

  • sniper20
  • Registratie: Januari 2002
  • Laatst online: 19-08 23:00
123456 is niet het echte inbelnr. Ook heb ik de dialer enable-timeout proberen te verhogen, maar zonder resultaat.
Ik zal vanavond debug isdn events en debug aaa authentication proberen te posten.

  • sniper20
  • Registratie: Januari 2002
  • Laatst online: 19-08 23:00
hier de gevraagde debug informatie met

debug dialer
debug isdn events
debug aaa authentication

De dialer-enable timeout heb ik verhoogd naar 15 en het
ip-adres is unnumbered.

Moet er misschien iets ingesteld worden op de windows-PC wat verkeerd staat ??

00:05:52: ISDN BR0: Incoming call id = 0x2, dsl 0
00:05:52: ISDN BR0: received HOST_INCOMING_CALL call_id 0x2
00:05:52: %DIALER-6-BIND: Interface BRI0:2 bound to profile Dialer1
00:05:52: ISDN BR0: HOST_INCOMING_CALL: voice_answer_data = FALSE
00:05:52: %LINK-3-UPDOWN: Interface BRI0:2, changed state to up
00:05:52: ISDN BR0: process_simple(): msg 4, call id 0x2, bchan 1, ces 1, call type DATA
00:05:52: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0, TEI 98 changed to up
00:05:52: ISDN BR0: received HOST_CONNECT call_id 0x2
00:05:52: ISDN BR0: Event: Connected to 123456 on B2 at 64 Kb/s
00:05:53: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:2, changed state to up
00:05:58: %ISDN-6-CONNECT: Interface BRI0:2 is now connected to 123456 thuiswerk1
00:06:17: BRI0:2:PPP callback Callback server starting to thuiswerk1 123456
00:06:17: ISDN BR0: received HOST_DISCONNECT call_id 0x2
00:06:17: ISDN BR0: Event: Call to <unknown> was hung up.
00:06:17: ISDN BR0: process_disc_ack(): call id 0x2, ces 1, call type DATA
00:06:17: %ISDN-6-DISCONNECT: Interface BRI0:2 disconnected from 123456 thuiswerk1, call lasted 25 seconds
00:06:17: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down
00:06:17: BR0: has total 2 call(s), dial_out 0, dial_in 0
00:06:17: %DIALER-6-UNBIND: Interface BRI0:2 unbound from profile Dialer1
00:06:17: BRI0:2: disconnecting call
00:06:18: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:2, changed state to down
00:06:25: ISDN BR0: received HOST_DISCONNECT_ACK call_id 0x809BC20C
00:06:25: ISDN BR0: HOST_DISCONNECT_ACK: call type is DATA
00:06:25: BRI0:2: disconnecting call
00:06:32: : Callback timer expired
00:06:32: Dialer1:beginning callback to thuiswerk1 123456
00:06:32: BRI0: rotor dialout [priority]
00:06:32: BRI0: Dialing cause Callback return call
00:06:32: BRI0: Attempting to dial 123456
00:06:32: ISDN BR0: Outgoing call id = 0x8001, dsl 0
00:06:32: Freeing callback to thuiswerk1 123456
00:06:137438953536: ISDN BR0: Event: Call to 123456 at 64 Kb/s
00:06:139593398452: ISDN BR0: process_bri_call(): call id 0x8001, called_number 123456, speed 64, call type DATA
00:06:32: ISDN BR0: received HOST_PROCEEDING call_id 0x8001
00:06:34: ISDN BR0: received HOST_DISCONNECT call_id 0x8001
00:06:34: ISDN BR0: Event: Call to 123456 was hung up.
00:06:34: ISDN BR0: process_disc_ack(): call id 0x8001, ces 1, call type DATA
00:06:34: BRI0: wait for isdn carrier timeout, call id=0x8001
00:06:34: BRI0:1: disconnecting call
00:06:42: ISDN BR0: received HOST_DISCONNECT_ACK call_id 0x808368B0
00:06:42: ISDN BR0: HOST_DISCONNECT_ACK: call type is DATA
00:06:42: BRI0:1: disconnecting call
00:06:47: L3: L3_GetUser_NLCB failed, message ignored cid 0x0 cr 0xC2 ev 0x4D ces 1 dsl 0
00:07:04: L3: L3_GetUser_NLCB failed, message ignored cid 0x0 cr 0x1 ev 0x4D ces 1 dsl 0
00:07:14: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BR0, TEI 98 changed to down