[Asterisk-Users] chan_capi hfcpci mISDN linux 2.6.12 not working

Konrads Smelkovs konrads.smelkovs at gmail.com
Mon Sep 5 05:05:20 MST 2005


Hello, 
I solved the problem - i was setting wrong caller-ID and thus got rejected.
Thanks for help.

On 05/09/05, Konrads Smelkovs <konrads.smelkovs at gmail.com> wrote:
> 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 at 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 at 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.
> 


-- 
Konrads Smelkovs
Applied IT sorcery.



More information about the asterisk-users mailing list