[Asterisk-Users] Asterisk hangs up when a call comes in

Bodo Hahnke hahnke at gmx.net
Wed Feb 11 20:46:31 MST 2004


Hello,


I am trying to setup an asterisk box on a simple isdn line with a fritz card.
The Capi4Linux drivers are installed and seem to work correct as I can
connect to an ISP, have not tried it with ISDN4Linux yet as I read that
CAPI has many advantages over i4l ... but I think I will do this next.

Next I have compiled zaptel, libpri (are these really needed for a fritz card?)
and asterisk and finally did 'make samples' as these are my first expierience
with asterisk and wanted to try the demo context. To get it work with CAPI
i have then installed the chan_capi.so driver from junghanns.net ... here some
output from the cli.


[chan_capi.so] => (Common ISDN API for Asterisk)
   == Parsing '/etc/asterisk/capi.conf': Found
Feb 12 03:08:07 NOTICE[1024]: chan_capi.c:2338 mkif: 
ast_capi_pvt(43910906,43910906,demo,0x2,2) (1,2,64) (0)(0.800000/0.800000) 0
Feb 12 03:08:07 NOTICE[1024]: chan_capi.c:2338 mkif: 
ast_capi_pvt(43910906,43910906,demo,0x2,2) (1,2,64) (0)(0.800000/0.800000) 0
Feb 12 03:08:07 NOTICE[1024]: chan_capi.c:2694 load_module: this box has 1 
capi controller(s)
     -- listening on contr1 CIPmask = 0x1fff03ff
     -- CAPI[contr1] supports DTMF
     -- CAPI[contr1] supports supplementary services
        > HOLD/RETRIEVE
        > TERMINAL PORTABILITY
        > ECT
        > 3PTY
        > CF
        > CD
        > MCID
        > CCBS
        > MWI
        > CCNR
   == Registered channel type 'CAPI' (Common ISDN API Driver (0.3.0) aLaw)
  [res_musiconhold.so] => (Music On Hold Resource)
   == Parsing '/etc/asterisk/musiconhold.conf': Found
   == Registered application 'MusicOnHold'
   == Registered application 'WaitMusicOnHold'
   == Registered application 'SetMusicOnHold'
   == Parsing '/etc/asterisk/enum.conf': Found
Asterisk Ready.
*CLI>     -- started pbx on channel (callgroup=0)!
Feb 12 03:08:19 WARNING[4101]: pbx.c:1778 ast_pbx_run: Channel 
'CAPI[contr1/43910906]/0' sent into invalid extension 's' in context 
'default', but no invalid handler
     -- CAPI Hangingup
Feb 12 03:08:33 WARNING[5125]: pbx.c:1778 ast_pbx_run: Channel 
'CAPI[contr1/43910906]/1' sent into invalid extension 's' in context 
'default', but no invalid handler
     -- CAPI Hangingup
     -- started pbx on channel (callgroup=0)!
Feb 12 03:08:47 WARNING[6149]: pbx.c:1778 ast_pbx_run: Channel 
'CAPI[contr1/43910906]/2' sent into invalid extension 's' in context 
'default', but no invalid handler
     -- CAPI Hangingup
     -- started pbx on channel (callgroup=0)!
Feb 12 03:08:48 ERROR[3076]: chan_capi.c:1196 pipe_frame: wrote -1 bytes 
instead of 40



Any solution ??


bye

bodo





More information about the asterisk-users mailing list