Konrads Smelkovs
2005-Sep-02 03:47 UTC
[Asterisk-Users] chan_capi hfcpci mISDN linux 2.6.12 not working
Hello, These are error messages I get when I try to call a number over CAPI channel. -- Executing SetCallerID("SIP/xlite1-3b80", "0") in new stack -- Executing Dial("SIP/xlite1-3b80", "CAPI/hfcpci/b17") in new stack > data = hfcpci/b17 > capi request for interface 'hfcpci' == hfcpci: Call CAPI/hfcpci/b17-1 (pres=0x00, ton=0x00) -- hfcpci: received CONNECT_CONF PLCI = 0x201 -- Called hfcpci/b17 == hfcpci: Interface cleanup PLCI=0x201 == No one is available to answer at this time (1:0/0/0) == Auto fallthrough, channel 'SIP/xlite1-3b80' status is 'NOANSWER' mISDNUser test tools show ISDN line working (testcon). capi info shows that 2 B channels are available capiinfo utility also dumps meaningful information - indicating that it indeed recognises the card. chan_capi version - CVS as of Sep 2, 2005 from chan-capi.sf.net I read comments on voip-info about 2.6.12 kernel breaking something, but the patch was for capi 0.3.5, not sure it applies... capi.conf: [hfcpci] ;;PointToPoint (55512-0) isdnmode=ptp incomingmsn=61 msn=61 controller=1 devices=2 context=capi-in extensions.conf [capi-in] exten => 61,1,Dial,SIP/xlite1 exten => s,1,HangUp [sip] exten => _XX,1,SetCallerId(0) exten => _XX,2,Dial(CAPI/hfcpci/b17) capiinfo: Number of Controllers : 1 Controller 1: Manufacturer: mISDN CAPI controller HFC1 CAPI Version: 2.0 Manufacturer Version: 1.0 Serial Number: 0002 BChannels: 2 Global Options: 0x00000018 DTMF supported Supplementary Services supported B1 protocols support: 0x00000003 64 kbit/s with HDLC framing 64 kbit/s bit-transparent operation B2 protocols support: 0x00000043 ISO 7776 (X.75 SLP) Transparent Transparent (ignoring framing errors of B1 protocol) B3 Transparent ISO 8208 (X.25 DTE-DTE) 0100 0200 18000000 03000000 43000000 05000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Supplementary services support: 0x00000012 Terminal Portability Call Forwarding protocols support: 0x00000005 -- Konrads Smelkovs Applied IT sorcery.
Armin Schindler
2005-Sep-02 04:05 UTC
[Asterisk-Users] chan_capi hfcpci mISDN linux 2.6.12 not working
On Fri, 2 Sep 2005, Konrads Smelkovs wrote:> Hello, > These are error messages I get when I try to call a number over CAPI channel. > > -- Executing SetCallerID("SIP/xlite1-3b80", "0") in new stack > -- Executing Dial("SIP/xlite1-3b80", "CAPI/hfcpci/b17") in new stack > > data = hfcpci/b17 > > capi request for interface 'hfcpci' > == hfcpci: Call CAPI/hfcpci/b17-1 (pres=0x00, ton=0x00) > -- hfcpci: received CONNECT_CONF PLCI = 0x201 > -- Called hfcpci/b17 > == hfcpci: Interface cleanup PLCI=0x201 > == No one is available to answer at this time (1:0/0/0) > == Auto fallthrough, channel 'SIP/xlite1-3b80' status is 'NOANSWER' > > > mISDNUser test tools show ISDN line working (testcon). > > capi info shows that 2 B channels are available > capiinfo utility also dumps meaningful information - indicating that > it indeed recognises the card.To see more, you may want to increase verbosity level and enable 'capi debug'. Anyway, if you are using CVS version of chan_capi, your dialstring is not correct. The option for earlyb3 'b' may not be part of the called number any more. Option are added after the called id and an additional '/'. Your dial command should look like this: Dial(CAPI/hfcpci/17/b)> chan_capi version - CVS as of Sep 2, 2005 from chan-capi.sf.net > I read comments on voip-info about 2.6.12 kernel breaking something, > but the patch was for capi 0.3.5, not sure it applies...No, this is obsolete for chan_capi on sourceforge. No patches are needed. Armin
Konrads Smelkovs
2005-Sep-05 04:00 UTC
[Asterisk-Users] chan_capi hfcpci mISDN linux 2.6.12 not working
Here you go, eagerly awaiting comments: -- Executing SetCallerID("SIP/xlite1-e0a7", "0") in new stack -- Executing Dial("SIP/xlite1-e0a7", "CAPI/hfcpci/17/b") in new stack > data = hfcpci/17/b > parsed dialstring: 'hfcpci' '17' 'b' > capi request for interface 'hfcpci' > parsed dialstring: 'hfcpci' '17' 'b' == hfcpci: Call CAPI/hfcpci/17-0 with B3 (pres=0x00, ton=0x00) CONNECT_CONF ID=001 #0x0003 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 -- hfcpci: received CONNECT_CONF PLCI = 0x101 CONNECT_REQ ID=001 #0x0003 LEN=0044 Controller/PLCI/NCCI = 0x1 CIPValue = 0x1 CalledPartyNumber = <80>17 CallingPartyNumber = <00 80>0 CalledPartySubaddress = default CallingPartySubaddress = default BProtocol B1protocol = 0x1 B2protocol = 0x1 B3protocol = 0x0 B1configuration = default B2configuration = default B3configuration = default BC = default LLC = default HLC = default AdditionalInfo BChannelinformation = <00 00> Keypadfacility = default Useruserdata = default Facilitydataarray = default -- Called hfcpci/17/b INFO_IND ID=001 #0x0001 LEN=0017 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x8 InfoElement = <81 81> INFO_RESP ID=001 #0x0001 LEN=0012 Controller/PLCI/NCCI = 0x101 -- hfcpci: info element CAUSE 81 81 DISCONNECT_IND ID=001 #0x0002 LEN=0014 Controller/PLCI/NCCI = 0x101 DISCONNECT_IND ID=001 #0x0002 LEN=0014 Controller/PLCI/NCCI = 0x101 Reason = 0x3481 DISCONNECT_RESP ID=001 #0x0002 LEN=0012 Controller/PLCI/NCCI = 0x101 > CAPI INFO 0x3481: Unallocated (unassigned) number == hfcpci: CAPI Hangingup == hfcpci: Interface cleanup PLCI=0x101 == No one is available to answer at this time (1:0/0/0) == Auto fallthrough, channel 'SIP/xlite1-e0a7' status is 'NOANSWER' On 04/09/05, Armin Schindler <armin@melware.de> wrote:> This is not enough to see the problem. > Use verbose level 5 (-vvvvv) > and use 'capi debug' > > Armin > > On Sun, 4 Sep 2005, Konrads Smelkovs wrote: > > See if this helps... , i ran asterisk with -vvvgc > > > > CAPI Debugging Enabled > > -- Executing SetCallerID("SIP/xlite1-1be2", "0") in new stack > > -- Executing Dial("SIP/xlite1-1be2", "CAPI/hfcpci/17/b") in new stack > > > data = hfcpci/17/b > > > capi request for interface 'hfcpci' > > == hfcpci: Call CAPI/hfcpci/17-1 with B3 (pres=0x00, ton=0x00) > > -- hfcpci: received CONNECT_CONF PLCI = 0x101 > > -- Called hfcpci/17/b > > == hfcpci: Interface cleanup PLCI=0x101 > > == No one is available to answer at this time (1:0/0/0) > > == Auto fallthrough, channel 'SIP/xlite1-1be2' status is 'NOANSWER' > > > > Maybe there is something more I could look for? > > On 02/09/05, Armin Schindler <armin@melware.de> wrote: > > > On Fri, 2 Sep 2005, Konrads Smelkovs wrote: > > > > Hello, > > > > These are error messages I get when I try to call a number over CAPI channel. > > > > > > > > -- Executing SetCallerID("SIP/xlite1-3b80", "0") in new stack > > > > -- Executing Dial("SIP/xlite1-3b80", "CAPI/hfcpci/b17") in new stack > > > > > data = hfcpci/b17 > > > > > capi request for interface 'hfcpci' > > > > == hfcpci: Call CAPI/hfcpci/b17-1 (pres=0x00, ton=0x00) > > > > -- hfcpci: received CONNECT_CONF PLCI = 0x201 > > > > -- Called hfcpci/b17 > > > > == hfcpci: Interface cleanup PLCI=0x201 > > > > == No one is available to answer at this time (1:0/0/0) > > > > == Auto fallthrough, channel 'SIP/xlite1-3b80' status is 'NOANSWER' > > > > > > > > > > > > mISDNUser test tools show ISDN line working (testcon). > > > > > > > > capi info shows that 2 B channels are available > > > > capiinfo utility also dumps meaningful information - indicating that > > > > it indeed recognises the card. > > > > > > To see more, you may want to increase verbosity level and enable > > > 'capi debug'. > > > > > > Anyway, if you are using CVS version of chan_capi, your dialstring is not > > > correct. The option for earlyb3 'b' may not be part of the called number any > > > more. Option are added after the called id and an additional '/'. > > > Your dial command should look like this: > > > Dial(CAPI/hfcpci/17/b) > > > > > > > chan_capi version - CVS as of Sep 2, 2005 from chan-capi.sf.net > > > > I read comments on voip-info about 2.6.12 kernel breaking something, > > > > but the patch was for capi 0.3.5, not sure it applies... > > > > > > No, this is obsolete for chan_capi on sourceforge. No patches are needed. > > > > > > Armin > > > > > > > > > > > > -- > > Konrads Smelkovs > > Applied IT sorcery. > > >-- Konrads Smelkovs Applied IT sorcery.