From owner-freebsd-isdn@FreeBSD.ORG Mon Sep 3 11:08:15 2007 Return-Path: Delivered-To: freebsd-isdn@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B07216A476 for ; Mon, 3 Sep 2007 11:08:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3431E13C46C for ; Mon, 3 Sep 2007 11:08:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l83B8Fef079096 for ; Mon, 3 Sep 2007 11:08:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l83B8CML079092 for freebsd-isdn@FreeBSD.org; Mon, 3 Sep 2007 11:08:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Sep 2007 11:08:12 GMT Message-Id: <200709031108.l83B8CML079092@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, 03 Sep 2007 11:08:15 -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 Sep 3 21:18:54 2007 Return-Path: Delivered-To: freebsd-isdn@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA00D16A41A for ; Mon, 3 Sep 2007 21:18:54 +0000 (UTC) (envelope-from ovb@ovb.ch) Received: from ovbis01.ovb.ch (ovbis01.ovb.ch [213.188.32.144]) by mx1.freebsd.org (Postfix) with ESMTP id 7708013C480 for ; Mon, 3 Sep 2007 21:18:54 +0000 (UTC) (envelope-from ovb@ovb.ch) Received: from ovbas00.ovb.ch ([213.180.173.192] helo=[192.168.30.103]) by ovbis01.ovb.ch with esmtp (Exim 4.51) id 1ISJJt-0000zv-8Y; Mon, 03 Sep 2007 23:18:53 +0200 Message-ID: <46DC7A3D.8000109@ovb.ch> Date: Mon, 03 Sep 2007 23:18:53 +0200 From: Oliver von Bueren User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-isdn@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Asterisk with ISDN4BSD 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, 03 Sep 2007 21:18:55 -0000 Hi M8s I've a strange problem which I just started to notice. I've connected my asterisk box to a P2P ISDN line (telco provider) with a FritzCard. Running the i4b by hps on a FreeBSD 6.2-p7 It seems that on every second INCOMING call, the audio signal is not routed from the ISDN to the SIP phone. Outgoing is ok. In this example, it worked, calling from an external number to DDI 41 -- capi_handle_connect_indication:6049:ENTRY=:PLCI=0x0300:PBX_CHAN=**Unknown**: -- Incoming call from '079xxxxxxxx' to '41', CIP=0x0010, sending_complete=yes == search_cep:5818:ENTRY=ISDN1:PLCI=0x0300:PBX_CHAN=**Unknown**: == Incoming call '079xxxxxxxx' -> '41' == cd_start_pbx:5939:ENTRY=ISDN1:PLCI=0x0300:PBX_CHAN=CAPI/ISDN1/41-2: == Started PBX -- Executing [41@from_isdn:1] Set("CAPI/ISDN1/41-2", "CALLERID(num)=0079xxxxxxx") in new stack -- Executing [41@from_isdn:2] Goto("CAPI/ISDN1/41-2", "to_sip|705|1") in new stack -- Goto (to_sip,705,1) -- Executing [705@to_sip:1] Ringing("CAPI/ISDN1/41-2", "") in new stack == chan_capi_indicate:4643:ENTRY=ISDN1:PLCI=0x0300:PBX_CHAN=CAPI/ISDN1/41-2: -- Executing [705@to_sip:2] Dial("CAPI/ISDN1/41-2", "SIP/705|30") in new stack -- Called 705 > Out of order update usecount! -- SIP/705-087a8000 is ringing == chan_capi_indicate:4643:ENTRY=ISDN1:PLCI=0x0300:PBX_CHAN=CAPI/ISDN1/41-2: -- SIP/705-087a8000 is ringing -- SIP/705-087a8000 answered CAPI/ISDN1/41-2 == chan_capi_indicate:4643:ENTRY=ISDN1:PLCI=0x0300:PBX_CHAN=CAPI/ISDN1/41-2: == chan_capi_answer:4702:ENTRY=ISDN1:PLCI=0x0300:PBX_CHAN=CAPI/ISDN1/41-2: == capi_send_connect_resp:3128:ENTRY=ISDN1:PLCI=0x0300:PBX_CHAN=CAPI/ISDN1/41-2: == Connected to 41 == capi_send_detect_dtmf_req:3449:ENTRY=ISDN1:PLCI=0x0300:PBX_CHAN=CAPI/ISDN1/41-2: == Setting up DTMF detector, flag=1 [...] => call takes place [...] == Spawn extension (to_sip, 705, 2) exited non-zero on 'CAPI/ISDN1/41-2' > Out of order update usecount! ------------------------------------------------------------------------------------------ Right after the call above, I did the next one, which does not work: ------------------------------------------------------------------------------------------ -- capi_handle_connect_indication:6049:ENTRY=:PLCI=0x0400:PBX_CHAN=**Unknown**: -- Incoming call from '079xxxxxxx' to '41', CIP=0x0010, sending_complete=yes == search_cep:5818:ENTRY=ISDN1:PLCI=0x0400:PBX_CHAN=**Unknown**: == Incoming call '079xxxxxxx' -> '41' == cd_start_pbx:5939:ENTRY=ISDN1:PLCI=0x0400:PBX_CHAN=CAPI/ISDN1/41-3: == Started PBX -- Executing [41@from_isdn:1] Set("CAPI/ISDN1/41-3", "CALLERID(num)=0079xxxxxxx") in new stack -- Executing [41@from_isdn:2] Goto("CAPI/ISDN1/41-3", "to_sip|705|1") in new stack -- Goto (to_sip,705,1) -- Executing [705@to_sip:1] Ringing("CAPI/ISDN1/41-3", "") in new stack == chan_capi_indicate:4643:ENTRY=ISDN1:PLCI=0x0400:PBX_CHAN=CAPI/ISDN1/41-3: -- Executing [705@to_sip:2] Dial("CAPI/ISDN1/41-3", "SIP/705|30") in new stack -- Called 705 > Out of order update usecount! -- SIP/705-087af000 is ringing == chan_capi_indicate:4643:ENTRY=ISDN1:PLCI=0x0400:PBX_CHAN=CAPI/ISDN1/41-3: -- SIP/705-087af000 is ringing -- SIP/705-087af000 answered CAPI/ISDN1/41-3 == chan_capi_indicate:4643:ENTRY=ISDN1:PLCI=0x0400:PBX_CHAN=CAPI/ISDN1/41-3: == chan_capi_answer:4702:ENTRY=ISDN1:PLCI=0x0400:PBX_CHAN=CAPI/ISDN1/41-3: == capi_send_connect_resp:3128:ENTRY=ISDN1:PLCI=0x0400:PBX_CHAN=CAPI/ISDN1/41-3: == Connected to 41 == capi_send_detect_dtmf_req:3449:ENTRY=ISDN1:PLCI=0x0400:PBX_CHAN=CAPI/ISDN1/41-3: == Setting up DTMF detector, flag=1 [... call - hangup ...] == Spawn extension (to_sip, 705, 2) exited non-zero on 'CAPI/ISDN1/41-3' > Out of order update usecount! ------------------------------------------------------------------------------------------ I can repeat that multiple times, every second inbound call has no audio. What is interesting is, that the calls with an odd PLCI number (PLCI=0x0300 in the first log part) do work, the ones with an even number like PLCI=0x0400 do not. The Dialplan part for this call: [from_isdn] exten => 41,1,Set(CALLERID(num)=0${CALLERID(num)}) exten => 41,n,Goto(to_sip,705,1) [to_sip] exten => _70[1-3],1,Ringing exten => _70[1-3],n,Dial(SIP/${EXTEN},120) exten => _70[1-3],n,Hangup -------- capi.conf [general] nationalprefix=0 internationalprefix=00 rxgain=1.0 txgain=1.0 [ISDN1] isdnmode=msn incomingmsn=* controller=0 group=1 softdtmf=off relaxdtmf=off accountcode= context=from_isdn holdtype=local echocancel=no echosquelch=yes devices=2 wait_silence_samples=1000 --------------- # isdnconfig controller 0 = { Layer 1: description : AVM Fritz!Card PCI type : passive ISDN (Basic Rate, 2xB) channels : 0x3 serial : 0xabcd power_save : on dialtone : enabled attached : yes PH-state : Activate indication (priority=8/9) Layer 2: driver_type : DRVR_DSS1_P2P_TE } ------ Any ideas what that could be? -- Oliver From owner-freebsd-isdn@FreeBSD.ORG Tue Sep 4 06:00:33 2007 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 491AC16A417 for ; Tue, 4 Sep 2007 06:00:33 +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 D642A13C442 for ; Tue, 4 Sep 2007 06:00:32 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.lan) by mailfe04.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 599340387; Tue, 04 Sep 2007 08:00:28 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Tue, 4 Sep 2007 08:00:43 +0200 User-Agent: KMail/1.9.7 References: <46DC7A3D.8000109@ovb.ch> In-Reply-To: <46DC7A3D.8000109@ovb.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709040800.44206.hselasky@c2i.net> Cc: Oliver von Bueren Subject: Re: Asterisk with ISDN4BSD 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: Tue, 04 Sep 2007 06:00:33 -0000 On Monday 03 September 2007, Oliver von Bueren wrote: > Hi M8s > > I've a strange problem which I just started to notice. I've connected my > asterisk box to a P2P ISDN line (telco provider) with a FritzCard. > Running the i4b by hps on a FreeBSD 6.2-p7 > > It seems that on every second INCOMING call, the audio signal is not > routed from the ISDN to the SIP phone. Outgoing is ok. > > In this example, it worked, calling from an external number to DDI 41 The problem is most likely related to the FIFO stopping on the Fritz Card. Have you tried with an HFC-XXX card from colognechip ? --HPS From owner-freebsd-isdn@FreeBSD.ORG Tue Sep 4 07:36:17 2007 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04B8C16A46B for ; Tue, 4 Sep 2007 07:36:17 +0000 (UTC) (envelope-from ovb@ovb.ch) Received: from ovbis01.ovb.ch (ovbis01.ovb.ch [213.188.32.144]) by mx1.freebsd.org (Postfix) with ESMTP id BD62213C474 for ; Tue, 4 Sep 2007 07:36:16 +0000 (UTC) (envelope-from ovb@ovb.ch) Received: from ovbis01.ovb.ch ([213.188.32.144] helo=cust.static.84-253-53-18.cybernet.ch) by ovbis01.ovb.ch with smtp (Exim 4.51) id 1ISSxL-000Mlh-Dk; Tue, 04 Sep 2007 09:36:15 +0200 To: Hans Petter Selasky From: Oliver von Bueren Date: Tue, 4 Sep 2007 07:36:15 GMT X-Mailer: Endymion MailMan Professional Edition v3.0.35.ovb.4 Message-Id: <20070904073616.BD62213C474@mx1.freebsd.org> Cc: freebsd-isdn@freebsd.org, ovb@ovb.ch Subject: Re: Asterisk with ISDN4BSD 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: Tue, 04 Sep 2007 07:36:17 -0000 > > I've a strange problem which I just started to notice. I've connected my > > asterisk box to a P2P ISDN line (telco provider) with a FritzCard. > > Running the i4b by hps on a FreeBSD 6.2-p7 > > > > It seems that on every second INCOMING call, the audio signal is not > > routed from the ISDN to the SIP phone. Outgoing is ok. > > > > In this example, it worked, calling from an external number to DDI 41 > > The problem is most likely related to the FIFO stopping on the Fritz Card. > > Have you tried with an HFC-XXX card from colognechip ? No, not on this Machine and I don't have one of those around (beside the ones for ISA:-)). What type of inexpensive HFC-XXX card would you suggest to buy for a one-channel S0 solution? I've seen that Beronet has a "Single Port HFC S0 Card". I guess that one should be quite inexpensive. Any other suggestions? For the time being: Just restarting FreeBSD does not unblock the second channel, so I did a complete shutdown, removed power and started again. That did get it going on both channels again, but I don't know for how long. For a fix until I've got another card, is there any method of resetting the card to it's power-up state without a complete power down? Oliver