Claudio Beffa
2006-Jan-24 06:54 UTC
[Asterisk-Users] Re: Asterisk-Users Digest, Vol 18, Issue 134
O.K. thanks a lot, Felix and Peer Oliver. But somehow asterisk keeps telling me while startup: [chan_capi.so] => (Common ISDN API for Asterisk) Jan 24 14:30:47 NOTICE[9796]: chan_capi.c:3271 load_module: Unused contr1 Jan 24 14:30:47 NOTICE[9796]: chan_capi.c:3271 load_module: Unused contr2 Jan 24 14:30:47 NOTICE[9796]: chan_capi.c:3271 load_module: Unused contr3 Jan 24 14:30:47 NOTICE[9796]: chan_capi.c:3271 load_module: Unused contr4 Even though 3 lines (Anlageanschluss "Point-to-Point"; Euro-ISDN) are connect and asterisk doesn't react even if verbose is 5 and capi debug enabled. Swisscom sends me 3 Digits as DID, for example for the direct call 01 389 92 31, it sends me 231. At the End I would like to use asterisk and AVM 4 with 3 BRI lines and 1 ISDN-phone (Extens: 251). At the moment only the 3 BRI lines were connected. Do you know how to do that? Maybe like this: /etc/asterisk/capi.conf ; ; CAPI config ; ; [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 [ISDN2] isdnmode=ptp msn=51 incomingmsn=251 controller=4 softdtmf=1 accountcodecontext=Amt callgroup=2 devices=2 [ISDN1] isdnmode=ptp msn=3899231 incomingmsn=* controller=1,2,3 softdtmf=1 accountcodecontext=Intern-ISDN callgroup=1 devices=6 /etc/capi.conf #SuSEconfig.isdn generated # card file proto io irq mem cardnr options c4 c4.bin DSS1 - - - 1 p2p c4 - DSS1 - - - 2 p2p c4 - DSS1 - - - 3 p2p c4 - DSS1 - - - 4 p2p Versions: net-misc/asterisk-chan_capi-cm-0.5.4 net-misc/asterisk-1.0.8-r1 +alsa -bri +debug -doc -gtk -hardened +mmx -mysql -postgres -pri -resperl -speex -vmdbmysql -vmdbpostgres - zaptel --- Claudio Beffa Albertstrasse 15 - 5430 Wettingen - Switzerland +41795699713 - claudio@beffa.ch - www.beffa.ch
Peer Oliver Schmidt
2006-Jan-24 07:27 UTC
[Asterisk-Users] Re: Asterisk-Users Digest, Vol 18, Issue 134
Claudio Beffa schrieb:> O.K. thanks a lot, Felix and Peer Oliver. But somehow asterisk keeps > telling me while startup:> [ISDN2] > isdnmode=ptpisdnmode=did might work ...> msn=51msn= is not needed anymore. use SetCallerID in the dialplan instead.> incomingmsn=251 > controller=4 > softdtmf=1 > accountcode> context=Amt > callgroup=2 > devices=2 > > [ISDN1] > isdnmode=ptpsame here.> msn=3899231 > incomingmsn=* > controller=1,2,3 > softdtmf=1 > accountcode> context=Intern-ISDN > callgroup=1 > devices=6 > > /etc/capi.conf > #SuSEconfig.isdn generated > # card file proto io irq mem cardnr options > c4 c4.bin DSS1 - - - 1 p2p > c4 - DSS1 - - - 2 p2p > c4 - DSS1 - - - 3 p2p > c4 - DSS1 - - - 4 p2p > > Versions: > net-misc/asterisk-chan_capi-cm-0.5.4get a later version -- Best regards Peer Oliver Schmidt PGP Key ID: 0x83E1C2EA
Armin Schindler
2006-Jan-24 07:28 UTC
[Asterisk-Users] Re: Asterisk-Users Digest, Vol 18, Issue 134
The contents of the capi.conf are wrong for the version of chan_capi you use (see capi.conf example in chan_capi package) Or update to newer chan_capi 0.6.* Armin On Tue, 24 Jan 2006, Claudio Beffa wrote:> O.K. thanks a lot, Felix and Peer Oliver. But somehow asterisk keeps telling > me while startup: > > [chan_capi.so] => (Common ISDN API for Asterisk) > Jan 24 14:30:47 NOTICE[9796]: chan_capi.c:3271 load_module: Unused contr1 > Jan 24 14:30:47 NOTICE[9796]: chan_capi.c:3271 load_module: Unused contr2 > Jan 24 14:30:47 NOTICE[9796]: chan_capi.c:3271 load_module: Unused contr3 > Jan 24 14:30:47 NOTICE[9796]: chan_capi.c:3271 load_module: Unused contr4 > > Even though 3 lines (Anlageanschluss "Point-to-Point"; Euro-ISDN) are connect > and asterisk doesn't react even if verbose is 5 and capi debug enabled. > Swisscom sends me 3 Digits as DID, for example for the direct call 01 389 92 > 31, it sends me 231. > > At the End I would like to use asterisk and AVM 4 with 3 BRI lines and 1 > ISDN-phone (Extens: 251). At the moment only the 3 BRI lines were connected. > Do you know how to do that? Maybe like this: > > /etc/asterisk/capi.conf > ; > ; CAPI config > ; > ; > [general] > nationalprefix=0 > internationalprefix=00 > rxgain=0.8 > txgain=0.8 > > [ISDN2] > isdnmode=ptp > msn=51 > incomingmsn=251 > controller=4 > softdtmf=1 > accountcode> context=Amt > callgroup=2 > devices=2 > > [ISDN1] > isdnmode=ptp > msn=3899231 > incomingmsn=* > controller=1,2,3 > softdtmf=1 > accountcode> context=Intern-ISDN > callgroup=1 > devices=6 > > /etc/capi.conf > # SuSEconfig.isdn generated > # card file proto io irq mem cardnr options > c4 c4.bin DSS1 - - - 1 p2p > c4 - DSS1 - - - 2 p2p > c4 - DSS1 - - - 3 p2p > c4 - DSS1 - - - 4 p2p > > Versions: > net-misc/asterisk-chan_capi-cm-0.5.4 > net-misc/asterisk-1.0.8-r1 +alsa -bri +debug -doc -gtk -hardened +mmx -mysql > -postgres -pri -resperl -speex -vmdbmysql -vmdbpostgres -zaptel > > --- > Claudio Beffa > Albertstrasse 15 - 5430 Wettingen - Switzerland > +41795699713 - claudio@beffa.ch - www.beffa.ch > > > > > _______________________________________________ > --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 >