[Asterisk-Users] CAPI / Channels

Wolfgang Pichler madmin at dialog-telekom.at
Thu May 27 08:34:38 MST 2004


can someone tell me how does the extensions.conf have to be - so that it
is only configured to answer the phone ?

(i've noe tested the card with capifax and capifaxrecvd - everything
works fine)

best regards
Wolfgang

Am Do, den 27.05.2004 schrieb Wolfgang Pichler um 14:49:
> 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
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list