[Asterisk-Users] chan_capi-cm and DID

Armin Schindler armin at melware.de
Tue Jan 17 04:16:17 MST 2006


On Tue, 17 Jan 2006, richard Coco wrote:
> Hi Armin,
> 
> thx for your feedback, but what do you mean with "Did
> you load the card with config for DID on that port?"
> 
> I have loaded the modules with:
> modprobe capi 
> modprobe kernelcapi 
> modprobe divacapi 
> modprobe divas
> 
> and then loaded divactrl like this:
> divactrl load -f ETSI
> 
> I suppose that this is ok (it works without did)? Or
> have i forgotten something?

With 
  divactrl load -f ETSI
you load the card to PtMP (which is the default) on all four ports.
Use
  divactrl load -c 1 -SeparateConfig -u1
where the '1' of -u1 means second port.
E.g. -u is first port, -u1 -u2 -u3 is port 2,3,4.

When using -SeparateConfig, the X-extension is available
for many options.

E.g., you can put port 3 and 4 into NT-mode, or even run another protocol
(1TR6, JAPAN, QSIG,...) on other ports.

See
  divactrl load -h
for all options.
 
Armin

> thx in advance..
> 
> --- Armin Schindler <armin at melware.de> wrote:
> 
> > On Mon, 16 Jan 2006, richard Coco wrote:
> > > Hi all,
> > > 
> > > i have asterisk 1.0.9 with an Eicon Diva 4bri and
> > > chan_capi-cm-0.6. I have 2 NTBAs (one with did and
> > one
> > > without).
> > > When using the one without did, i am able to place
> > > outgoing and incoming calls. When i use the NTBAs
> > with
> > > did i have a layer 2 error.
> > > 
> > > Anyone an idea?
> > 
> > Did you load the card with config for DID on that
> > port?
> > What are your divactrl parameters? (Or do you use
> > Eicon Package with xml based config?)
> > 
> > Armin 
> >  
> > >     -- Executing Dial("SIP/2004-9634",
> > > "CAPI/g1/43XXXXXX") in new stack
> > >        > data = g1/43XXXXXX
> > >        > parsed dialstring: 'g1' '43XXXXXX' ''
> > >        > capi request group = 2
> > >        > parsed dialstring: 'g1' '43XXXXXX' ''
> > >   == EICON: Call CAPI/EICON/43XXXXXX-6  
> > (pres=0x00,
> > > ton=0x00)
> > > CONNECT_REQ ID=001 #0x000c LEN=0065
> > >   Controller/PLCI/NCCI            = 0x1
> > >   CIPValue                        = 0x10
> > >   CalledPartyNumber               = <80>43XXXXXX
> > >   CallingPartyNumber              = <00 80
> > > 22>EyeBeam<22> <3c>2004<3e>
> > >   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 g1/43XXXXXX
> > > CONNECT_CONF ID=001 #0x000c LEN=0014
> > >   Controller/PLCI/NCCI            = 0x201
> > >   Info                            = 0x0
> > > 
> > >     -- EICON: received CONNECT_CONF PLCI = 0x201
> > > DISCONNECT_IND ID=001 #0x0011 LEN=0014
> > >   Controller/PLCI/NCCI            = 0x201
> > >   Reason                          = 0x3302
> > > 
> > > DISCONNECT_RESP ID=001 #0x0011 LEN=0012
> > >   Controller/PLCI/NCCI            = 0x201
> > > 
> > >        > CAPI INFO 0x3302: Protocol error layer 2
> > >   == EICON: CAPI Hangingup
> > >   == EICON: Interface cleanup PLCI=0x201
> > >   == No one is available to answer at this time
> > > 
> > > my capi.conf looks like:
> > > [DID]
> > > controller=1,2,3,4
> > > isdnmode=did
> > > incomingmsn=*
> > > softdtmf=on
> > > relaxdtmf=on
> > > accountcode=
> > > context=DID
> > > echocancel=yes
> > > ;echocancelold=yes
> > > devices=2
> > > group=1
> > > 
> > > 
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > > http://mail.yahoo.com 
> > > _______________________________________________
> > > --Bandwidth and Colocation provided by
> > Easynews.com --
> > > 
> > > Asterisk-Users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >   
> >
> http://lists.digium.com/mailman/listinfo/asterisk-users
> > > 
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com
> > --
> > 
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   
> >
> http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 



More information about the asterisk-users mailing list