Voicomm User
2005-Oct-19 21:17 UTC
[Asterisk-Users] chan_capi-0.6 configuration Query with Eicon Diva 4BRI
Hello Hardware: Eicon Diva 4BRI ISDN Card Software : Asterisk : Asterisk CVS-v1-0-08/13/05-19:51:52 Chan Capi: chan_capi-0.6 We are using an Eicon 4BRI ISDN Card here in Australia with Asterisk, connected to 4 OnRamp services with Telstra. There are 8 available channels, but after upgrading to latest capi driver we notice that the box is not able to handle more than 2 calls at the same time. An engaged signal is heard at the other end. After this happens once, some calls fail even when all channels are free. I don't see any messages on console for failes calls. Even when I turn on 'capi debug' and 'set verbose 20'. The telstra personnel have confirmed busy signal is sent out by the PABX. But its bizarre not to see any messages. No error messages are logged as well. capi info : Contr1: 2 B channels total, 2 B channels free. Contr2: 2 B channels total, 2 B channels free. Contr3: 2 B channels total, 2 B channels free. Contr4: 2 B channels total, 2 B channels free. capi.conf [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 [isdn] isdnmode=ptp ; Is this correct for Point to Point Mode? msn=<8 digit local number> group=1 incomingmsn=* controller=1,2,3,4 ; there are 4 controllers devices=2 ; should this be 8? softdtmf=on relaxdtmf=on accountcodecontext=main-menu echocancelold=yes ;echocancel=yes ; Turning this on gives a error message each time a call is terminated. usecallerid=yes callerid=asreceived ;echosquelch=1 ;echotail=64 ;callgroup=1 ;pickupgroup=1 Should I define config for each controller seperately? The card is currently configured on a TE mode with Point to Point. Any help appreciated. cheers -r
John Daragon
2005-Oct-19 21:55 UTC
[Asterisk-Users] chan_capi-0.6 configuration Query with Eicon Diva 4BRI
Voicomm User wrote:> Hello > > Hardware: Eicon Diva 4BRI ISDN Card > Software : Asterisk : Asterisk CVS-v1-0-08/13/05-19:51:52 > Chan Capi: chan_capi-0.6 > > We are using an Eicon 4BRI ISDN Card here in Australia with Asterisk, > connected to 4 OnRamp services with Telstra. > > There are 8 available channels, but after upgrading to latest capi > driver we notice that the box is not able to handle more than 2 calls > at the same time. An engaged signal is heard at the other end. After > this happens once, some calls fail even when all channels are free. > I don't see any messages on console for failes calls. Even when I turn > on 'capi debug' and 'set verbose 20'. > > The telstra personnel have confirmed busy signal is sent out by the > PABX. But its bizarre not to see any messages. No error messages are > logged as well. > > capi info : > Contr1: 2 B channels total, 2 B channels free. > Contr2: 2 B channels total, 2 B channels free. > Contr3: 2 B channels total, 2 B channels free. > Contr4: 2 B channels total, 2 B channels free. > > capi.conf > > [general] > nationalprefix=0 > internationalprefix=00 > rxgain=0.8 > txgain=0.8 > > [isdn] > isdnmode=ptp ; Is this correct for Point to Point Mode? > msn=<8 digit local number> > group=1 > incomingmsn=* > controller=1,2,3,4 ; there are 4 controllers > devices=2 ; should this be 8? > softdtmf=on > relaxdtmf=on > accountcode> context=main-menu > echocancelold=yes > ;echocancel=yes ; Turning this on gives a error message each time a > call is terminated. > usecallerid=yes > callerid=asreceived > ;echosquelch=1 > ;echotail=64 > ;callgroup=1 > ;pickupgroup=1The syntax has changed a bit. Time was when the "devices=" line basically said "OK, that's this controller done with, let's commit that and start on the next one..." With 0.6 (if I read it correctly) it goes : [general] . . [some_string] group=1 isdnmode=did <-- note this has changed [DID/MSN] incomingmsn=* rxgain=1.0 txgain=0.8 controller=1 softdtmf=0 accountcodecontext=from-pstn echosquelch=0 echocancel=yes echotail=64 devices=2 [some_other_string] group=1 isdnmode=did incomingmsn=* rxgain=1.0 txgain=0.8 controller=2 softdtmf=0 accountcodecontext=from-pstn echosquelch=0 echocancel=yes echotail=64 devices=2 Hope this helps... jd -- John Daragon john@argv.co.uk argv[0] limited Lambs Lawn Cottage, Staple Fitzpaine, Taunton, TA3 5SL, UK v +44 (0) 1460 234068 f +44 (0) 1460 234069 m +44 (0) 7836 576127
Voicomm User
2005-Oct-20 01:39 UTC
[Asterisk-Users] chan_capi-0.6 configuration Query with Eicon Diva 4BRI
Okay let me share my experience. I had 'controller=1,2,3,4' and 'devices=2' in my capi.conf Devices should be the *sum* of capacity of all controllers i.e in my case 'devices=8'. For some reason the exchange didn't like it when I had my controllers listed over mutiple lines, i.e like john's config. Caller kept getting the message "service not compatible". Hope this helps. -r On 10/20/05, John Daragon <john@argv.co.uk> wrote:> Voicomm User wrote: > > So, are you saying 'msn=' parameter is not required for both Point to > > Point and Point to Multi Point? > > > > Yep. Dial syntax used to be CAPI/<MSN>:<number> so each controller > needed at least one MSN. > > with 0.6 you can only dial by group, controller or interface name : > > > Dial(CAPI/g1/<number>) > Dial(CAPI/contr1/<number>) > Dial(CAPI/<name I gave this controller>/number) > > > You *will* have to set incomingmsn either to a real number or *. > > jd > > -- > > John Daragon john@argv.co.uk > argv[0] limited > Lambs Lawn Cottage, Staple Fitzpaine, Taunton, TA3 5SL, UK > v +44 (0) 1460 234068 f +44 (0) 1460 234069 m +44 (0) 7836 576127 > > >