Hi all, finally i think i find where is my trouble :-)
i can't get the card fonctionning in P2P mode, actually i work in p2mp
but i have only 2 Bchan. I think i forgot something (or definitly AVM C2
does not work whith *)
* 1.0.9
chan_capi_cm 0.5.4
the dial sttring for outbound call:
_0X.,4,Dial(CAPI/g1/b${EXTEN}/bo)
default extension for inbouond call:
exten => s,1,Answer
exten => s,2,Dial(${INCOMING},30,tT)
/etc/capi.conf (if i put P2P, i cant have inbound call):
c2 c2.bin DSS1 - - - -
c2 - DSS1 - - - -
/etc/asterisk/capi.conf
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
[interfaces]
isdnmode=msn
incomingmsn=*
controller=1
group=1
softdtmf=1
accountcodecontext=capi-in
devices=2
isdnmode=msn
incomingmsn=*
controller=2
group=1
softdtmf=1
accountcodecontext=capi-in
devices=2
--
Stephane Plichon | HASGARD
~
On Thu, 22 Dec 2005, st?phane plichon wrote:> Hi all, finally i think i find where is my trouble :-) > > i can't get the card fonctionning in P2P mode, actually i work in p2mp > but i have only 2 Bchan. I think i forgot something (or definitly AVM C2 > does not work whith *) > > * 1.0.9 > chan_capi_cm 0.5.4 > > the dial sttring for outbound call: > _0X.,4,Dial(CAPI/g1/b${EXTEN}/bo)This dial string does not make sense. With version 0.5.4 you use _0X.,4,Dial(CAPI/g1/b${EXTEN}) but for 0.6.x _0X.,4,Dial(CAPI/g1/${EXTEN}/bo)> /etc/asterisk/capi.conf > > [general] > nationalprefix=0 > internationalprefix=00 > rxgain=0.8 > txgain=0.8 > > [interfaces] > > isdnmode=msn > incomingmsn=* > controller=1 > group=1 > softdtmf=1 > accountcode> context=capi-in > devices=2 > > isdnmode=msn > incomingmsn=* > controller=2 > group=1 > softdtmf=1 > accountcode> context=capi-in > devices=2When using PtP, you need to set isdnmode=ptp (or isdnmode=did when using 0.6.x) Read the README ! Armin