From owner-freebsd-isdn@FreeBSD.ORG Mon Jul 9 09:30:45 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B58916A469 for ; Mon, 9 Jul 2007 09:30:45 +0000 (UTC) (envelope-from zytek-lists@nuxi.pl) Received: from xsmtp03.mail2web.com (xsmtp03.mail2web.com [168.144.250.223]) by mx1.freebsd.org (Postfix) with ESMTP id 76B4613C48C for ; Mon, 9 Jul 2007 09:30:45 +0000 (UTC) (envelope-from zytek-lists@nuxi.pl) Received: from [168.144.108.2] (helo=M2W002.mail2web.com) by xsmtp03.mail2web.com with smtp (Exim 4.63) (envelope-from ) id 1I7pZr-00013O-O3 for freebsd-isdn@freebsd.org; Mon, 09 Jul 2007 05:30:45 -0400 Message-ID: <380-2200771993043715@M2W002.mail2web.com> X-Priority: 3 X-Originating-IP: 213.172.177.22 X-URL: http://mail2web.com/ From: "zytek-lists@nuxi.pl" To: freebsd-isdn@freebsd.org Date: Mon, 9 Jul 2007 05:30:43 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Relays-External: [ ip=168.144.108.2 rdns=m2w002.mail2web.com helo=M2W002.mail2web.com by=xsmtp03.mail2web.com ident= envfrom=zytek-lists@nuxi.pl intl=0 id=1I7pZr-00013O-O3 auth= ] X-Spam-Relays-Internal: X-Spam-Relays-Untrusted: X-Spam-Relays-Trusted: [ ip=168.144.108.2 rdns=m2w002.mail2web.com helo=M2W002.mail2web.com by=xsmtp03.mail2web.com ident= envfrom=zytek-lists@nuxi.pl intl=0 id=1I7pZr-00013O-O3 auth= ] Subject: Re: help with ISDN line setup X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: zytek-lists@nuxi.pl List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 09:30:45 -0000 > Hi, > > Your setup is like this, right=3F > > [Telcom] <-> [NTBA] <-> [HFC-S PCI A card] <-> [I4B] Yes, exactly=2E > It might be that your ISDN cable needs a resistor=2E Resistor=3F Could you be more verbose=3F > Maybe you could try the following=2E Build the ISDN crossover cable that= is=20 > described in "man ihfc"=2E Then execute the following command: >=20 > isdnconfig -u 0 -p DRVR=5FDSS1=5FNT power=5Fon >=20 > Then connect your equipment like this: >=20 > [Your ISDN phone] <-> [ISDN crossover cable] <-> [HFC-S PCI A card] <-> [I4B] I have tried but the phone does NOT power on=2E I have double checked the cable I have made, it's OK (checked with cable tester)=2E Card was in power=5Fsave: off=2E The telephone was dead=2E There is one jumper on the card, I will power off computer and see what it is responsible for=2E Lost the card's manual=2E :) --=20 Jakub Glazik -------------------------------------------------------------------- mail2web=2Ecom =96 Enhanced email for the mobile individual based on Micro= soft=AE Exchange - http://link=2Email2web=2Ecom/Personal/EnhancedEmail From owner-freebsd-isdn@FreeBSD.ORG Mon Jul 9 11:08:35 2007 Return-Path: X-Original-To: freebsd-isdn@FreeBSD.org Delivered-To: freebsd-isdn@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 998CB16A4D1 for ; Mon, 9 Jul 2007 11:08:35 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 713BD13C46C for ; Mon, 9 Jul 2007 11:08:35 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l69B8ZFf044830 for ; Mon, 9 Jul 2007 11:08:35 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l69B8XrG044826 for freebsd-isdn@FreeBSD.org; Mon, 9 Jul 2007 11:08:33 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Jul 2007 11:08:33 GMT Message-Id: <200707091108.l69B8XrG044826@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-isdn@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 11:08:35 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/79117 isdn [iavc] iavc(4) for AVM B1 PCI does not attach 1 problem total. From owner-freebsd-isdn@FreeBSD.ORG Mon Jul 9 16:24:30 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18DB516A400 for ; Mon, 9 Jul 2007 16:24:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id A82EB13C45A for ; Mon, 9 Jul 2007 16:24:24 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [212.17.141.53] (account mc467741@c2i.net HELO [10.150.99.181]) by mailfe04.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 540555680; Mon, 09 Jul 2007 18:24:21 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org, zytek-lists@nuxi.pl Date: Mon, 9 Jul 2007 18:24:21 +0200 User-Agent: KMail/1.9.5 References: <380-2200771993043715@M2W002.mail2web.com> In-Reply-To: <380-2200771993043715@M2W002.mail2web.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707091824.21408.hselasky@c2i.net> Cc: Subject: Re: help with ISDN line setup X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 16:24:30 -0000 On Monday 09 July 2007 11:30, zytek-lists@nuxi.pl wrote: > > Hi, > > > > Your setup is like this, right? > > > > [Telcom] <-> [NTBA] <-> [HFC-S PCI A card] <-> [I4B] > > Yes, exactly. > > > It might be that your ISDN cable needs a resistor. > > Resistor? Could you be more verbose? Usually there is a switch on the NTBA where you can select 50,68 or 100 Ohms resistance. > > > Maybe you could try the following. Build the ISDN crossover cable that is > > described in "man ihfc". Then execute the following command: > > > > isdnconfig -u 0 -p DRVR_DSS1_NT power_on > > > > Then connect your equipment like this: > > > > [Your ISDN phone] <-> [ISDN crossover cable] <-> [HFC-S PCI A card] <-> > > [I4B] > > > I have tried but the phone does NOT power on. I have double checked the > cable I have made, it's OK (checked with cable tester). Card was in > power_save: off. The telephone was dead. Your ISDN phone is probably powered over the ISDN cable. Do you know if your NTBA has ISDN on the up-link towards the telecom ? > > There is one jumper on the card, I will power off computer and see > what it is responsible for. Lost the card's manual. :) --HPS From owner-freebsd-isdn@FreeBSD.ORG Wed Jul 11 22:48:21 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C69B16A400 for ; Wed, 11 Jul 2007 22:48:21 +0000 (UTC) (envelope-from support@wanagain.net) Received: from mx1.wanagain.net (mx1.wanagain.net [62.244.101.75]) by mx1.freebsd.org (Postfix) with ESMTP id A86BE13C48A for ; Wed, 11 Jul 2007 22:48:20 +0000 (UTC) (envelope-from support@wanagain.net) Received: from localhost (localhost [127.0.0.1]) by mx1.wanagain.net (Postfix) with ESMTP id 325D911F81E for ; Thu, 12 Jul 2007 00:48:19 +0200 (CEST) X-Virus-Scanned: amavisd-new at wanagain.net Received: from mx1-2.wanagain.net ([62.244.101.87]) by localhost (mx1.wanagain.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2mUKkA1ZaDUa for ; Thu, 12 Jul 2007 00:48:16 +0200 (CEST) Received: from [192.168.0.10] (milo.giraya.net [88.169.21.92]) by mx1-2.wanagain.net (Postfix) with ESMTP id 1268811F81D for ; Thu, 12 Jul 2007 00:48:15 +0200 (CEST) Message-ID: <46955E2F.6040405@wanagain.net> Date: Thu, 12 Jul 2007 00:48:15 +0200 From: Mikael Batard Organization: Wan Again User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070604 Thunderbird/1.5.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-isdn@freebsd.org References: <4665CAFA.3080801@wanagain.net> <200706060916.48120.hselasky@c2i.net> <46667DD4.3010609@wanagain.net> <200706061455.21425.hselasky@c2i.net> In-Reply-To: <200706061455.21425.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Digium b410p with i4b X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 22:48:21 -0000 Hi, I have some problems with incoming calls with digium b410p and i4b. Sometimes it doesn't work and I don't know why. Hardphones doesn't ring at all, but I can see that these missed calls are handle by asterisk. But they're not handle normally by chan_capi. Here's the log for a missed call (verbose+debug+capi debug) : Jul 12 00:26:24 DEBUG[2917] channel.c: Set channel CAPI/ISDN3/0987-0 to write format slin Jul 12 00:26:24 DEBUG[2917] res_musiconhold.c: CAPI/ISDN3/0987-0 Opened file 0 '/usr/local/share/asterisk/mohmp3/Pilot' Jul 12 00:26:24 WARNING[2917] interface.c: Junk at the beginning of frame 49443303 Jul 12 00:26:24 VERBOSE[2917] logger.c: == chan_capi_write:4799:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: == /// Lots of "chan_capi_write" lines same as the one above /// Jul 12 00:31:42 VERBOSE[2917] logger.c: CAPI_INFO_IND { header { WORD wLen = 0x000f WORD wApp = 0x0000 WORD wCmd = 0x8492 WORD wNum = 0x0000 DWORD dwCid = 0x0000380a } data { WORD wInfoNum = 0x805a STRUCT InfoElement.ptr = 0x00 '?'. } } Jul 12 00:31:42 VERBOSE[2917] logger.c: CAPI_INFO_RESP { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x846d WORD wNum = 0x0000 DWORD dwCid = 0x0000380a } data { } } Jul 12 00:31:42 VERBOSE[2917] logger.c: -- capi_handle_info_indication:5200:ENTRY=ISDN3:PLCI=0x380a:PBX_CHAN=CAPI/ISDN3/0987-2: -- RELEASE COMPLETE Jul 12 00:31:42 VERBOSE[2917] logger.c: CAPI_DISCONNECT_IND { header { WORD wLen = 0x000e WORD wApp = 0x0000 WORD wCmd = 0x848c WORD wNum = 0x0000 DWORD dwCid = 0x0000380a } data { WORD wReason = 0x3451 } } Jul 12 00:31:42 VERBOSE[2917] logger.c: CAPI_DISCONNECT_RESP { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x8473 WORD wNum = 0x0000 DWORD dwCid = 0x0000380a } data { } Jul 12 00:31:42 VERBOSE[2917] logger.c: == cd_free:2152:ENTRY=ISDN3:PLCI=0x380a:PBX_CHAN=CAPI/ISDN3/0987-2: == Jul 12 00:31:42 VERBOSE[2917] logger.c: > CAPI: Command=DISCONNECT_IND, 0x848c: no call descriptor for PLCI=0x380a, MSGNUM=0x0000: Jul 12 00:31:42 ERROR[2917] chan_capi.c: PBX channel has no interface! Jul 12 00:31:42 ERROR[2917] chan_capi.c: PBX channel has no interface! Jul 12 00:31:42 VERBOSE[2917] logger.c: -- Stopped music on hold on CAPI/ISDN3/0987-2 Jul 12 00:31:42 DEBUG[2917] channel.c: Set channel CAPI/ISDN3/0987-2 to write format alaw Jul 12 00:31:42 DEBUG[2917] channel.c: Scheduling timer at 0 sample intervals Here's the log for a normal call : Jul 12 00:26:24 DEBUG[2917] channel.c: Set channel CAPI/ISDN3/0987-0 to write format slin Jul 12 00:26:24 DEBUG[2917] res_musiconhold.c: CAPI/ISDN3/0987-0 Opened file 0 '/usr/local/share/asterisk/mohmp3/Pilot' Jul 12 00:26:24 WARNING[2917] interface.c: Junk at the beginning of frame 49443303 Jul 12 00:26:24 VERBOSE[2917] logger.c: == chan_capi_write:4799:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: == /// Lots of "chan_capi_write" lines same as the one above /// Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_CONNECT_ACTIVE_IND { header { WORD wLen = 0x0010 WORD wApp = 0x0000 WORD wCmd = 0x8484 WORD wNum = 0x0000 DWORD dwCid = 0x0000360a } data { STRUCT connected_telno.ptr = 0x00 '?'. STRUCT connected_subaddr.ptr= 0x00 '?'. STRUCT LLC.ptr = 0x00 '?'. STRUCT date_time.ptr = 0x00 '?'. } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_CONNECT_ACTIVE_RESP { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x847b WORD wNum = 0x0000 DWORD dwCid = 0x0000360a } data { } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_INFO_IND { header { WORD wLen = 0x000f WORD wApp = 0x0000 WORD wCmd = 0x8492 WORD wNum = 0x0000 DWORD dwCid = 0x0000360a } data { WORD wInfoNum = 0x800f STRUCT InfoElement.ptr = 0x00 '?'. } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_INFO_RESP { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x846d WORD wNum = 0x0000 DWORD dwCid = 0x0000360a } data { } } Jul 12 00:26:25 VERBOSE[2917] logger.c: -- capi_handle_info_indication:5187:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: -- CONNECT ACK Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_CONNECT_B3_IND { header { WORD wLen = 0x000d WORD wApp = 0x0000 WORD wCmd = 0x8486 WORD wNum = 0x0000 DWORD dwCid = 0x0001360a } data { STRUCT NCPI.ptr = 0x00 '?'. } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_CONNECT_B3_RESP { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x8479 WORD wNum = 0x0000 DWORD dwCid = 0x0001360a } data { WORD wReject = 0x0000 STRUCT NCPI.ptr = (empty) } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_CONNECT_B3_ACTIVE_IND { header { WORD wLen = 0x000d WORD wApp = 0x0000 WORD wCmd = 0x8488 WORD wNum = 0x0000 DWORD dwCid = 0x0001360a } data { STRUCT NCPI.ptr = 0x00 '?'. } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_CONNECT_B3_ACTIVE_RESP { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x8477 WORD wNum = 0x0000 DWORD dwCid = 0x0001360a } data { } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_DATA_B3_REQ { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x847e WORD wNum = 0x0008 DWORD dwCid = 0x0001360a } data { DWORD dwPtr_1 = 0x08135012 WORD wLen = 0x00a0 WORD wHandle = 0x0000 WORD wFlags = 0x0000 QWORD qwPtr_2 = 0x0000000000000000 } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_DATA_B3_REQ { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x847e WORD wNum = 0x0009 DWORD dwCid = 0x0001360a } data { DWORD dwPtr_1 = 0x081350b2 WORD wLen = 0x00a0 WORD wHandle = 0x0000 WORD wFlags = 0x0000 QWORD qwPtr_2 = 0x0000000000000000 } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_DATA_B3_REQ { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x847e WORD wNum = 0x000a DWORD dwCid = 0x0001360a } data { DWORD dwPtr_1 = 0x08135152 WORD wLen = 0x00a0 WORD wHandle = 0x0000 WORD wFlags = 0x0000 QWORD qwPtr_2 = 0x0000000000000000 } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_DATA_B3_REQ { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x847e WORD wNum = 0x000b DWORD dwCid = 0x0001360a } data { DWORD dwPtr_1 = 0x081351f2 WORD wLen = 0x00a0 WORD wHandle = 0x0000 WORD wFlags = 0x0000 QWORD qwPtr_2 = 0x0000000000000000 } } Jul 12 00:26:25 VERBOSE[2917] logger.c: == capi_send_echo_cancel_req:3402:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: == Setting up echo canceller, function=1, options=4, tail=64. Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_FACILITY_REQ { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x8468 WORD wNum = 0x000c DWORD dwCid = 0x0000360a } data { WORD wSelector = 0x0008 STRUCT Param.ptr = 0x09 '?', 0x01 '?', 0x00 '?', 0x06 '?', = 0x04 '?', 0x00 '?', 0x40 '@', 0x00 '?', = 0x00 '?', 0x00 '?'. } } Jul 12 00:26:25 VERBOSE[2917] logger.c: == capi_send_detect_dtmf_req:3447:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: == Setting up DTMF detector, flag=1 Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_DATA_B3_CONF { header { WORD wLen = 0x0010 WORD wApp = 0x0000 WORD wCmd = 0x8481 WORD wNum = 0x0008 DWORD dwCid = 0x0001360a } data { WORD wHandle = 0x0000 WORD wInfo = 0x0000 } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_DATA_B3_REQ { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x847e WORD wNum = 0x000d DWORD dwCid = 0x0001360a } data { DWORD dwPtr_1 = 0x08135292 WORD wLen = 0x00a0 WORD wHandle = 0x0000 WORD wFlags = 0x0000 QWORD qwPtr_2 = 0x0000000000000000 } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_FACILITY_CONF { header { WORD wLen = 0x0016 WORD wApp = 0x0000 WORD wCmd = 0x8497 WORD wNum = 0x000c DWORD dwCid = 0x0000360a } data { WORD wInfo = 0x0000 WORD wSelector = 0x0008 STRUCT Param.ptr = 0x05 '?', 0x01 '?', 0x00 '?', 0x02 '?', = 0x00 '?', 0x00 '?'. } } Jul 12 00:26:25 VERBOSE[2917] logger.c: -- capi_handle_facility_confirmation_cd:6173:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: -- Echo canceller successfully set up Jul 12 00:26:25 VERBOSE[2917] logger.c: == chan_capi_read:4773:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: == Jul 12 00:26:25 DEBUG[2917] channel.c: Dropping duplicate answer! Jul 12 00:26:25 VERBOSE[2917] logger.c: == chan_capi_write:4799:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: == Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_DATA_B3_IND { header { WORD wLen = 0x001e WORD wApp = 0x0000 WORD wCmd = 0x8480 WORD wNum = 0x0000 DWORD dwCid = 0x0001360a } data { DWORD dwPtr_1 = 0x089bd026 WORD wLen = 0x00a0 WORD wHandle = 0x0000 WORD wFlags = 0x0000 QWORD qwPtr_2 = 0x0000000000000000 } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_DATA_B3_RESP { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x847f WORD wNum = 0x0000 DWORD dwCid = 0x0001360a } data { WORD wHandle = 0x0000 } } Jul 12 00:26:25 VERBOSE[2917] logger.c: -- cd_send_pbx_voice:2676:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: -- temp_fr.datalen=160, temp_fr.subclass=8 Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_DATA_B3_CONF { header { WORD wLen = 0x0010 WORD wApp = 0x0000 WORD wCmd = 0x8481 WORD wNum = 0x0009 DWORD dwCid = 0x0001360a } data { WORD wHandle = 0x0000 WORD wInfo = 0x0000 } } Jul 12 00:26:25 VERBOSE[2917] logger.c: CAPI_DATA_B3_REQ { header { WORD wLen = 0x0000 WORD wApp = 0x0000 WORD wCmd = 0x847e WORD wNum = 0x000e DWORD dwCid = 0x0001360a } data { DWORD dwPtr_1 = 0x08135332 WORD wLen = 0x00a0 WORD wHandle = 0x0000 WORD wFlags = 0x0000 QWORD qwPtr_2 = 0x0000000000000000 } } Jul 12 00:26:25 VERBOSE[2917] logger.c: == chan_capi_read:4773:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: == Jul 12 00:26:25 DEBUG[2917] channel.c: Generator got voice, switching to phase locked mode Jul 12 00:26:25 DEBUG[2917] channel.c: Scheduling timer at 0 sample intervals Maybe there is something to tune in isdnconfig configuration ? Thanks for your help. Regards -- Mikael Batard Wan Again 12 Route de l'Isle 84510 Caumont sur Durance Tel: +33 (0)4 90 01 26 86 Fax: +33 (0)4 90 23 10 58 http://www.wanagain.fr/ From owner-freebsd-isdn@FreeBSD.ORG Thu Jul 12 06:18:34 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5FD0F16A400 for ; Thu, 12 Jul 2007 06:18:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id EB52F13C455 for ; Thu, 12 Jul 2007 06:18:33 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [212.17.141.54] (account mc467741@c2i.net HELO [10.150.229.89]) by mailfe04.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 543004986; Thu, 12 Jul 2007 08:18:30 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Thu, 12 Jul 2007 08:18:30 +0200 User-Agent: KMail/1.9.5 References: <4665CAFA.3080801@wanagain.net> <200706061455.21425.hselasky@c2i.net> <46955E2F.6040405@wanagain.net> In-Reply-To: <46955E2F.6040405@wanagain.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707120818.30352.hselasky@c2i.net> Cc: Subject: Re: Digium b410p with i4b X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 06:18:34 -0000 On Thursday 12 July 2007 00:48, Mikael Batard wrote: > Hi, > > I have some problems with incoming calls with digium b410p and i4b. > > Sometimes it doesn't work and I don't know why. > Hardphones doesn't ring at all, but I can see that these missed calls > are handle by asterisk. > But they're not handle normally by chan_capi. > > Here's the log for a missed call (verbose+debug+capi debug) : > > Jul 12 00:26:24 DEBUG[2917] channel.c: Set channel CAPI/ISDN3/0987-0 to > write format slin > Jul 12 00:26:24 DEBUG[2917] res_musiconhold.c: CAPI/ISDN3/0987-0 Opened > file 0 '/usr/local/share/asterisk/mohmp3/Pilot' > Jul 12 00:26:24 WARNING[2917] interface.c: Junk at the beginning of > frame 49443303 > Jul 12 00:26:24 VERBOSE[2917] logger.c: == > chan_capi_write:4799:ENTRY=ISDN3:PLCI=0x360a:PBX_CHAN=CAPI/ISDN3/0987-0: > == > > /// Lots of "chan_capi_write" lines same as the one above /// > > Jul 12 00:31:42 VERBOSE[2917] logger.c: CAPI_INFO_IND { > header { > WORD wLen = 0x000f > WORD wApp = 0x0000 > WORD wCmd = 0x8492 > WORD wNum = 0x0000 > DWORD dwCid = 0x0000380a > } > data { > WORD wInfoNum = 0x805a > STRUCT InfoElement.ptr = 0x00 '?'. > } > } > Hi Mikael, wInfoNum equal to 0x805A means RELEASE_COMPLETE This message is sent two times: 1) When a call is disconnected. You can run "isdndecode -u 0 -i -o -x" to get debugging information from "controller 0". "isdndecode -u 1 -i -o -x" will get you debugging information from "controller 1" and so on. Send me a log from ISDN-decode, and I will check who is disconnecting the call. 2) When another CAPI application has answered the call. Check if there is another CAPI application or I4B application (isdnd) running, that listenes for calls. --HPS From owner-freebsd-isdn@FreeBSD.ORG Thu Jul 12 16:33:27 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0442716A41F for ; Thu, 12 Jul 2007 16:33:27 +0000 (UTC) (envelope-from support@wanagain.net) Received: from mx1.wanagain.net (mx1.wanagain.net [62.244.101.75]) by mx1.freebsd.org (Postfix) with ESMTP id E1CFD13C459 for ; Thu, 12 Jul 2007 16:33:25 +0000 (UTC) (envelope-from support@wanagain.net) Received: from localhost (localhost [127.0.0.1]) by mx1.wanagain.net (Postfix) with ESMTP id C871211F83D for ; Thu, 12 Jul 2007 18:33:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at wanagain.net Received: from mx1-2.wanagain.net ([62.244.101.87]) by localhost (mx1.wanagain.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BKZcpzgvNOVB for ; Thu, 12 Jul 2007 18:33:19 +0200 (CEST) Received: from [192.168.0.10] (milo.giraya.net [88.169.21.92]) by mx1-2.wanagain.net (Postfix) with ESMTP id E966C11F838 for ; Thu, 12 Jul 2007 18:33:18 +0200 (CEST) Message-ID: <469657CD.8030305@wanagain.net> Date: Thu, 12 Jul 2007 18:33:17 +0200 From: Mikael Batard Organization: Wan Again User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070604 Thunderbird/1.5.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-isdn@freebsd.org References: <4665CAFA.3080801@wanagain.net> <200706061455.21425.hselasky@c2i.net> <46955E2F.6040405@wanagain.net> <200707120818.30352.hselasky@c2i.net> In-Reply-To: <200707120818.30352.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Digium b410p with i4b X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 16:33:27 -0000 On 12.07.2007 08:18, Hans Petter Selasky wrote: > On Thursday 12 July 2007 00:48, Mikael Batard wrote: >> Jul 12 00:31:42 VERBOSE[2917] logger.c: CAPI_INFO_IND { >> header { >> WORD wLen = 0x000f >> WORD wApp = 0x0000 >> WORD wCmd = 0x8492 >> WORD wNum = 0x0000 >> DWORD dwCid = 0x0000380a >> } >> data { >> WORD wInfoNum = 0x805a >> STRUCT InfoElement.ptr = 0x00 '?'. >> } >> } >> > > Hi Mikael, Hi, > wInfoNum equal to 0x805A means RELEASE_COMPLETE > > This message is sent two times: > > 1) When a call is disconnected. > > You can run "isdndecode -u 0 -i -o -x" to get debugging information > from "controller 0". "isdndecode -u 1 -i -o -x" will get you debugging > information from "controller 1" and so on. Send me a log from ISDN-decode, > and I will check who is disconnecting the call. OK, here's the debug for a missed call : # isdndecode -u 8 -i -o -x =========== isdndecode controller #8 ========== started Thu Jul 12 18:22:38 2007 -- NT->TE - unit:08 --------------- time:12.07 18:22:40.891979 ---------------- L1 STATE: F7: Activated -- NT->TE - unit:08 frame:002255 - time:12.07 18:22:41.036056 - length:40 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L3 03 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 04 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 05 16 0------- Call Reference is sent from call originator -0010110 Call Reference = 22 = 0x16 L3 06 05 0------- Message type extension = 0 -0000101 Message type = SETUP (0x05) L3 07 A1 1------- Single octet Information element -0100001 Sending complete L3 08 04 0------- Variable length Information element -0000100 IE = bearer capability L3 09 03 00000011 IE Length = 3 bytes L3 0A 90 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---10000 Capability = 0x10, 3.1 kHz audio L3 0B 90 1------- Extension Bit = 1 (no extension, final octet) -00----- Mode = 0x00, circuit ---10000 Rate = 0x10, 64 kbit/s L3 0C A3 1------- Extension Bit = 1 (no extension, final octet) -01----- Layer 1 identity = 1 ---00011 Layer 1 Protocol = 0x03, G.711 a-Law L3 0D 18 0------- Variable length Information element -0011000 IE = channel identification L3 0E 01 00000001 IE Length = 1 bytes L3 0F 89 1------- Extension Bit = 1 (no extension, final octet) -0------ Interface Id present = No --0----- Interface Type = BRI ---0---- Spare ----1--- Channel is exclusive -----0-- Channel is not the D-Channel ------01 Channel = B-1 L3 10 1E 0------- Variable length Information element -0011110 IE = progress indicator L3 11 02 00000010 IE Length = 2 bytes L3 12 84 -00----- Coding standard = CCITT ----0100 location = Public network serving remote user L3 13 83 -0000011 description = Origination address is non-ISDN L3 14 6C 0------- Variable length Information element -1101100 IE = calling party number L3 15 0B 00001011 IE Length = 11 bytes L3 16 20 0------- Extension Bit = 0 (with extension, octet follows) -010---- Type = National number ----0000 Plan = Unknown (0x0) L3 17 83 1------- Extension Bit = 1 (no extension, final octet) -00----- Presentation = allowed ---000-- Spare ------11 Screening = network provided L3 18 39 00111001 Number digit = 9 L3 19 35 00110101 Number digit = 5 L3 1A 32 00110010 Number digit = 2 L3 1B 37 00110111 Number digit = 7 L3 1C 36 00110110 Number digit = 6 L3 1D 30 00110000 Number digit = 0 L3 1E 37 00110111 Number digit = 7 L3 1F 35 00110101 Number digit = 5 L3 20 30 00110000 Number digit = 0 L3 21 70 0------- Variable length Information element -1110000 IE = called party number L3 22 05 00000101 IE Length = 5 bytes L3 23 81 1------- Extension Bit = 1 (no extension, final octet) -000---- Type = Unknown ----0001 Plan = ISDN (E.164) (0x1) L3 24 32 00110010 Number digit = 2 L3 25 36 00110110 Number digit = 6 L3 26 38 00111000 Number digit = 8 L3 27 36 00110110 Number digit = 6 -- TE->NT - unit:08 frame:002256 - time:12.07 18:22:41.036109 - length:8 ----- L2 00 FC 111111-- SAPI = 63 (Layer 2 Management) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 AB 10101011 Ri = 0xab57 (Reference number high) L2 05 57 01010111 Ri (Reference Number low) L2 06 01 00000001 TEI Identity message = REQUEST (0x01) L2 07 FF 1111111- Ai = 127 (Action Indicator = ) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:08 frame:002257 - time:12.07 18:22:41.068061 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 AB 10101011 Ri = 0xab57 (Reference number high) L2 05 57 01010111 Ri (Reference Number low) L2 06 02 00000010 TEI Identity message = ASSIGNED (0x02) L2 07 E5 1110010- Ai = 114 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- TE->NT - unit:08 frame:002258 - time:12.07 18:22:41.068100 - length:3 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 7F 011-1111 U-Frame: SABME (Set Asynchonous Balanced Mode) ---1---- P/F, Poll = Immediate Response Required -- TE->NT - unit:08 frame:002259 - time:12.07 18:22:41.068103 - length:8 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 00 0000000- N(S) = 0 (send sequence number) -------0 I-Frame: Information transfer L2 03 00 0000000- N(R) = 0 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 7F 0------- Call Reference is sent from call originator -1111111 Call Reference = 127 = 0x7f L3 07 75 0------- Message type extension = 0 -1110101 Message type = STATUS_ENQUIRY (0x75) -- TE->NT - unit:08 frame:002260 - time:12.07 18:22:41.068120 - length:8 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 02 0000001- N(S) = 1 (send sequence number) -------0 I-Frame: Information transfer L2 03 01 0000000- N(R) = 0 (receive sequence number) -------1 P/F, Poll = Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 7F 0------- Call Reference is sent from call originator -1111111 Call Reference = 127 = 0x7f L3 07 75 0------- Message type extension = 0 -1110101 Message type = STATUS_ENQUIRY (0x75) -- NT->TE - unit:08 frame:002261 - time:12.07 18:22:41.100057 - length:3 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 73 011-0011 U-Frame: UA (Unnumbered Acknowledge) ---1---- P/F, Final = Result of Poll -- NT->TE - unit:08 frame:002262 - time:12.07 18:22:41.100079 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 02 0000001- N(R) = 1 (receive sequence number) -------0 P/F, Final = No Result of Poll -- NT->TE - unit:08 frame:002263 - time:12.07 18:22:41.132058 - length:15 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 00 0000000- N(S) = 0 (send sequence number) -------0 I-Frame: Information transfer L2 03 02 0000001- N(R) = 1 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 FF 1------- Call Reference is sent to call originator -1111111 Call Reference = 127 = 0x7f L3 07 7D 0------- Message type extension = 0 -1111101 Message type = STATUS (0x7d) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 87 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0111 Location = ERROR: undefined/reserved L3 0B 9E 1------- Extension Bit = 1 (no extension, final octet) -0011110 Cause = 30: Q.850: response to STATUS ENQUIRY L3 0C 14 0------- Variable length Information element -0010100 IE = call state L3 0D 01 00000001 IE Length = 1 bytes L3 0E 00 -00----- Coding standard = CCITT ---00000 state = Null -- NT->TE - unit:08 frame:002264 - time:12.07 18:22:41.132081 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 05 0000010- N(R) = 2 (receive sequence number) -------1 P/F, Final = Result of Poll -- TE->NT - unit:08 frame:002265 - time:12.07 18:22:41.132110 - length:8 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 04 0000010- N(S) = 2 (send sequence number) -------0 I-Frame: Information transfer L2 03 03 0000001- N(R) = 1 (receive sequence number) -------1 P/F, Poll = Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 96 1------- Call Reference is sent to call originator -0010110 Call Reference = 22 = 0x16 L3 07 02 0------- Message type extension = 0 -0000010 Message type = CALL_PROCEEDING (0x02) -- NT->TE - unit:08 frame:002266 - time:12.07 18:22:41.164059 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 07 0000011- N(R) = 3 (receive sequence number) -------1 P/F, Final = Result of Poll -- NT->TE - unit:08 frame:002267 - time:12.07 18:22:41.164083 - length:15 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 02 0000001- N(S) = 1 (send sequence number) -------0 I-Frame: Information transfer L2 03 06 0000011- N(R) = 3 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 FF 1------- Call Reference is sent to call originator -1111111 Call Reference = 127 = 0x7f L3 07 7D 0------- Message type extension = 0 -1111101 Message type = STATUS (0x7d) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 87 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0111 Location = ERROR: undefined/reserved L3 0B 9E 1------- Extension Bit = 1 (no extension, final octet) -0011110 Cause = 30: Q.850: response to STATUS ENQUIRY L3 0C 14 0------- Variable length Information element -0010100 IE = call state L3 0D 01 00000001 IE Length = 1 bytes L3 0E 00 -00----- Coding standard = CCITT ---00000 state = Null -- TE->NT - unit:08 frame:002268 - time:12.07 18:22:41.164112 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 04 0000010- N(R) = 2 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required -- NT->TE - unit:08 frame:002269 - time:12.07 18:22:41.292059 - length:3 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 73 011-0011 U-Frame: UA (Unnumbered Acknowledge) ---1---- P/F, Final = Result of Poll -- NT->TE - unit:08 frame:002270 - time:12.07 18:22:41.580060 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 02 0000001- N(R) = 1 (receive sequence number) -------0 P/F, Final = No Result of Poll -- NT->TE - unit:08 frame:002271 - time:12.07 18:22:41.708061 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 04 0000010- N(R) = 2 (receive sequence number) -------0 P/F, Final = No Result of Poll -- NT->TE - unit:08 frame:002272 - time:12.07 18:22:43.788077 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 00 00000000 Ri = 0x0000 (Reference number high) L2 05 00 00000000 Ri (Reference Number low) L2 06 04 00000100 TEI Identity message = CHECK REQUEST (0x04) L2 07 FF 1111111- Ai = 127 (Action Indicator = ) -------1 Extension Bit = 1 (no extension, final octet) -- TE->NT - unit:08 frame:002273 - time:12.07 18:22:43.788110 - length:8 ----- L2 00 FC 111111-- SAPI = 63 (Layer 2 Management) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 AB 10101011 Ri = 0xab57 (Reference number high) L2 05 57 01010111 Ri (Reference Number low) L2 06 05 00000101 TEI Identity message = CHECK RESPONSE (0x05) L2 07 E5 1110010- Ai = 114 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:08 frame:002274 - time:12.07 18:22:44.812083 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 00 00000000 Ri = 0x0000 (Reference number high) L2 05 00 00000000 Ri (Reference Number low) L2 06 04 00000100 TEI Identity message = CHECK REQUEST (0x04) L2 07 E3 1110001- Ai = 113 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:08 frame:002275 - time:12.07 18:22:45.836089 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 00 00000000 Ri = 0x0000 (Reference number high) L2 05 00 00000000 Ri (Reference Number low) L2 06 04 00000100 TEI Identity message = CHECK REQUEST (0x04) L2 07 E3 1110001- Ai = 113 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:08 frame:002276 - time:12.07 18:22:46.860095 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 00 00000000 Ri = 0x0000 (Reference number high) L2 05 00 00000000 Ri (Reference Number low) L2 06 06 00000110 TEI Identity message = REMOVE (0x06) L2 07 E3 1110001- Ai = 113 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:08 frame:002277 - time:12.07 18:22:46.860123 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 00 00000000 Ri = 0x0000 (Reference number high) L2 05 00 00000000 Ri (Reference Number low) L2 06 06 00000110 TEI Identity message = REMOVE (0x06) L2 07 E3 1110001- Ai = 113 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- TE->NT - unit:08 frame:002278 - time:12.07 18:22:49.036118 - length:8 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 06 0000011- N(S) = 3 (send sequence number) -------0 I-Frame: Information transfer L2 03 05 0000010- N(R) = 2 (receive sequence number) -------1 P/F, Poll = Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 96 1------- Call Reference is sent to call originator -0010110 Call Reference = 22 = 0x16 L3 07 75 0------- Message type extension = 0 -1110101 Message type = STATUS_ENQUIRY (0x75) -- NT->TE - unit:08 frame:002279 - time:12.07 18:22:49.068112 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 09 0000100- N(R) = 4 (receive sequence number) -------1 P/F, Final = Result of Poll -- NT->TE - unit:08 frame:002280 - time:12.07 18:22:49.068138 - length:15 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 04 0000010- N(S) = 2 (send sequence number) -------0 I-Frame: Information transfer L2 03 08 0000100- N(R) = 4 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 16 0------- Call Reference is sent from call originator -0010110 Call Reference = 22 = 0x16 L3 07 7D 0------- Message type extension = 0 -1111101 Message type = STATUS (0x7d) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 87 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0111 Location = ERROR: undefined/reserved L3 0B 9E 1------- Extension Bit = 1 (no extension, final octet) -0011110 Cause = 30: Q.850: response to STATUS ENQUIRY L3 0C 14 0------- Variable length Information element -0010100 IE = call state L3 0D 01 00000001 IE Length = 1 bytes L3 0E 07 -00----- Coding standard = CCITT ---00111 state = Call received -- TE->NT - unit:08 frame:002281 - time:12.07 18:22:49.068168 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 06 0000011- N(R) = 3 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required -- NT->TE - unit:08 frame:002282 - time:12.07 18:22:51.692127 - length:4 ----- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 05 0000010- N(R) = 2 (receive sequence number) -------1 P/F, Poll = Immediate Response Required -- NT->TE - unit:08 frame:002283 - time:12.07 18:22:53.292137 - length:12 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 06 0000011- N(S) = 3 (send sequence number) -------0 I-Frame: Information transfer L2 03 08 0000100- N(R) = 4 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 16 0------- Call Reference is sent from call originator -0010110 Call Reference = 22 = 0x16 L3 07 5A 0------- Message type extension = 0 -1011010 Message type = RELEASE_COMPLETE (0x5a) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 87 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0111 Location = ERROR: undefined/reserved L3 0B EF 1------- Extension Bit = 1 (no extension, final octet) -1101111 Cause = 111: Q.850: protocol error, unspecified -- NT->TE - unit:08 frame:002284 - time:12.07 18:22:53.292178 - length:12 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 00 0000000- N(S) = 0 (send sequence number) -------0 I-Frame: Information transfer L2 03 04 0000010- N(R) = 2 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 16 0------- Call Reference is sent from call originator -0010110 Call Reference = 22 = 0x16 L3 07 4D 0------- Message type extension = 0 -1001101 Message type = RELEASE (0x4d) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 87 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0111 Location = ERROR: undefined/reserved L3 0B 90 1------- Extension Bit = 1 (no extension, final octet) -0010000 Cause = 16: Q.850: normal call clearing -- TE->NT - unit:08 frame:002285 - time:12.07 18:22:53.292205 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 08 0000100- N(R) = 4 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required -- NT->TE - unit:08 frame:002286 - time:12.07 18:22:53.356137 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 06 0000011- N(R) = 3 (receive sequence number) -------0 P/F, Final = No Result of Poll -- NT->TE - unit:08 frame:002287 - time:12.07 18:22:55.276150 - length:3 ----- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 53 010-0011 U-Frame: DISC (Disconnect) ---1---- P/F, Poll = Immediate Response Required -- TE->NT - unit:08 frame:002288 - time:12.07 18:22:55.276185 - length:3 ----- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 73 011-0011 U-Frame: UA (Unnumbered Acknowledge) ---1---- P/F, Final = Result of Poll -- NT->TE - unit:08 frame:002289 - time:12.07 18:22:55.340149 - length:3 ----- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 53 010-0011 U-Frame: DISC (Disconnect) ---1---- P/F, Poll = Immediate Response Required -- NT->TE - unit:08 --------------- time:12.07 18:23:06.444145 ---------------- L1 STATE: F3: Deactivated > 2) When another CAPI application has answered the call. > > Check if there is another CAPI application or I4B application (isdnd) running, > that listenes for calls. No, there is not another application that listen for calls, only i4b with chan_capi (from svn, revision 516) For the isdndecode debug, I can see a difference between missed and normal calls : ### Missed: -- NT->TE - unit:08 frame:002266 - time:12.07 18:22:41.164059 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E5 1110010- TEI = 114 = 0x72 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 07 0000011- N(R) = 3 (receive sequence number) -------1 P/F, Final = Result of Poll ### Normal: -- TE->NT - unit:10 frame:000664 - time:12.07 13:30:42.929876 - length:8 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 E3 1110001- TEI = 113 = 0x71 (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 06 0000011- N(S) = 3 (send sequence number) -------0 I-Frame: Information transfer L2 03 03 0000001- N(R) = 1 (receive sequence number) -------1 P/F, Poll = Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 90 1------- Call Reference is sent to call originator -0010000 Call Reference = 16 = 0x10 L3 07 07 0------- Message type extension = 0 -0000111 Message type = CONNECT (0x07) Regards -- Mikael Batard Wan Again 12 Route de l'Isle 84510 Caumont sur Durance Tel: +33 (0)4 90 01 26 86 Fax: +33 (0)4 90 23 10 58 http://www.wanagain.fr/ From owner-freebsd-isdn@FreeBSD.ORG Thu Jul 12 18:05:36 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5956D16A41F for ; Thu, 12 Jul 2007 18:05:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id EDA8413C4C6 for ; Thu, 12 Jul 2007 18:05:35 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [212.17.141.53] (account mc467741@c2i.net HELO [10.150.81.62]) by mailfe10.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 375001036; Thu, 12 Jul 2007 19:05:32 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Thu, 12 Jul 2007 19:05:33 +0200 User-Agent: KMail/1.9.5 References: <4665CAFA.3080801@wanagain.net> <200707120818.30352.hselasky@c2i.net> <469657CD.8030305@wanagain.net> In-Reply-To: <469657CD.8030305@wanagain.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707121905.33356.hselasky@c2i.net> Cc: Subject: Re: Digium b410p with i4b X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 18:05:36 -0000 Hi Mikael! You need to insert a: exten => n,xxx,Ringing when you receive the call(s) from ISDN in your dialplan! Actually Asterisk should do that, so maybe there is a bug in Asterisk. You can see on the trace that there is only: -- TE->NT - unit:08 frame:002265 - time:12.07 18:22:41.132110 - CALL_PROCEEDING from the TE side, and this state will timeout after 10-20 seconds per ISDN specification. That is most likely what happens. The "ringing" state on the other hand will timeout after approximately 2 minutes under I4B. --HPS From owner-freebsd-isdn@FreeBSD.ORG Thu Jul 12 20:33:08 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FCBA16A469 for ; Thu, 12 Jul 2007 20:33:08 +0000 (UTC) (envelope-from support@wanagain.net) Received: from mx1.wanagain.net (mx1.wanagain.net [62.244.101.75]) by mx1.freebsd.org (Postfix) with ESMTP id 6515113C45A for ; Thu, 12 Jul 2007 20:33:07 +0000 (UTC) (envelope-from support@wanagain.net) Received: from localhost (localhost [127.0.0.1]) by mx1.wanagain.net (Postfix) with ESMTP id 3811611F804 for ; Thu, 12 Jul 2007 22:33:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at wanagain.net Received: from mx1-2.wanagain.net ([62.244.101.87]) by localhost (mx1.wanagain.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uQOfmXutsJGB for ; Thu, 12 Jul 2007 22:33:01 +0200 (CEST) Received: from [192.168.0.10] (milo.giraya.net [88.169.21.92]) by mx1-2.wanagain.net (Postfix) with ESMTP id 4A0E011F806 for ; Thu, 12 Jul 2007 22:32:59 +0200 (CEST) Message-ID: <46968FFA.1020503@wanagain.net> Date: Thu, 12 Jul 2007 22:32:58 +0200 From: Mikael Batard Organization: Wan Again User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070604 Thunderbird/1.5.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-isdn@freebsd.org References: <4665CAFA.3080801@wanagain.net> <200707120818.30352.hselasky@c2i.net> <469657CD.8030305@wanagain.net> <200707121905.33356.hselasky@c2i.net> In-Reply-To: <200707121905.33356.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Digium b410p with i4b X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 20:33:08 -0000 On 12.07.2007 19:05, Hans Petter Selasky wrote: > Hi Mikael! Hi Hans, > You need to insert a: > > exten => n,xxx,Ringing > > when you receive the call(s) from ISDN in your dialplan! Done, but it doesn't work. I've got some missed calls again :( Here's new debug with Ringing added : # isdndecode -u 10 -i -o -x =========== isdndecode controller #10 ========== started Thu Jul 12 22:27:46 2007 -- NT->TE - unit:10 --------------- time:12.07 22:27:54.236616 ---------------- L1 STATE: F7: Activated -- NT->TE - unit:10 frame:002397 - time:12.07 22:27:54.236671 - length:40 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L3 03 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 04 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 05 2B 0------- Call Reference is sent from call originator -0101011 Call Reference = 43 = 0x2b L3 06 05 0------- Message type extension = 0 -0000101 Message type = SETUP (0x05) L3 07 A1 1------- Single octet Information element -0100001 Sending complete L3 08 04 0------- Variable length Information element -0000100 IE = bearer capability L3 09 03 00000011 IE Length = 3 bytes L3 0A 90 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---10000 Capability = 0x10, 3.1 kHz audio L3 0B 90 1------- Extension Bit = 1 (no extension, final octet) -00----- Mode = 0x00, circuit ---10000 Rate = 0x10, 64 kbit/s L3 0C A3 1------- Extension Bit = 1 (no extension, final octet) -01----- Layer 1 identity = 1 ---00011 Layer 1 Protocol = 0x03, G.711 a-Law L3 0D 18 0------- Variable length Information element -0011000 IE = channel identification L3 0E 01 00000001 IE Length = 1 bytes L3 0F 89 1------- Extension Bit = 1 (no extension, final octet) -0------ Interface Id present = No --0----- Interface Type = BRI ---0---- Spare ----1--- Channel is exclusive -----0-- Channel is not the D-Channel ------01 Channel = B-1 L3 10 1E 0------- Variable length Information element -0011110 IE = progress indicator L3 11 02 00000010 IE Length = 2 bytes L3 12 84 -00----- Coding standard = CCITT ----0100 location = Public network serving remote user L3 13 83 -0000011 description = Origination address is non-ISDN L3 14 6C 0------- Variable length Information element -1101100 IE = calling party number L3 15 0B 00001011 IE Length = 11 bytes L3 16 20 0------- Extension Bit = 0 (with extension, octet follows) -010---- Type = National number ----0000 Plan = Unknown (0x0) L3 17 83 1------- Extension Bit = 1 (no extension, final octet) -00----- Presentation = allowed ---000-- Spare ------11 Screening = network provided L3 18 39 00111001 Number digit = 9 L3 19 35 00110101 Number digit = 5 L3 1A 32 00110010 Number digit = 2 L3 1B 37 00110111 Number digit = 7 L3 1C 36 00110110 Number digit = 6 L3 1D 30 00110000 Number digit = 0 L3 1E 37 00110111 Number digit = 7 L3 1F 35 00110101 Number digit = 5 L3 20 30 00110000 Number digit = 0 L3 21 70 0------- Variable length Information element -1110000 IE = called party number L3 22 05 00000101 IE Length = 5 bytes L3 23 81 1------- Extension Bit = 1 (no extension, final octet) -000---- Type = Unknown ----0001 Plan = ISDN (E.164) (0x1) L3 24 30 00110000 Number digit = 0 L3 25 39 00111001 Number digit = 9 L3 26 38 00111000 Number digit = 8 L3 27 37 00110111 Number digit = 7 -- NT->TE - unit:10 frame:002398 - time:12.07 22:27:54.236715 - length:3 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 73 011-0011 U-Frame: UA (Unnumbered Acknowledge) ---1---- P/F, Final = Result of Poll -- TE->NT - unit:10 frame:002399 - time:12.07 22:27:54.236742 - length:8 ----- L2 00 FC 111111-- SAPI = 63 (Layer 2 Management) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 AF 10101111 Ri = 0xaf57 (Reference number high) L2 05 57 01010111 Ri (Reference Number low) L2 06 01 00000001 TEI Identity message = REQUEST (0x01) L2 07 FF 1111111- Ai = 127 (Action Indicator = ) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:10 frame:002400 - time:12.07 22:27:54.284661 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 AF 10101111 Ri = 0xaf57 (Reference number high) L2 05 57 01010111 Ri (Reference Number low) L2 06 02 00000010 TEI Identity message = ASSIGNED (0x02) L2 07 BF 1011111- Ai = 95 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:10 frame:002401 - time:12.07 22:27:54.284701 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 02 0000001- N(R) = 1 (receive sequence number) -------0 P/F, Final = No Result of Poll -- TE->NT - unit:10 frame:002402 - time:12.07 22:27:54.284728 - length:3 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 7F 011-1111 U-Frame: SABME (Set Asynchonous Balanced Mode) ---1---- P/F, Poll = Immediate Response Required -- TE->NT - unit:10 frame:002403 - time:12.07 22:27:54.284731 - length:8 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 00 0000000- N(S) = 0 (send sequence number) -------0 I-Frame: Information transfer L2 03 00 0000000- N(R) = 0 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 7F 0------- Call Reference is sent from call originator -1111111 Call Reference = 127 = 0x7f L3 07 75 0------- Message type extension = 0 -1110101 Message type = STATUS_ENQUIRY (0x75) -- TE->NT - unit:10 frame:002404 - time:12.07 22:27:54.284747 - length:8 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 02 0000001- N(S) = 1 (send sequence number) -------0 I-Frame: Information transfer L2 03 01 0000000- N(R) = 0 (receive sequence number) -------1 P/F, Poll = Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 7F 0------- Call Reference is sent from call originator -1111111 Call Reference = 127 = 0x7f L3 07 75 0------- Message type extension = 0 -1110101 Message type = STATUS_ENQUIRY (0x75) -- NT->TE - unit:10 frame:002405 - time:12.07 22:27:54.316663 - length:3 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 73 011-0011 U-Frame: UA (Unnumbered Acknowledge) ---1---- P/F, Final = Result of Poll -- NT->TE - unit:10 frame:002406 - time:12.07 22:27:54.316688 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 02 0000001- N(R) = 1 (receive sequence number) -------0 P/F, Final = No Result of Poll -- NT->TE - unit:10 frame:002407 - time:12.07 22:27:54.348661 - length:15 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 00 0000000- N(S) = 0 (send sequence number) -------0 I-Frame: Information transfer L2 03 02 0000001- N(R) = 1 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 FF 1------- Call Reference is sent to call originator -1111111 Call Reference = 127 = 0x7f L3 07 7D 0------- Message type extension = 0 -1111101 Message type = STATUS (0x7d) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 87 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0111 Location = ERROR: undefined/reserved L3 0B 9E 1------- Extension Bit = 1 (no extension, final octet) -0011110 Cause = 30: Q.850: response to STATUS ENQUIRY L3 0C 14 0------- Variable length Information element -0010100 IE = call state L3 0D 01 00000001 IE Length = 1 bytes L3 0E 00 -00----- Coding standard = CCITT ---00000 state = Null -- NT->TE - unit:10 frame:002408 - time:12.07 22:27:54.348691 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 05 0000010- N(R) = 2 (receive sequence number) -------1 P/F, Final = Result of Poll -- TE->NT - unit:10 frame:002409 - time:12.07 22:27:54.348721 - length:8 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 04 0000010- N(S) = 2 (send sequence number) -------0 I-Frame: Information transfer L2 03 02 0000001- N(R) = 1 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 AB 1------- Call Reference is sent to call originator -0101011 Call Reference = 43 = 0x2b L3 07 02 0------- Message type extension = 0 -0000010 Message type = CALL_PROCEEDING (0x02) -- TE->NT - unit:10 frame:002410 - time:12.07 22:27:54.348724 - length:8 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 06 0000011- N(S) = 3 (send sequence number) -------0 I-Frame: Information transfer L2 03 03 0000001- N(R) = 1 (receive sequence number) -------1 P/F, Poll = Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 AB 1------- Call Reference is sent to call originator -0101011 Call Reference = 43 = 0x2b L3 07 07 0------- Message type extension = 0 -0000111 Message type = CONNECT (0x07) -- NT->TE - unit:10 frame:002411 - time:12.07 22:27:54.380663 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 06 0000011- N(R) = 3 (receive sequence number) -------0 P/F, Final = No Result of Poll -- NT->TE - unit:10 frame:002412 - time:12.07 22:27:54.380694 - length:15 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 02 0000001- N(S) = 1 (send sequence number) -------0 I-Frame: Information transfer L2 03 06 0000011- N(R) = 3 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 FF 1------- Call Reference is sent to call originator -1111111 Call Reference = 127 = 0x7f L3 07 7D 0------- Message type extension = 0 -1111101 Message type = STATUS (0x7d) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 87 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0111 Location = ERROR: undefined/reserved L3 0B 9E 1------- Extension Bit = 1 (no extension, final octet) -0011110 Cause = 30: Q.850: response to STATUS ENQUIRY L3 0C 14 0------- Variable length Information element -0010100 IE = call state L3 0D 01 00000001 IE Length = 1 bytes L3 0E 00 -00----- Coding standard = CCITT ---00000 state = Null -- TE->NT - unit:10 frame:002413 - time:12.07 22:27:54.380724 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 04 0000010- N(R) = 2 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required -- NT->TE - unit:10 frame:002414 - time:12.07 22:27:54.412661 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 09 0000100- N(R) = 4 (receive sequence number) -------1 P/F, Final = Result of Poll -- NT->TE - unit:10 frame:002415 - time:12.07 22:27:54.412692 - length:12 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 04 0000010- N(S) = 2 (send sequence number) -------0 I-Frame: Information transfer L2 03 08 0000100- N(R) = 4 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 2B 0------- Call Reference is sent from call originator -0101011 Call Reference = 43 = 0x2b L3 07 5A 0------- Message type extension = 0 -1011010 Message type = RELEASE_COMPLETE (0x5a) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 87 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0111 Location = ERROR: undefined/reserved L3 0B D1 1------- Extension Bit = 1 (no extension, final octet) -1010001 Cause = 81: Q.850: invalid call reference value -- TE->NT - unit:10 frame:002416 - time:12.07 22:27:54.412733 - length:12 ---- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 08 0000100- N(S) = 4 (send sequence number) -------0 I-Frame: Information transfer L2 03 07 0000011- N(R) = 3 (receive sequence number) -------1 P/F, Poll = Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 AB 1------- Call Reference is sent to call originator -0101011 Call Reference = 43 = 0x2b L3 07 5A 0------- Message type extension = 0 -1011010 Message type = RELEASE_COMPLETE (0x5a) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 80 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0000 Location = User L3 0B E6 1------- Extension Bit = 1 (no extension, final octet) -1100110 Cause = 102: Q.850: recovery on timer expiry -- NT->TE - unit:10 frame:002417 - time:12.07 22:27:54.444660 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 04 0000010- N(R) = 2 (receive sequence number) -------0 P/F, Final = No Result of Poll -- NT->TE - unit:10 frame:002418 - time:12.07 22:27:54.444686 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 0B 0000101- N(R) = 5 (receive sequence number) -------1 P/F, Final = Result of Poll -- NT->TE - unit:10 frame:002419 - time:12.07 22:27:54.476658 - length:12 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 06 0000011- N(S) = 3 (send sequence number) -------0 I-Frame: Information transfer L2 03 0A 0000101- N(R) = 5 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 2B 0------- Call Reference is sent from call originator -0101011 Call Reference = 43 = 0x2b L3 07 5A 0------- Message type extension = 0 -1011010 Message type = RELEASE_COMPLETE (0x5a) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 87 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0111 Location = ERROR: undefined/reserved L3 0B D1 1------- Extension Bit = 1 (no extension, final octet) -1010001 Cause = 81: Q.850: invalid call reference value -- TE->NT - unit:10 frame:002420 - time:12.07 22:27:54.476696 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 08 0000100- N(R) = 4 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required -- NT->TE - unit:10 frame:002421 - time:12.07 22:27:56.460636 - length:3 ----- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 53 010-0011 U-Frame: DISC (Disconnect) ---1---- P/F, Poll = Immediate Response Required -- TE->NT - unit:10 frame:002422 - time:12.07 22:27:56.460671 - length:3 ----- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 BF 1011111- TEI = 95 = 0x5f (Automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 73 011-0011 U-Frame: UA (Unnumbered Acknowledge) ---1---- P/F, Final = Result of Poll -- NT->TE - unit:10 frame:002423 - time:12.07 22:27:56.524636 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 00 00000000 Ri = 0x0000 (Reference number high) L2 05 00 00000000 Ri (Reference Number low) L2 06 04 00000100 TEI Identity message = CHECK REQUEST (0x04) L2 07 FF 1111111- Ai = 127 (Action Indicator = ) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:10 frame:002424 - time:12.07 22:27:57.548631 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 00 00000000 Ri = 0x0000 (Reference number high) L2 05 00 00000000 Ri (Reference Number low) L2 06 04 00000100 TEI Identity message = CHECK REQUEST (0x04) L2 07 BF 1011111- Ai = 95 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:10 frame:002425 - time:12.07 22:27:58.572624 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 00 00000000 Ri = 0x0000 (Reference number high) L2 05 00 00000000 Ri (Reference Number low) L2 06 04 00000100 TEI Identity message = CHECK REQUEST (0x04) L2 07 BF 1011111- Ai = 95 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:10 frame:002426 - time:12.07 22:27:58.988627 - length:12 ---- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 00 0000000- N(S) = 0 (send sequence number) -------0 I-Frame: Information transfer L2 03 04 0000010- N(R) = 2 (receive sequence number) -------0 P/F, Poll = No Immediate Response Required L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 (0x08) L3 05 01 0000---- Call Reference ----0001 Call Reference length is 1 byte L3 06 2B 0------- Call Reference is sent from call originator -0101011 Call Reference = 43 = 0x2b L3 07 4D 0------- Message type extension = 0 -1001101 Message type = RELEASE (0x4d) L3 08 08 0------- Variable length Information element -0001000 IE = cause L3 09 02 00000010 IE Length = 2 bytes L3 0A 87 1------- Extension Bit = 1 (no extension, final octet) -00----- Coding standard = CCITT ---0---- Spare ----0111 Location = ERROR: undefined/reserved L3 0B 90 1------- Extension Bit = 1 (no extension, final octet) -0010000 Cause = 16: Q.850: normal call clearing -- NT->TE - unit:10 frame:002427 - time:12.07 22:27:59.052620 - length:4 ----- L2 00 00 000000-- SAPI = 0 (Call Control) ------0- C/R = Response -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 01 00000001 S-Frame: RR (Receiver Ready) L2 03 06 0000011- N(R) = 3 (receive sequence number) -------0 P/F, Final = No Result of Poll -- NT->TE - unit:10 frame:002428 - time:12.07 22:27:59.596619 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 00 00000000 Ri = 0x0000 (Reference number high) L2 05 00 00000000 Ri (Reference Number low) L2 06 06 00000110 TEI Identity message = REMOVE (0x06) L2 07 BF 1011111- Ai = 95 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:10 frame:002429 - time:12.07 22:27:59.596643 - length:8 ----- L2 00 FE 111111-- SAPI = 63 (Layer 2 Management) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 FF 1111111- TEI = 127 = 0x7f (Broadcast TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 03 000-0011 U-Frame: UI (Unnumbered Information) ---0---- P/F, Poll = No Immediate Response Required L2 03 0F 00001111 MEI (Management Entity Identifier) L2 04 00 00000000 Ri = 0x0000 (Reference number high) L2 05 00 00000000 Ri (Reference Number low) L2 06 06 00000110 TEI Identity message = REMOVE (0x06) L2 07 BF 1011111- Ai = 95 (Action Indicator) -------1 Extension Bit = 1 (no extension, final octet) -- NT->TE - unit:10 frame:002430 - time:12.07 22:28:01.068611 - length:3 ----- L2 00 02 000000-- SAPI = 0 (Call Control) ------1- C/R = Command -------0 Extension Bit = 0 (with extension, octet follows) L2 01 01 0000000- TEI = 0 = 0x00 (Non-automatic TEI) -------1 Extension Bit = 1 (no extension, final octet) L2 02 53 010-0011 U-Frame: DISC (Disconnect) ---1---- P/F, Poll = Immediate Response Required -- NT->TE - unit:10 --------------- time:12.07 22:28:04.364553 ---------------- L1 STATE: F3: Deactivated > Actually Asterisk should do that, so maybe there is a bug in Asterisk. You can > see on the trace that there is only: > > -- TE->NT - unit:08 frame:002265 - time:12.07 18:22:41.132110 - > > CALL_PROCEEDING > > from the TE side, and this state will timeout after 10-20 seconds per ISDN > specification. That is most likely what happens. The "ringing" state on the > other hand will timeout after approximately 2 minutes under I4B. I'm using asterisk 1.2.17 from ports and freepbx 2.1. Regards -- Mikael Batard Wan Again 12 Route de l'Isle 84510 Caumont sur Durance Tel: +33 (0)4 90 01 26 86 Fax: +33 (0)4 90 23 10 58 http://www.wanagain.fr/ From owner-freebsd-isdn@FreeBSD.ORG Thu Jul 12 21:09:51 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C217D16A400 for ; Thu, 12 Jul 2007 21:09:51 +0000 (UTC) (envelope-from support@wanagain.net) Received: from mx1.wanagain.net (mx1.wanagain.net [62.244.101.75]) by mx1.freebsd.org (Postfix) with ESMTP id 200A213C44B for ; Thu, 12 Jul 2007 21:09:50 +0000 (UTC) (envelope-from support@wanagain.net) Received: from localhost (localhost [127.0.0.1]) by mx1.wanagain.net (Postfix) with ESMTP id 407D111F804 for ; Thu, 12 Jul 2007 23:09:50 +0200 (CEST) X-Virus-Scanned: amavisd-new at wanagain.net Received: from mx1-2.wanagain.net ([62.244.101.87]) by localhost (mx1.wanagain.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id maSo6rJZcwuo for ; Thu, 12 Jul 2007 23:09:47 +0200 (CEST) Received: from [192.168.0.10] (milo.giraya.net [88.169.21.92]) by mx1-2.wanagain.net (Postfix) with ESMTP id 923C211F803 for ; Thu, 12 Jul 2007 23:09:47 +0200 (CEST) Message-ID: <4696989A.1070903@wanagain.net> Date: Thu, 12 Jul 2007 23:09:46 +0200 From: Mikael Batard Organization: Wan Again User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070604 Thunderbird/1.5.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-isdn@freebsd.org References: <4665CAFA.3080801@wanagain.net> <200707120818.30352.hselasky@c2i.net> <469657CD.8030305@wanagain.net> <200707121905.33356.hselasky@c2i.net> In-Reply-To: <200707121905.33356.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Digium b410p with i4b X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 21:09:51 -0000 Hi Hans, here's the debug from asterisk with a missed call : Jul 12 23:01:17 DEBUG[30747] channel.c: Set channel **Unknown** to read format alaw Jul 12 23:01:17 DEBUG[30747] channel.c: Set channel **Unknown** to write format alaw Jul 12 23:01:17 VERBOSE[30747] logger.c: -- capi_handle_connect_indication:6047:ENTRY=:PLCI=0x7d0a:PBX_CHAN=**Unknown**: -- Incoming call from '952760750' to '0987', CIP=0x0010, sending_complete=yes Jul 12 23:01:17 VERBOSE[30747] logger.c: == search_cep:5816:ENTRY=ISDN3:PLCI=0x7d0a:PBX_CHAN=**Unknown**: == Incoming call '952760750' -> '0987' Jul 12 23:01:17 VERBOSE[30747] logger.c: == cd_start_pbx:5937:ENTRY=ISDN3:PLCI=0x7d0a:PBX_CHAN=CAPI/ISDN3/0987-16: == Started PBX Jul 12 23:01:17 DEBUG[30747] devicestate.c: Changing state for CAPI/ISDN3/0987 - state 2 (In use) Jul 12 23:01:17 DEBUG[30747] pbx.c: Launching 'Set' Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Executing Set("CAPI/ISDN3/0987-16", "FROM_DID=0987") in new stack Jul 12 23:01:17 DEBUG[30747] pbx.c: Launching 'Set' Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Executing Set("CAPI/ISDN3/0987-16", "FAX_RX=disabled") in new stack Jul 12 23:01:17 DEBUG[30747] pbx.c: Launching 'Ringing' Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Executing Ringing("CAPI/ISDN3/0987-16", "") in new stack Jul 12 23:01:17 VERBOSE[30747] logger.c: == chan_capi_indicate:4641:ENTRY=ISDN3:PLCI=0x7d0a:PBX_CHAN=CAPI/ISDN3/0987-16: == Jul 12 23:01:17 DEBUG[30747] pbx.c: Launching 'Goto' Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Executing Goto("CAPI/ISDN3/0987-16", "ext-queues|634|1") in new stack Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Goto (ext-queues,634,1) Jul 12 23:01:17 DEBUG[30747] pbx.c: Launching 'Answer' Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Executing Answer("CAPI/ISDN3/0987-16", "") in new stack Jul 12 23:01:17 VERBOSE[30747] logger.c: == chan_capi_answer:4700:ENTRY=ISDN3:PLCI=0x7d0a:PBX_CHAN=CAPI/ISDN3/0987-16: == Jul 12 23:01:17 VERBOSE[30747] logger.c: == capi_send_connect_resp:3130:ENTRY=ISDN3:PLCI=0x7d0a:PBX_CHAN=CAPI/ISDN3/0987-16: == Connected to 0987 Jul 12 23:01:17 DEBUG[30747] pbx.c: Expression result is '0' Jul 12 23:01:17 DEBUG[30747] pbx.c: Launching 'GotoIf' Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Executing GotoIf("CAPI/ISDN3/0987-16", "0?USERCID:SETCID") in new stack Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Goto (ext-queues,634,4) Jul 12 23:01:17 DEBUG[30747] pbx.c: Launching 'Set' Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Executing Set("CAPI/ISDN3/0987-16", "CALLERID(name)=Dord:") in new stack Jul 12 23:01:17 DEBUG[30747] pbx.c: Launching 'Set' Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Executing Set("CAPI/ISDN3/0987-16", "MONITOR_FILENAME=/var/spool/asterisk/monitor/q634-20070712-230117-1184274077.726") in new st ack Jul 12 23:01:17 DEBUG[30747] pbx.c: Launching 'Queue' Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Executing Queue("CAPI/ISDN3/0987-16", "634|t||") in new stack Jul 12 23:01:17 DEBUG[30747] app_queue.c: NO QUEUE_PRIO variable found. Using default. Jul 12 23:01:17 DEBUG[30747] app_queue.c: queue: 634, options: t, url: , announce: , expires: 0, priority: 0 Jul 12 23:01:17 DEBUG[30747] app_queue.c: Queue '634' Join, Channel 'CAPI/ISDN3/0987-16', Position '1' Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Started music on hold, class 'default', on CAPI/ISDN3/0987-16 Jul 12 23:01:17 DEBUG[30747] channel.c: Scheduling timer at 160 sample intervals Jul 12 23:01:17 DEBUG[30747] app_queue.c: It's our turn (CAPI/ISDN3/0987-16). Jul 12 23:01:17 DEBUG[30747] app_queue.c: CAPI/ISDN3/0987-16 is trying to call a queue member. Jul 12 23:01:17 DEBUG[30747] app_queue.c: Device 'CAPI/ISDN3/0987' changed to state '2' (In use) but we don't care because they're not a member of any queue. Jul 12 23:01:17 DEBUG[30747] devicestate.c: Changing state for CAPI/ISDN3/0987 - state 2 (In use) ### some variables set, macro and agi script set ### Jul 12 23:01:17 DEBUG[30747] app_queue.c: Device 'CAPI/ISDN3/0987' changed to state '2' (In use) but we don't care because they're not a member of any queue. Jul 12 23:01:17 DEBUG[30747] channel.c: Set channel CAPI/ISDN3/0987-16 to write format slin Jul 12 23:01:17 DEBUG[30747] res_musiconhold.c: CAPI/ISDN3/0987-16 Opened file 0 '/usr/local/share/asterisk/mohmp3/Pilot' Jul 12 23:01:17 WARNING[30747] interface.c: Junk at the beginning of frame 49443303 ### dialparties.agi script ### Jul 12 23:01:17 VERBOSE[30747] logger.c: -- Stopped music on hold on CAPI/ISDN3/0987-16 Jul 12 23:01:17 DEBUG[30747] channel.c: Set channel CAPI/ISDN3/0987-16 to write format alaw Jul 12 23:01:17 DEBUG[30747] channel.c: Scheduling timer at 0 sample intervals Jul 12 23:01:17 DEBUG[30747] app_queue.c: CAPI/ISDN3/0987-16: Nobody answered. Jul 12 23:01:17 DEBUG[30747] pbx.c: Spawn extension (ext-queues,634,6) exited non-zero on 'CAPI/ISDN3/0987-16' Jul 12 23:01:17 VERBOSE[30747] logger.c: == Spawn extension (ext-queues, 634, 6) exited non-zero on 'CAPI/ISDN3/0987-16' Jul 12 23:01:17 DEBUG[30747] channel.c: Hanging up channel 'CAPI/ISDN3/0987-16' Regards -- Mikael Batard Wan Again 12 Route de l'Isle 84510 Caumont sur Durance Tel: +33 (0)4 90 01 26 86 Fax: +33 (0)4 90 23 10 58 http://www.wanagain.fr/ From owner-freebsd-isdn@FreeBSD.ORG Thu Jul 12 21:20:25 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD69416A421 for ; Thu, 12 Jul 2007 21:20:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id AB3B013C4B8 for ; Thu, 12 Jul 2007 21:20:24 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [212.17.141.53] (account mc467741@c2i.net HELO [10.150.81.62]) by mailfe10.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 375191083; Thu, 12 Jul 2007 23:19:46 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Thu, 12 Jul 2007 23:19:46 +0200 User-Agent: KMail/1.9.5 References: <4665CAFA.3080801@wanagain.net> <200707121905.33356.hselasky@c2i.net> <46968FFA.1020503@wanagain.net> In-Reply-To: <46968FFA.1020503@wanagain.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707122319.46623.hselasky@c2i.net> Cc: Subject: Re: Digium b410p with i4b X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 21:20:26 -0000 Hi Mikael! Se comments below. On Thursday 12 July 2007 22:32, Mikael Batard wrote: > On 12.07.2007 19:05, Hans Petter Selasky wrote: > > Hi Mikael! > > Hi Hans, > > > You need to insert a: > > > > exten => n,xxx,Ringing > > > > when you receive the call(s) from ISDN in your dialplan! > > Done, but it doesn't work. > I've got some missed calls again :( > > Here's new debug with Ringing added : I cannot see any ALERT message in the log only a CONNECT. The Ringing command should be first, before Answer ! And it should not connect the B-channel. > > # isdndecode -u 10 -i -o -x > > =========== isdndecode controller #10 ========== started Thu Jul 12 > 22:27:46 2007 > > -- NT->TE - unit:10 --------------- time:12.07 22:27:54.236616 > ---------------- > L1 STATE: F7: Activated > Here is the incoming call. All looks OK. > -- NT->TE - unit:10 frame:002397 - time:12.07 22:27:54.236671 - > length:40 ---- > L2 00 02 000000-- SAPI = 0 (Call > Control) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 FF 1111111- TEI = 127 = 0x7f > (Broadcast TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 03 000-0011 U-Frame: UI (Unnumbered > Information) > ---0---- P/F, Poll = No Immediate Response Required > L3 03 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 04 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 05 2B 0------- Call Reference is sent from call originator > -0101011 Call Reference = 43 = 0x2b > L3 06 05 0------- Message type extension = 0 > -0000101 Message type = SETUP > (0x05) > L3 07 A1 1------- Single octet Information element > -0100001 Sending complete > L3 08 04 0------- Variable length Information element > -0000100 IE = bearer capability > L3 09 03 00000011 IE Length = 3 bytes > L3 0A 90 1------- Extension Bit = 1 (no extension, final > octet) > -00----- Coding standard = CCITT > ---10000 Capability = 0x10, 3.1 kHz audio > L3 0B 90 1------- Extension Bit = 1 (no extension, final > octet) > -00----- Mode = 0x00, circuit > ---10000 Rate = 0x10, 64 kbit/s > L3 0C A3 1------- Extension Bit = 1 (no extension, final > octet) > -01----- Layer 1 identity = 1 > ---00011 Layer 1 Protocol = 0x03, G.711 a-Law > L3 0D 18 0------- Variable length Information element > -0011000 IE = channel identification > L3 0E 01 00000001 IE Length = 1 bytes > L3 0F 89 1------- Extension Bit = 1 (no extension, final > octet) > -0------ Interface Id present = No > --0----- Interface Type = BRI > ---0---- Spare > ----1--- Channel is exclusive > -----0-- Channel is not the D-Channel > ------01 Channel = B-1 > L3 10 1E 0------- Variable length Information element > -0011110 IE = progress indicator > L3 11 02 00000010 IE Length = 2 bytes > L3 12 84 -00----- Coding standard = CCITT > ----0100 location = Public network serving remote user > L3 13 83 -0000011 description = Origination address is non-ISDN > L3 14 6C 0------- Variable length Information element > -1101100 IE = calling party number > L3 15 0B 00001011 IE Length = 11 bytes > L3 16 20 0------- Extension Bit = 0 (with extension, octet > follows) > -010---- Type = National number > ----0000 Plan = Unknown > (0x0) > L3 17 83 1------- Extension Bit = 1 (no extension, final > octet) > -00----- Presentation = allowed > ---000-- Spare > ------11 Screening = network provided > L3 18 39 00111001 Number digit = 9 > L3 19 35 00110101 Number digit = 5 > L3 1A 32 00110010 Number digit = 2 > L3 1B 37 00110111 Number digit = 7 > L3 1C 36 00110110 Number digit = 6 > L3 1D 30 00110000 Number digit = 0 > L3 1E 37 00110111 Number digit = 7 > L3 1F 35 00110101 Number digit = 5 > L3 20 30 00110000 Number digit = 0 > L3 21 70 0------- Variable length Information element > -1110000 IE = called party number > L3 22 05 00000101 IE Length = 5 bytes > L3 23 81 1------- Extension Bit = 1 (no extension, final > octet) > -000---- Type = Unknown > ----0001 Plan = ISDN (E.164) > (0x1) > L3 24 30 00110000 Number digit = 0 > L3 25 39 00111001 Number digit = 9 > L3 26 38 00111000 Number digit = 8 > L3 27 37 00110111 Number digit = 7 > > -- NT->TE - unit:10 frame:002398 - time:12.07 22:27:54.236715 - > length:3 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 01 0000000- TEI = 0 = 0x00 > (Non-automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 73 011-0011 U-Frame: UA (Unnumbered > Acknowledge) > ---1---- P/F, Final = Result of Poll > We ask for an address on the ISDN bus. > -- TE->NT - unit:10 frame:002399 - time:12.07 22:27:54.236742 - > length:8 ----- > L2 00 FC 111111-- SAPI = 63 (Layer 2 > Management) > ------0- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 FF 1111111- TEI = 127 = 0x7f > (Broadcast TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 03 000-0011 U-Frame: UI (Unnumbered > Information) > ---0---- P/F, Poll = No Immediate Response Required > L2 03 0F 00001111 MEI (Management Entity > Identifier) > L2 04 AF 10101111 Ri = 0xaf57 (Reference > number high) > L2 05 57 01010111 Ri (Reference > Number low) > L2 06 01 00000001 TEI Identity message = REQUEST > (0x01) > L2 07 FF 1111111- Ai = 127 (Action > Indicator = ) > -------1 Extension Bit = 1 (no extension, > final octet) > Here we get the reply. > -- NT->TE - unit:10 frame:002400 - time:12.07 22:27:54.284661 - > length:8 ----- > L2 00 FE 111111-- SAPI = 63 (Layer 2 > Management) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 FF 1111111- TEI = 127 = 0x7f > (Broadcast TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 03 000-0011 U-Frame: UI (Unnumbered > Information) > ---0---- P/F, Poll = No Immediate Response Required > L2 03 0F 00001111 MEI (Management Entity > Identifier) > L2 04 AF 10101111 Ri = 0xaf57 (Reference > number high) > L2 05 57 01010111 Ri (Reference > Number low) > L2 06 02 00000010 TEI Identity message = ASSIGNED > (0x02) > L2 07 BF 1011111- Ai = 95 (Action > Indicator) > -------1 Extension Bit = 1 (no extension, > final octet) > > -- NT->TE - unit:10 frame:002401 - time:12.07 22:27:54.284701 - > length:4 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 01 0000000- TEI = 0 = 0x00 > (Non-automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 01 00000001 S-Frame: RR (Receiver > Ready) > L2 03 02 0000001- N(R) = 1 (receive sequence > number) > -------0 P/F, Final = No Result of Poll > > -- TE->NT - unit:10 frame:002402 - time:12.07 22:27:54.284728 - > length:3 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 7F 011-1111 U-Frame: SABME (Set Asynchonous > Balanced Mode) > ---1---- P/F, Poll = Immediate Response Required > This is a dummy message on a not-used Call-reference value. Really I just want to send a Zero-length I-frame, but many PBXs choke on that. So the best compromise is to send a STATUS_ENQUIRY. The PBX should _not_ answer on this. > -- TE->NT - unit:10 frame:002403 - time:12.07 22:27:54.284731 - > length:8 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 00 0000000- N(S) = 0 (send sequence > number) > -------0 I-Frame: Information transfer > L2 03 00 0000000- N(R) = 0 (receive sequence > number) > -------0 P/F, Poll = No Immediate Response Required > L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 05 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 06 7F 0------- Call Reference is sent from call originator > -1111111 Call Reference = 127 = 0x7f > L3 07 75 0------- Message type extension = 0 > -1110101 Message type = STATUS_ENQUIRY > (0x75) > > -- TE->NT - unit:10 frame:002404 - time:12.07 22:27:54.284747 - > length:8 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 02 0000001- N(S) = 1 (send sequence > number) > -------0 I-Frame: Information transfer > L2 03 01 0000000- N(R) = 0 (receive sequence > number) > -------1 P/F, Poll = Immediate Response Required > L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 05 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 06 7F 0------- Call Reference is sent from call originator > -1111111 Call Reference = 127 = 0x7f > L3 07 75 0------- Message type extension = 0 > -1110101 Message type = STATUS_ENQUIRY > (0x75) > > -- NT->TE - unit:10 frame:002405 - time:12.07 22:27:54.316663 - > length:3 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 73 011-0011 U-Frame: UA (Unnumbered > Acknowledge) > ---1---- P/F, Final = Result of Poll > > -- NT->TE - unit:10 frame:002406 - time:12.07 22:27:54.316688 - > length:4 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 01 00000001 S-Frame: RR (Receiver > Ready) > L2 03 02 0000001- N(R) = 1 (receive sequence > number) > -------0 P/F, Final = No Result of Poll > > -- NT->TE - unit:10 frame:002407 - time:12.07 22:27:54.348661 - > length:15 ---- > L2 00 02 000000-- SAPI = 0 (Call > Control) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 00 0000000- N(S) = 0 (send sequence > number) > -------0 I-Frame: Information transfer > L2 03 02 0000001- N(R) = 1 (receive sequence > number) > -------0 P/F, Poll = No Immediate Response Required > L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 05 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 06 FF 1------- Call Reference is sent to call originator > -1111111 Call Reference = 127 = 0x7f > L3 07 7D 0------- Message type extension = 0 > -1111101 Message type = STATUS > (0x7d) > L3 08 08 0------- Variable length Information element > -0001000 IE = cause > L3 09 02 00000010 IE Length = 2 bytes > L3 0A 87 1------- Extension Bit = 1 (no extension, final > octet) > -00----- Coding standard = CCITT > ---0---- Spare Strange location: > ----0111 Location = ERROR: undefined/reserved > L3 0B 9E 1------- Extension Bit = 1 (no extension, final > octet) > -0011110 Cause = 30: Q.850: response to STATUS ENQUIRY > L3 0C 14 0------- Variable length Information element > -0010100 IE = call state > L3 0D 01 00000001 IE Length = 1 bytes > L3 0E 00 -00----- Coding standard = CCITT State NULL is OK. > ---00000 state = Null > > -- NT->TE - unit:10 frame:002408 - time:12.07 22:27:54.348691 - > length:4 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 01 00000001 S-Frame: RR (Receiver > Ready) > L2 03 05 0000010- N(R) = 2 (receive sequence > number) > -------1 P/F, Final = Result of Poll > > -- TE->NT - unit:10 frame:002409 - time:12.07 22:27:54.348721 - > length:8 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 04 0000010- N(S) = 2 (send sequence > number) > -------0 I-Frame: Information transfer > L2 03 02 0000001- N(R) = 1 (receive sequence > number) > -------0 P/F, Poll = No Immediate Response Required > L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 05 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 06 AB 1------- Call Reference is sent to call originator > -0101011 Call Reference = 43 = 0x2b > L3 07 02 0------- Message type extension = 0 > -0000010 Message type = CALL_PROCEEDING > (0x02) > This connect is too early. We should have seen an ALERT message. > -- TE->NT - unit:10 frame:002410 - time:12.07 22:27:54.348724 - > length:8 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 06 0000011- N(S) = 3 (send sequence > number) > -------0 I-Frame: Information transfer > L2 03 03 0000001- N(R) = 1 (receive sequence > number) > -------1 P/F, Poll = Immediate Response Required > L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 05 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 06 AB 1------- Call Reference is sent to call originator > -0101011 Call Reference = 43 = 0x2b > L3 07 07 0------- Message type extension = 0 > -0000111 Message type = CONNECT > (0x07) > > -- NT->TE - unit:10 frame:002411 - time:12.07 22:27:54.380663 - > length:4 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 01 00000001 S-Frame: RR (Receiver > Ready) > L2 03 06 0000011- N(R) = 3 (receive sequence > number) > -------0 P/F, Final = No Result of Poll > Now, this is strange: This is the response to the second STATUS enquiry. But why is is processed so late? > -- NT->TE - unit:10 frame:002412 - time:12.07 22:27:54.380694 - > length:15 ---- > L2 00 02 000000-- SAPI = 0 (Call > Control) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 02 0000001- N(S) = 1 (send sequence > number) > -------0 I-Frame: Information transfer > L2 03 06 0000011- N(R) = 3 (receive sequence > number) > -------0 P/F, Poll = No Immediate Response Required > L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 05 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 06 FF 1------- Call Reference is sent to call originator > -1111111 Call Reference = 127 = 0x7f > L3 07 7D 0------- Message type extension = 0 > -1111101 Message type = STATUS > (0x7d) > L3 08 08 0------- Variable length Information element > -0001000 IE = cause > L3 09 02 00000010 IE Length = 2 bytes > L3 0A 87 1------- Extension Bit = 1 (no extension, final > octet) > -00----- Coding standard = CCITT > ---0---- Spare > ----0111 Location = ERROR: undefined/reserved > L3 0B 9E 1------- Extension Bit = 1 (no extension, final > octet) > -0011110 Cause = 30: Q.850: response to STATUS ENQUIRY > L3 0C 14 0------- Variable length Information element > -0010100 IE = call state > L3 0D 01 00000001 IE Length = 1 bytes > L3 0E 00 -00----- Coding standard = CCITT > ---00000 state = Null > > -- TE->NT - unit:10 frame:002413 - time:12.07 22:27:54.380724 - > length:4 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 01 00000001 S-Frame: RR (Receiver > Ready) > L2 03 04 0000010- N(R) = 2 (receive sequence > number) > -------0 P/F, Poll = No Immediate Response Required > > -- NT->TE - unit:10 frame:002414 - time:12.07 22:27:54.412661 - > length:4 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 01 00000001 S-Frame: RR (Receiver > Ready) > L2 03 09 0000100- N(R) = 4 (receive sequence > number) > -------1 P/F, Final = Result of Poll > The PBX had enough! I probably wants to terminate the dummy callreference, but instead it terminates another call! This can maybe be exploited. > -- NT->TE - unit:10 frame:002415 - time:12.07 22:27:54.412692 - > length:12 ---- > L2 00 02 000000-- SAPI = 0 (Call > Control) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 04 0000010- N(S) = 2 (send sequence > number) > -------0 I-Frame: Information transfer > L2 03 08 0000100- N(R) = 4 (receive sequence > number) > -------0 P/F, Poll = No Immediate Response Required > L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 05 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 06 2B 0------- Call Reference is sent from call originator > -0101011 Call Reference = 43 = 0x2b > L3 07 5A 0------- Message type extension = 0 > -1011010 Message type = RELEASE_COMPLETE > (0x5a) > L3 08 08 0------- Variable length Information element > -0001000 IE = cause > L3 09 02 00000010 IE Length = 2 bytes > L3 0A 87 1------- Extension Bit = 1 (no extension, final > octet) > -00----- Coding standard = CCITT > ---0---- Spare > ----0111 Location = ERROR: undefined/reserved > L3 0B D1 1------- Extension Bit = 1 (no extension, final > octet) > -1010001 Cause = 81: Q.850: invalid call reference value > I4B follows up with a RELEASE_COMPLETE, though it is strictly not required, but does send it anyway. This is not a violation of the ISDN protocol, hence during a race when both ends wants to terminte at the same time, this can happen. > -- TE->NT - unit:10 frame:002416 - time:12.07 22:27:54.412733 - > length:12 ---- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 08 0000100- N(S) = 4 (send sequence > number) > -------0 I-Frame: Information transfer > L2 03 07 0000011- N(R) = 3 (receive sequence > number) > -------1 P/F, Poll = Immediate Response Required > L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 05 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 06 AB 1------- Call Reference is sent to call originator > -0101011 Call Reference = 43 = 0x2b > L3 07 5A 0------- Message type extension = 0 > -1011010 Message type = RELEASE_COMPLETE > (0x5a) > L3 08 08 0------- Variable length Information element > -0001000 IE = cause > L3 09 02 00000010 IE Length = 2 bytes > L3 0A 80 1------- Extension Bit = 1 (no extension, final > octet) > -00----- Coding standard = CCITT > ---0---- Spare > ----0000 Location = User > L3 0B E6 1------- Extension Bit = 1 (no extension, final > octet) > -1100110 Cause = 102: Q.850: recovery on timer expiry > > -- NT->TE - unit:10 frame:002417 - time:12.07 22:27:54.444660 - > length:4 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 01 0000000- TEI = 0 = 0x00 > (Non-automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 01 00000001 S-Frame: RR (Receiver > Ready) > L2 03 04 0000010- N(R) = 2 (receive sequence > number) > -------0 P/F, Final = No Result of Poll > > -- NT->TE - unit:10 frame:002418 - time:12.07 22:27:54.444686 - > length:4 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 01 00000001 S-Frame: RR (Receiver > Ready) > L2 03 0B 0000101- N(R) = 5 (receive sequence > number) > -------1 P/F, Final = Result of Poll > This is suspicious: Why does the PBX send a double RELEASE_COMPLETE. I see no reason for this. > -- NT->TE - unit:10 frame:002419 - time:12.07 22:27:54.476658 - > length:12 ---- > L2 00 02 000000-- SAPI = 0 (Call > Control) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 06 0000011- N(S) = 3 (send sequence > number) > -------0 I-Frame: Information transfer > L2 03 0A 0000101- N(R) = 5 (receive sequence > number) > -------0 P/F, Poll = No Immediate Response Required > L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 05 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 06 2B 0------- Call Reference is sent from call originator > -0101011 Call Reference = 43 = 0x2b > L3 07 5A 0------- Message type extension = 0 > -1011010 Message type = RELEASE_COMPLETE > (0x5a) > L3 08 08 0------- Variable length Information element > -0001000 IE = cause > L3 09 02 00000010 IE Length = 2 bytes > L3 0A 87 1------- Extension Bit = 1 (no extension, final > octet) > -00----- Coding standard = CCITT > ---0---- Spare > ----0111 Location = ERROR: undefined/reserved > L3 0B D1 1------- Extension Bit = 1 (no extension, final > octet) > -1010001 Cause = 81: Q.850: invalid call reference value > > -- TE->NT - unit:10 frame:002420 - time:12.07 22:27:54.476696 - > length:4 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 01 00000001 S-Frame: RR (Receiver > Ready) > L2 03 08 0000100- N(R) = 4 (receive sequence > number) > -------0 P/F, Poll = No Immediate Response Required > > -- NT->TE - unit:10 frame:002421 - time:12.07 22:27:56.460636 - > length:3 ----- > L2 00 02 000000-- SAPI = 0 (Call > Control) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 53 010-0011 U-Frame: DISC > (Disconnect) > ---1---- P/F, Poll = Immediate Response Required > > -- TE->NT - unit:10 frame:002422 - time:12.07 22:27:56.460671 - > length:3 ----- > L2 00 02 000000-- SAPI = 0 (Call > Control) > ------1- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 BF 1011111- TEI = 95 = 0x5f > (Automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 73 011-0011 U-Frame: UA (Unnumbered > Acknowledge) > ---1---- P/F, Final = Result of Poll > > -- NT->TE - unit:10 frame:002423 - time:12.07 22:27:56.524636 - > length:8 ----- > L2 00 FE 111111-- SAPI = 63 (Layer 2 > Management) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 FF 1111111- TEI = 127 = 0x7f > (Broadcast TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 03 000-0011 U-Frame: UI (Unnumbered > Information) > ---0---- P/F, Poll = No Immediate Response Required > L2 03 0F 00001111 MEI (Management Entity > Identifier) > L2 04 00 00000000 Ri = 0x0000 (Reference > number high) > L2 05 00 00000000 Ri (Reference > Number low) > L2 06 04 00000100 TEI Identity message = CHECK REQUEST > (0x04) > L2 07 FF 1111111- Ai = 127 (Action > Indicator = ) > -------1 Extension Bit = 1 (no extension, > final octet) > > -- NT->TE - unit:10 frame:002424 - time:12.07 22:27:57.548631 - > length:8 ----- > L2 00 FE 111111-- SAPI = 63 (Layer 2 > Management) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 FF 1111111- TEI = 127 = 0x7f > (Broadcast TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 03 000-0011 U-Frame: UI (Unnumbered > Information) > ---0---- P/F, Poll = No Immediate Response Required > L2 03 0F 00001111 MEI (Management Entity > Identifier) > L2 04 00 00000000 Ri = 0x0000 (Reference > number high) > L2 05 00 00000000 Ri (Reference > Number low) > L2 06 04 00000100 TEI Identity message = CHECK REQUEST > (0x04) > L2 07 BF 1011111- Ai = 95 (Action > Indicator) > -------1 Extension Bit = 1 (no extension, > final octet) > > -- NT->TE - unit:10 frame:002425 - time:12.07 22:27:58.572624 - > length:8 ----- > L2 00 FE 111111-- SAPI = 63 (Layer 2 > Management) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 FF 1111111- TEI = 127 = 0x7f > (Broadcast TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 03 000-0011 U-Frame: UI (Unnumbered > Information) > ---0---- P/F, Poll = No Immediate Response Required > L2 03 0F 00001111 MEI (Management Entity > Identifier) > L2 04 00 00000000 Ri = 0x0000 (Reference > number high) > L2 05 00 00000000 Ri (Reference > Number low) > L2 06 04 00000100 TEI Identity message = CHECK REQUEST > (0x04) > L2 07 BF 1011111- Ai = 95 (Action > Indicator) > -------1 Extension Bit = 1 (no extension, > final octet) > This is also strange. Now the PBX wants to terminate the call again, but as you see, the TEI value is completely wrong. TEI 0 is the TEI value for Point2Point. Also the location value is wrong. > -- NT->TE - unit:10 frame:002426 - time:12.07 22:27:58.988627 - > length:12 ---- > L2 00 02 000000-- SAPI = 0 (Call > Control) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 01 0000000- TEI = 0 = 0x00 > (Non-automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 00 0000000- N(S) = 0 (send sequence > number) > -------0 I-Frame: Information transfer > L2 03 04 0000010- N(R) = 2 (receive sequence > number) > -------0 P/F, Poll = No Immediate Response Required > L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 > (0x08) > L3 05 01 0000---- Call Reference > ----0001 Call Reference length is 1 byte > L3 06 2B 0------- Call Reference is sent from call originator > -0101011 Call Reference = 43 = 0x2b > L3 07 4D 0------- Message type extension = 0 > -1001101 Message type = RELEASE > (0x4d) > L3 08 08 0------- Variable length Information element > -0001000 IE = cause > L3 09 02 00000010 IE Length = 2 bytes > L3 0A 87 1------- Extension Bit = 1 (no extension, final > octet) > -00----- Coding standard = CCITT > ---0---- Spare > ----0111 Location = ERROR: undefined/reserved > L3 0B 90 1------- Extension Bit = 1 (no extension, final > octet) > -0010000 Cause = 16: Q.850: normal call clearing > > -- NT->TE - unit:10 frame:002427 - time:12.07 22:27:59.052620 - > length:4 ----- > L2 00 00 000000-- SAPI = 0 (Call > Control) > ------0- C/R = Response > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 01 0000000- TEI = 0 = 0x00 > (Non-automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 01 00000001 S-Frame: RR (Receiver > Ready) > L2 03 06 0000011- N(R) = 3 (receive sequence > number) > -------0 P/F, Final = No Result of Poll > > -- NT->TE - unit:10 frame:002428 - time:12.07 22:27:59.596619 - > length:8 ----- > L2 00 FE 111111-- SAPI = 63 (Layer 2 > Management) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 FF 1111111- TEI = 127 = 0x7f > (Broadcast TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 03 000-0011 U-Frame: UI (Unnumbered > Information) > ---0---- P/F, Poll = No Immediate Response Required > L2 03 0F 00001111 MEI (Management Entity > Identifier) > L2 04 00 00000000 Ri = 0x0000 (Reference > number high) > L2 05 00 00000000 Ri (Reference > Number low) > L2 06 06 00000110 TEI Identity message = REMOVE > (0x06) > L2 07 BF 1011111- Ai = 95 (Action > Indicator) > -------1 Extension Bit = 1 (no extension, > final octet) > > -- NT->TE - unit:10 frame:002429 - time:12.07 22:27:59.596643 - > length:8 ----- > L2 00 FE 111111-- SAPI = 63 (Layer 2 > Management) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 FF 1111111- TEI = 127 = 0x7f > (Broadcast TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 03 000-0011 U-Frame: UI (Unnumbered > Information) > ---0---- P/F, Poll = No Immediate Response Required > L2 03 0F 00001111 MEI (Management Entity > Identifier) > L2 04 00 00000000 Ri = 0x0000 (Reference > number high) > L2 05 00 00000000 Ri (Reference > Number low) > L2 06 06 00000110 TEI Identity message = REMOVE > (0x06) > L2 07 BF 1011111- Ai = 95 (Action > Indicator) > -------1 Extension Bit = 1 (no extension, > final octet) > > -- NT->TE - unit:10 frame:002430 - time:12.07 22:28:01.068611 - > length:3 ----- > L2 00 02 000000-- SAPI = 0 (Call > Control) > ------1- C/R = Command > -------0 Extension Bit = 0 (with extension, octet > follows) > L2 01 01 0000000- TEI = 0 = 0x00 > (Non-automatic TEI) > -------1 Extension Bit = 1 (no extension, > final octet) > L2 02 53 010-0011 U-Frame: DISC > (Disconnect) > ---1---- P/F, Poll = Immediate Response Required > > -- NT->TE - unit:10 --------------- time:12.07 22:28:04.364553 > ---------------- > L1 STATE: F3: Deactivated > Can you tell us a little more about your setup. Is the HFC card connected to an ISDN PBX or directly to the ISDN telecom provider? It looks to me like your PBX or Telco has a weak point in their code. I'm not sure if I want to make another workaround in I4B for this kind of things, hence I already have several workarounds for various PBX bugs. Let's hope it is just your PBX :-) --HPS From owner-freebsd-isdn@FreeBSD.ORG Thu Jul 12 21:50:57 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4ECBF16A421 for ; Thu, 12 Jul 2007 21:50:57 +0000 (UTC) (envelope-from support@wanagain.net) Received: from mx1.wanagain.net (mx1.wanagain.net [62.244.101.75]) by mx1.freebsd.org (Postfix) with ESMTP id CF64813C4B0 for ; Thu, 12 Jul 2007 21:50:56 +0000 (UTC) (envelope-from support@wanagain.net) Received: from localhost (localhost [127.0.0.1]) by mx1.wanagain.net (Postfix) with ESMTP id E4D3711F804 for ; Thu, 12 Jul 2007 23:50:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at wanagain.net Received: from mx1-2.wanagain.net ([62.244.101.87]) by localhost (mx1.wanagain.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZAazoReKnb9k for ; Thu, 12 Jul 2007 23:50:54 +0200 (CEST) Received: from [192.168.0.10] (milo.giraya.net [88.169.21.92]) by mx1-2.wanagain.net (Postfix) with ESMTP id CBF5711F803 for ; Thu, 12 Jul 2007 23:50:53 +0200 (CEST) Message-ID: <4696A23D.7020000@wanagain.net> Date: Thu, 12 Jul 2007 23:50:53 +0200 From: Mikael Batard Organization: Wan Again User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070604 Thunderbird/1.5.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-isdn@freebsd.org References: <4665CAFA.3080801@wanagain.net> <200707121905.33356.hselasky@c2i.net> <46968FFA.1020503@wanagain.net> <200707122319.46623.hselasky@c2i.net> In-Reply-To: <200707122319.46623.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Digium b410p with i4b X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 21:50:57 -0000 On 12.07.2007 23:19, Hans Petter Selasky wrote: > Hi Mikael! Hey Hans, thanks for your fast answer :) > Se comments below. > I cannot see any ALERT message in the log only a CONNECT. > > The Ringing command should be first, before Answer ! It is > And it should not connect the B-channel. The ringing command ? > This connect is too early. We should have seen an ALERT message. So, this is the bug which causes the problem ? > Now, this is strange: This is the response to the second STATUS enquiry. But > why is is processed so late? Maybe something with the pcm ? I'm using the configuration of isdnconfig from the manpage, but I didn't know if it's the right thing to do. > The PBX had enough! I probably wants to terminate the dummy callreference, but > instead it terminates another call! This can maybe be exploited. Maybe because I've made another call just before this one, to reach a missed one with the debug ? > I4B follows up with a RELEASE_COMPLETE, though it is strictly not required, > but does send it anyway. This is not a violation of the ISDN protocol, hence > during a race when both ends wants to terminte at the same time, this can > happen. OK > This is suspicious: Why does the PBX send a double RELEASE_COMPLETE. I see no > reason for this. Maybe the other call before this one ? > This is also strange. Now the PBX wants to terminate the call again, but as > you see, the TEI value is completely wrong. TEI 0 is the TEI value for > Point2Point. Also the location value is wrong. Yes, duno :( > Can you tell us a little more about your setup. Is the HFC card connected to > an ISDN PBX or directly to the ISDN telecom provider? Of course. So, i'm using asterisk 1.2.17, asterisk-addons 1.2.3, zaptel 1.4.1 (for tdm400p card, with 2 fxo & 2 fxs) : all from ports I'm using i4b and chan_capi from svn trunk, revision 516. The HFC card is a b410p (quadbri) from digium and is connected to our ISDN telecom provider. There is another ISDN PBX (old alcatel one) connected (to our ISDN telecom provider) in parallel to the asterisk one, which works fine (but it's old and we're using a sip trunk with a voip provider, so we need to use an asterisk one). All calls are handle normally by this old PBX. We have seen that there were missed calls, because only the old PBX has made ringing the phones when it happens. > It looks to me like your PBX or Telco has a weak point in their code. I'm not > sure if I want to make another workaround in I4B for this kind of things, > hence I already have several workarounds for various PBX bugs. Let's hope it > is just your PBX :-) Hope too :) Thanks. Regards -- Mikael Batard Wan Again 12 Route de l'Isle 84510 Caumont sur Durance Tel: +33 (0)4 90 01 26 86 Fax: +33 (0)4 90 23 10 58 http://www.wanagain.fr/ From owner-freebsd-isdn@FreeBSD.ORG Fri Jul 13 05:20:22 2007 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82EAA16A400 for ; Fri, 13 Jul 2007 05:20:22 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id E3B7013C494 for ; Fri, 13 Jul 2007 05:20:21 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [212.17.141.53] (account mc467741@c2i.net HELO [10.150.48.142]) by mailfe11.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 375639182; Fri, 13 Jul 2007 07:20:18 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Fri, 13 Jul 2007 07:20:17 +0200 User-Agent: KMail/1.9.5 References: <4665CAFA.3080801@wanagain.net> <200707122319.46623.hselasky@c2i.net> <4696A23D.7020000@wanagain.net> In-Reply-To: <4696A23D.7020000@wanagain.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707130720.17585.hselasky@c2i.net> Cc: Subject: Re: Digium b410p with i4b X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 05:20:22 -0000 Hi Mikael, On Thursday 12 July 2007 23:50, Mikael Batard wrote: > On 12.07.2007 23:19, Hans Petter Selasky wrote: > > Hi Mikael! > > Hey Hans, > > thanks for your fast answer :) > > > Se comments below. > > > > I cannot see any ALERT message in the log only a CONNECT. > > > > The Ringing command should be first, before Answer ! > > It is Ok. > > > And it should not connect the B-channel. > > The ringing command ? Yes. > > > This connect is too early. We should have seen an ALERT message. > > So, this is the bug which causes the problem ? Not according to the timing in the log. > > > Now, this is strange: This is the response to the second STATUS enquiry. > > But why is is processed so late? > > Maybe something with the pcm ? > I'm using the configuration of isdnconfig from the manpage, but I didn't > know if it's the right thing to do. No, that is not the problem. > > > The PBX had enough! I probably wants to terminate the dummy > > callreference, but instead it terminates another call! This can maybe be > > exploited. > > Maybe because I've made another call just before this one, to reach a > missed one with the debug ? If you look at the Callreference value, you see that the PBX tries to terminate the last incoming call multiple times. This looks like a bug in the PBX! > > > I4B follows up with a RELEASE_COMPLETE, though it is strictly not > > required, but does send it anyway. This is not a violation of the ISDN > > protocol, hence during a race when both ends wants to terminte at the > > same time, this can happen. > > OK > > > This is suspicious: Why does the PBX send a double RELEASE_COMPLETE. I > > see no reason for this. > > Maybe the other call before this one ? I think the PBX (or your Teleco provider) is about to hang. You can expect that it will run out of memory and stop working after X such calls :-) > > > This is also strange. Now the PBX wants to terminate the call again, but > > as you see, the TEI value is completely wrong. TEI 0 is the TEI value for > > Point2Point. Also the location value is wrong. > > Yes, duno :( It is a PBX bug. > > > Can you tell us a little more about your setup. Is the HFC card connected > > to an ISDN PBX or directly to the ISDN telecom provider? > > Of course. Directly to the Telecom provider. Ok. > > So, i'm using asterisk 1.2.17, asterisk-addons 1.2.3, zaptel 1.4.1 (for > tdm400p card, with 2 fxo & 2 fxs) : all from ports > I'm using i4b and chan_capi from svn trunk, revision 516. > The HFC card is a b410p (quadbri) from digium and is connected to our > ISDN telecom provider. > There is another ISDN PBX (old alcatel one) connected (to our ISDN > telecom provider) in parallel to the asterisk one, which works fine (but > it's old and we're using a sip trunk with a voip provider, so we need to > use an asterisk one). All calls are handle normally by this old PBX. > We have seen that there were missed calls, because only the old PBX has > made ringing the phones when it happens. > > > It looks to me like your PBX or Telco has a weak point in their code. I'm > > not sure if I want to make another workaround in I4B for this kind of > > things, hence I already have several workarounds for various PBX bugs. > > Let's hope it is just your PBX :-) > > Hope too :) --HPS