Hi Wolfgang,

    here is our capi.conf for two controllers on two different ISDN lines
;
; CAPI config
;
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8

[interfaces]
msn=041XXXX120
incomingmsn=*
controller=1
softdtmf=0
context=default
devices=2

msn=041XXXX682
incomingmsn=*
controller=2
softdtmf=0
context=assistenza
devices=2    believe it or not, but you can see in the chan_capi source code,    the 
creation of the lines are activated by parsing
the line "devices="    so it seems that MUST be the last line of every interface 
parameters.    With this capi.conf and two AVM
controllers (one PCI, une USB) with hacked drivers, we do have    random problems, 
when we have many calls, our server hangs and we
must reboot.    Does anyone have a suggestion?Bye.Francesco     P.S. what do you mean 
with PTMP line?
----- Original Message -----
From: "Wolfgang Pichler" <[EMAIL PROTECTED]>
To: "Asterisk-Users Mailinglist" <[EMAIL PROTECTED]>
Sent: Thursday, May 27, 2004 2:49 PM
Subject: [Asterisk-Users] CAPI / Channels


> hi all,
>
> i have a probably very stupid question/problem.
>
> for testing purpose i am trying to get asterisk running with two isdn
> cards. I'd only like to here the demo sound when i call the number - but
> nothing works.
> The output of show channels is not showing any channel - should there be
> 4 channels ? - capi info shows my two cards perfectly.
> The ISDN Controller's are attached to an PTMP ISDN Line
> I can't find good documentation about how to configure capi.conf.
>
> Here is my actual config (capi.conf)
> [general]
> nationalprefix=0
> internationalprefix=00
> rxgain=0.8
> txgain=0.8
>
> [interfaces]
> isdnmode=ptmp
> msn=073266xxxx
> controller=1,2
> context=demo
> devices=2
> incommingmsn=*
> softdtmf=0
>
>
> here the output from the chan_capi initialization
>  [chan_capi.so] => (Common ISDN API for Asterisk)
> May 27 16:47:00 ERROR[1024]: chan_capi.c:2664 load_module: Unknown
> isdnmode parameter "ptmp" -- ignoring
> May 27 16:47:00 NOTICE[1024]: chan_capi.c:2338 mkif:
> ast_capi_pvt(0732663288,,demo,0x6,2) (1,2,64) (0)(0.800000/0.800000) 0
> May 27 16:47:00 NOTICE[1024]: chan_capi.c:2338 mkif:
> ast_capi_pvt(0732663288,,demo,0x6,2) (1,2,64) (0)(0.800000/0.800000) 0
> May 27 16:47:00 NOTICE[1024]: chan_capi.c:2694 load_module: this box has
> 2 capi controller(s)
>     -- listening on contr1 CIPmask = 0x1fff03ff
>     -- CAPI[contr1] supports DTMF
>     -- CAPI[contr1] supports supplementary services
>     -- listening on contr2 CIPmask = 0x1fff03ff
>     -- CAPI[contr2] supports DTMF
>     -- CAPI[contr2] supports supplementary services
>
> here what capi info and show channels is showing
>
> *CLI> capi info
> Contr1: 2 B channels total, 2 B channels free.
> Contr2: 2 B channels total, 2 B channels free.
> *CLI> show channels
>         Channel  (Context    Extension    Pri )   State Appl.
> Data
> 0 active channel(s)
>
> can anyone please give me a hint what i am doing wrong ?
>
> thanks
> Wolfgang
>
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to