Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 1998 01:42:49 +0200 (CEST)
From:      Stefan Bethke <stb@transit.hanse.de>
To:        isdn@FreeBSD.ORG
Subject:   isdnd fails to accept incoming call?!
Message-ID:  <Pine.BSF.3.96.980611013024.2197A-100000@transit.hanse.de>

next in thread | raw e-mail | index | archive | help
Duh,

I'm pretty sure this is my fault, but currently, an incoming connection is
not accepted.

The relevant part of isdnd.rc: 

entry				
name        		= PELIKAN	# name for reference
usrdevicename		= ipr		# ipr, tel, rbch
usrdeviceunit		= 0		# unit number
isdncontroller		= 0		# contoller to use or -1 to use any
isdnchannel		= -1		# channel (1/2) to use or 0 or -1 for any
local-phone-incoming	= 256848	# this is my number
remote-phone-incoming	= 40736333
local-phone-dialout	= 256848	# this is my number
remote-phone-dialout	= 736333	# i call this number
remdial-handling	= first		# first, last or next
dialin-reaction		= callback	# accept, reject, ignore, answer, callback
dialout-type		= normal	# normal / calledback
b1protocol		= hdlc		# hdlc, raw
idletime-incoming	= 120		# incoming call idle timeout
idletime-outgoing	= 30		# outgoing call idle timeout
ratetype		= 0		# ratesfile entry to use
unitlength		= 90		# unitlength to assume
unitlengthsrc		= rate		# none, rate, cmdl, conf, aocd
dialretries		= 3		# # of dial retries
dialrandincr		= off		# random dial increment time
recoverytime		= 5		# time to wait between 2 dial tries
usedown			= off		# set i/f down
downtries		= 5		# retry cycles before set down
downtime		= 30		# time to be in down before going up

What happens is this: when ping'ing the remote, I get
Jun 11 01:27:50 transit isdnd[222]: DMN rate=240 sec/unit (day=4, beg=0, end=5,current=1)
Jun 11 01:27:50 transit isdnd[222]: CHD 00021 dialing out from 256848 to 736333
Jun 11 01:27:50 transit isdnd[222]: CHD 00021 PELIKAN outgoing call proceeding (ctl 0, ch 0)
Jun 11 01:27:51 transit isdnd[222]: CHD 00021 PELIKAN outgoing call active (ctl0, ch 0)
and the ping succeeds.

When I'm ping'ing myself from the outside:
Jun 11 01:28:13 transit isdnd[222]: CHD unknown incoming call from 40736333 to 256848

isdntrace shows this:
-- NT->TE - unit:0 - frame:000056 - time:11.06 01:28:04.69 - length:36 ---------
Dump:003  08 01 01 05 a1 04 02 88 90 18 01 89 6c 0a 21 81       ............l.!.
Dump:019  34 30 37 33 36 33 33 33 70 07 c1 32 35 36 38 34       40736333p..25684
Dump:035  38                                                    8Q931: pd=Q.931/I.451, cr=0x01 (from origination), message=SETUP:
     [sending complete]
     [bearer capability:
          cap=unrestricted digital information
          std=CCITT
          rate=64 kbit/s
          mode=circuit]
     [channel id: channel=B-1 (exclusive)]
     [calling party number: 40736333 (type=national, plan=ISDN,
          presentation allowed, screening user provided: verified & passed)]
     [called party number: 256848 (type=subscriber, plan=ISDN)]

Looks perfectly sane to me.

What did I do wrong?

Thanks,
Stefan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980611013024.2197A-100000>