Re: ISDN call back

From: Fred Danson (fred190044@xxxxxxxxxxx)
Date: Sat Sep 08 2001 - 14:54:37 GMT-3


   
Hey Russel,

Here's the example you requested.

R2---- Requesting callback
************************************
hostname r2
username r5 password 0 cisco
isdn switch-type basic-ni
!
interface BRI0
no ip address
encapsulation ppp
dialer pool-member 1
isdn switch-type basic-ni
isdn spid1 0835866101
isdn spid2 0835866301
ppp callback request
ppp authentication chap
!
interface Dialer0
ip address 25.25.25.2 255.255.255.0
encapsulation ppp
dialer remote-name r5
dialer string 8358662
dialer pool 1
dialer-group 1
ppp authentication chap
!
dialer-list 1 protocol ip permit
************************************

R5---- Accepting Callback request.
************************************
hostname r5
username r2 password 0 cisco
isdn switch-type basic-ni
!
interface BRI0
no ip address
no ip directed-broadcast
encapsulation ppp
dialer pool-member 1
isdn switch-type basic-ni
isdn spid1 0835866201
isdn spid2 0835866401
ppp callback accept
ppp authentication chap
!
interface Dialer0
ip address 25.25.25.5 255.255.255.0
encapsulation ppp
dialer remote-name r2
dialer callback-secure
dialer string 8358661 class CALLHIMBACK
dialer pool 1
dialer-group 1
ppp authentication chap
!
map-class dialer CALLHIMBACK
dialer callback-server username
dialer-list 1 protocol ip permit
!
************************************
R2
debug ppp negotiation
debug dialer
debug dialer packet
***********************************
00:16:22: Di0 DDR: ip (s=25.25.25.2, d=25.25.25.5), 100 bytes, outgoing
interest
ing (ip PERMIT)
00:16:22: BR0 DDR: rotor dialout [priority]
00:16:22: BR0 DDR: Dialing cause ip (s=25.25.25.2, d=25.25.25.5)
00:16:22: BR0 DDR: Attempting to dial 8358662
00:16:22: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
00:16:22: %DIALER-6-BIND: Interface BR0:1 bound to profile Di0
00:16:22: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 8358662
00:16:22: BR0:1 PPP: Treating connection as a callout
00:16:22: BR0:1 PPP: Phase is ESTABLISHING, Active Open
00:16:22: BR0:1 LCP: O CONFREQ [Closed] id 3 len 18
00:16:22: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:22: BR0:1 LCP: MagicNumber 0x001B489B (0x0506001B489B)
00:16:22: BR0:1 LCP: Callback 0 (0x0D0300)
00:16:22: BR0:1 LCP: I CONFREQ [REQsent] id 3 len 15
00:16:22: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:22: BR0:1 LCP: MagicNumber 0x001B71B3 (0x0506001B71B3)
00:16:22: BR0:1 LCP: O CONFACK [REQsent] id 3 len 15
00:16:22: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:22: BR0:1 LCP: MagicNumber 0x001B71B3 (0x0506001B71B3)
00:16:22: BR0:1 LCP: I CONFACK [ACKsent] id 3 len 18
00:16:22: BR0:1 LCP: MagicNumber 0x001B71B3 (0x0506001B71B3)
00:16:22: BR0:1 LCP: I CONFACK [ACKsent] id 3 len 18
00:16:22: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:22: BR0:1 LCP: MagicNumber 0x001B489B (0x0506001B489B)
00:16:22: BR0:1 LCP: Callback 0 (0x0D0300)
00:16:22: BR0:1 LCP: State is Open
00:16:22: BR0:1 PPP: Phase is AUTHENTICATING, by both
00:16:22: BR0:1 CHAP: O CHALLENGE id 3 len 23 from "r2"
00:16:22: BR0:1 CHAP: I CHALLENGE id 3 len 23 from "r5"
00:16:22: BR0:1 CHAP: O RESPONSE id 3 len 23 from "r2"
00:16:22: BR0:1 CHAP: I SUCCESS id 3 len 4
00:16:22: BR0:1 CHAP: I RESPONSE id 3 len 23 from "r5"
00:16:22: BR0:1 CHAP: O SUCCESS id 3 len 4
00:16:22: BR0:1 DDR: Callback negotiated - waiting for server disconnect
00:16:22: BR0:1 PPP: Phase is UP
00:16:22: BR0:1 IPCP: O CONFREQ [Not negotiated] id 3 len 10
00:16:22: BR0:1 IPCP: Address 25.25.25.2 (0x030619191902)
00:16:22: BR0:1 CDPCP: O CONFREQ [Closed] id 3 len 4
00:16:23: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed
state
to up
00:16:23: %ISDN-6-DISCONNECT: Interface BRI0:1 disconnected from 8358662
r5, ca
ll lasted 1 seconds
00:16:23: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down
00:16:23: DDR: Callback client for r5 8358662 created
00:16:23: BR0 DDR: has total 2 call(s), dial_out 0, dial_in 0
00:16:23: %DIALER-6-UNBIND: Interface BR0:1 unbound from profile Di0
00:16:23: BR0:1 IPCP: State is Closed
00:16:23: BR0:1 CDPCP: State is Closed
00:16:23: BR0:1 PPP: Phase is TERMINATING
00:16:23: BR0:1 LCP: State is Closed
00:16:23: BR0:1 PPP: Phase is DOWN
00:16:23: BR0:1 DDR: disconnecting call
00:16:24: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed
state
to down
00:16:37: %DIALER-6-BIND: Interface BR0:1 bound to profile Di0
00:16:37: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
00:16:37: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 8358662
00:16:37: BR0:1 PPP: Treating connection as a callin
00:16:37: BR0:1 PPP: Phase is ESTABLISHING, Passive Open
00:16:37: BR0:1 LCP: State is Listen
00:16:38: BR0:1 LCP: I CONFREQ [Listen] id 4 len 15
00:16:38: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:38: BR0:1 LCP: MagicNumber 0x001BAE69 (0x0506001BAE69)
00:16:38: BR0:1 LCP: O CONFREQ [Listen] id 4 len 15
00:16:38: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:38: BR0:1 LCP: MagicNumber 0x001B858E (0x0506001B858E)
00:16:38: BR0:1 LCP: O CONFACK [Listen] id 4 len 15
00:16:38: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:38: BR0:1 LCP: MagicNumber 0x001BAE69 (0x0506001BAE69)
00:16:38: BR0:1 LCP: I CONFACK [ACKsent] id 4 len 15
00:16:38: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:38: BR0:1 LCP: MagicNumber 0x001B858E (0x0506001B858E)
00:16:38: BR0:1 LCP: State is Open
00:16:38: BR0:1 PPP: Phase is AUTHENTICATING, by both
00:16:38: BR0:1 CHAP: O CHALLENGE id 4 len 23 from "r2"
00:16:38: BR0:1 CHAP: I CHALLENGE id 4 len 23 from "r5"
00:16:38: BR0:1 CHAP: Waiting for peer to authenticate first
00:16:38: BR0:1 CHAP: I RESPONSE id 4 len 23 from "r5"
00:16:38: BR0:1 CHAP: O SUCCESS id 4 len 4
00:16:38: BR0:1 CHAP: Processing saved Challenge, id 4
00:16:38: BR0:1 CHAP: O RESPONSE id 4 len 23 from "r2"
00:16:38: BR0:1 CHAP: I SUCCESS id 4 len 4
00:16:38: BR0:1 DDR: No callback negotiated
00:16:38: BR0:1 PPP: Phase is UP
00:16:38: BR0:1 IPCP: O CONFREQ [Not negotiated] id 4 len 10
00:16:38: BR0:1 IPCP: Address 25.25.25.2 (0x030619191902)
00:16:38: BR0:1 CDPCP: O CONFREQ [Closed] id 4 len 4
00:16:38: BR0:1 IPCP: I CONFREQ [REQsent] id 2 len 10
00:16:38: BR0:1 IPCP: Address 25.25.25.5 (0x030619191905)
00:16:38: BR0:1 IPCP: O CONFACK [REQsent] id 2 len 10
00:16:38: BR0:1 IPCP: Address 25.25.25.5 (0x030619191905)
00:16:38: BR0:1 CDPCP: I CONFREQ [REQsent] id 2 len 4
00:16:38: BR0:1 CDPCP: O CONFACK [REQsent] id 2 len 4
00:16:38: BR0:1 IPCP: I CONFACK [ACKsent] id 4 len 10
00:16:38: BR0:1 IPCP: Address 25.25.25.2 (0x030619191902)
00:16:38: BR0:1 IPCP: State is Open
00:16:38: BR0:1 CDPCP: I CONFACK [ACKsent] id 4 len 4
00:16:38: BR0:1 CDPCP: State is Open
00:16:38: BR0:1 DDR: dialer protocol up
00:16:38: BR0:1 DDR: Callback received from r5 8358662
00:16:38: DDR: Freeing callback to r5 8358662
00:16:38: Di0 IPCP: Install route to 25.25.25.5
00:16:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed
state
to up
00:16:43: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 8358662 r5
**************************

R5
debug ppp negotiation
debug dialer
debug dialer packet
**************************
00:16:39: %DIALER-6-BIND: Interface BR0:1 bound to profile Di0
00:16:39: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
00:16:39: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 8358661
00:16:39: BR0:1 PPP: Treating connection as a callin
00:16:39: BR0:1 PPP: Phase is ESTABLISHING, Passive Open
00:16:39: BR0:1 LCP: State is Listen
00:16:39: BR0:1 LCP: I CONFREQ [Listen] id 3 len 18
00:16:39: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:39: BR0:1 LCP: MagicNumber 0x001B489B (0x0506001B489B)
00:16:39: BR0:1 LCP: Callback 0 (0x0D0300)
00:16:39: BR0:1 LCP: O CONFREQ [Listen] id 3 len 15
00:16:39: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:39: BR0:1 LCP: MagicNumber 0x001B71B3 (0x0506001B71B3)
00:16:39: BR0:1 LCP: O CONFACK [Listen] id 3 len 18
00:16:39: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:39: BR0:1 LCP: MagicNumber 0x001B489B (0x0506001B489B)
00:16:39: BR0:1 LCP: Callback 0 (0x0D0300)
00:16:39: BR0:1 LCP: I CONFACK [ACKsent] id 3 len 15
00:16:39: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:39: BR0:1 LCP: MagicNumber 0x001B71B3 (0x0506001B71B3)
00:16:39: BR0:1 LCP: State is Open
00:16:39: BR0:1 PPP: Phase is AUTHENTICATING, by both
00:16:39: BR0:1 CHAP: O CHALLENGE id 3 len 23 from "r5"
00:16:39: BR0:1 CHAP: I CHALLENGE id 3 len 23 from "r2"
00:16:39: BR0:1 CHAP: Waiting for peer to authenticate first
00:16:39: BR0:1 CHAP: I RESPONSE id 3 len 23 from "r2"
00:16:39: BR0:1 CHAP: O SUCCESS id 3 len 4
00:16:39: BR0:1 CHAP: Processing saved Challenge, id 3
00:16:39: BR0:1 CHAP: O RESPONSE id 3 len 23 from "r5"
00:16:39: BR0:1 CHAP: I SUCCESS id 3 len 4
00:16:39: BR0:1 DDR: PPP callback Callback server starting to r2 8358661
00:16:39: BR0 DDR: has total 2 call(s), dial_out 0, dial_in 0
00:16:39: %DIALER-6-UNBIND: Interface BR0:1 unbound from profile Di0
00:16:39: BR0:1 DDR: disconnecting call
00:16:39: BR0:1 IPCP: PPP phase is AUTHENTICATING, discarding packet
00:16:39: BR0:1 CDPCP: PPP phase is AUTHENTICATING, discarding packet
00:16:39: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down
00:16:39: BR0:1 PPP: Phase is TERMINATING
00:16:39: BR0:1 LCP: State is Closed
00:16:39: BR0:1 PPP: Phase is DOWN
00:16:39: BR0:1 DDR: disconnecting call
00:16:40: Di0 DDR: cdp, 272 bytes, outgoing uninteresting (no list matched)
00:16:54: DDR: Callback timer expired
00:16:54: Di0 DDR: beginning callback to r2 8358661
00:16:54: BR0 DDR: rotor dialout [priority]
00:16:54: BR0 DDR: Dialing cause Callback return call
00:16:54: BR0 DDR: Attempting to dial 8358661
00:16:54: DDR: Freeing callback to r2 8358661
00:16:54: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
00:16:54: %DIALER-6-BIND: Interface BR0:1 bound to profile Di0
00:16:54: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 8358661
00:16:54: BR0:1 PPP: Treating connection as a callout
00:16:54: BR0:1 PPP: Phase is ESTABLISHING, Active Open
00:16:54: BR0:1 LCP: O CONFREQ [Closed] id 4 len 15
00:16:54: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:54: BR0:1 LCP: MagicNumber 0x001BAE69 (0x0506001BAE69)
00:16:55: BR0:1 LCP: I CONFREQ [REQsent] id 4 len 15
00:16:55: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:55: BR0:1 LCP: MagicNumber 0x001B858E (0x0506001B858E)
00:16:55: BR0:1 LCP: O CONFACK [REQsent] id 4 len 15
00:16:55: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:55: BR0:1 LCP: MagicNumber 0x001B858E (0x0506001B858E)
00:16:55: BR0:1 LCP: I CONFACK [ACKsent] id 4 len 15
00:16:55: BR0:1 LCP: AuthProto CHAP (0x0305C22305)
00:16:55: BR0:1 LCP: MagicNumber 0x001BAE69 (0x0506001BAE69)
00:16:55: BR0:1 LCP: State is Open
00:16:55: BR0:1 PPP: Phase is AUTHENTICATING, by both
00:16:55: BR0:1 CHAP: O CHALLENGE id 4 len 23 from "r5"
00:16:55: BR0:1 CHAP: I CHALLENGE id 4 len 23 from "r2"
00:16:55: BR0:1 CHAP: O RESPONSE id 4 len 23 from "r5"
00:16:55: BR0:1 CHAP: I SUCCESS id 4 len 4
00:16:55: BR0:1 CHAP: I RESPONSE id 4 len 23 from "r2"
00:16:55: BR0:1 CHAP: O SUCCESS id 4 len 4
00:16:55: BR0:1 DDR: No callback negotiated
00:16:55: BR0:1 PPP: Phase is UP
00:16:55: BR0:1 IPCP: O CONFREQ [Not negotiated] id 2 len 10
00:16:55: BR0:1 IPCP: Address 25.25.25.5 (0x030619191905)
00:16:55: BR0:1 CDPCP: O CONFREQ [Closed] id 2 len 4
00:16:55: BR0:1 IPCP: I CONFREQ [REQsent] id 4 len 10
00:16:55: BR0:1 IPCP: Address 25.25.25.2 (0x030619191902)
00:16:55: BR0:1 IPCP: O CONFACK [REQsent] id 4 len 10
00:16:55: BR0:1 IPCP: Address 25.25.25.2 (0x030619191902)
00:16:55: BR0:1 CDPCP: I CONFREQ [REQsent] id 4 len 4
00:16:55: BR0:1 CDPCP: O CONFACK [REQsent] id 4 len 4
00:16:55: BR0:1 IPCP: I CONFACK [ACKsent] id 2 len 10
00:16:55: BR0:1 IPCP: Address 25.25.25.5 (0x030619191905)
00:16:55: BR0:1 IPCP: State is Open
00:16:55: BR0:1 CDPCP: I CONFACK [ACKsent] id 2 len 4
00:16:55: BR0:1 CDPCP: State is Open
00:16:55: BR0:1 DDR: dialer protocol up
00:16:55: Di0 IPCP: Install route to 25.25.25.2
00:16:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed
state
to up
00:17:00: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 8358661 r2
**********************************

R5--- Show dialer
******************************
BRI0 - dialer type = ISDN

Dial String Successes Failures Last called Last status
0 incoming call(s) have been screened.
0 incoming call(s) rejected for callback.

BRI0:1 - dialer type = ISDN
Idle timer (120 secs), Fast idle timer (20 secs)
Wait for carrier (30 secs), Re-enable (15 secs)
Dialer state is data link layer up
Dial reason: Callback return call
Interface bound to profile Di0
Time until disconnect 111 secs
Current call connected 00:00:11
Connected to 8358661 (r2)
********************************

Sorry about all of the spam. By the way, callback using callerID is another
option. That method is much easier and doesn't require PPP.

Fred

>From: "Fear, Russell H" <Russell.Fear@capgemini.co.uk>
>Reply-To: "Fear, Russell H" <Russell.Fear@capgemini.co.uk>
>To: "'ccielab@groupstudy.com'" <ccielab@groupstudy.com>
>Subject: ISDN call back
>Date: Sat, 8 Sep 2001 13:58:58 +0100
>
>Can anyone in the group give me a working example of ISDN call back using
>dialer profiles ?
>
>TIA
>
>Russell
>
>
>* russell.fear@capgemini.co.uk



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:32:15 GMT-3