Raoul Thill
2004-Oct-07 07:34 UTC
[Asterisk-Users] Incomming calls on Eicon Diva 4BRI Card
Currently we have problems with our asterisk server connect with an Eicon Diva 4BRI Card to a PBX. Asterisk is running in version 1.0.0 on RedHat Enterprise Linux 3AS with kernel 2.4.21-4.EL. The Diva server is running in version 7.5 Can someone help us in reolving the errors with incoming calls? When we try to call to an extension we get these messages in the CLI: -- creating pipe for PLCI=0x401 msn = * == Starting CAPI[contr1/2003]/3 at ,2003,1 failed so falling back to exten 's' == Starting CAPI[contr1/2003]/3 at ,s,1 still failed so falling back to context 'default' Oct 7 16:20:51 WARNING[-1253872720]: pbx.c:1877 ast_pbx_run: Channel 'CAPI[contr1/2003]/3' sent into invalid extension 's' in context 'default', but no invalid handler -- CAPI Hangingup -- removed pipe for PLCI = 0x401 -- started pbx on channel (callgroup=0)! Oct 7 16:20:51 ERROR[-1228764240]: chan_capi.c:2137 capi_handle_msg: Command.Subcommand = 0xff.0x82 Oct 7 16:20:51 ERROR[-1228764240]: chan_capi.c:1226 pipe_frame: wrote -1 bytes instead of 48 The config files look like this: modem.conf [interfaces] context=remote driver=i4l language=en type=autodetect ;This I'm doing directly in the extension.conf ;stripmsd=1 dialtype=tone ;dialtype=pulse ;mode=answer ;mode=ring mode=immediate ; ISDN example group=1 ;registered one number. msn=99 ;accepting several more. Could have used * as well incomingmsn=* device => /dev/ttyI0 ;device => /dev/ttyI1 ------------------------------------------------------------------------------------------------------------------------ modules.conf [modules] autoload=yes ; ; If you want, load the GTK console right away. ; Don't load the KDE console since ; it's not as sophisticated right now. ; noload => pbx_gtkconsole.so ;load => pbx_gtkconsole.so noload => pbx_kdeconsole.so ; ; Intercom application is obsoleted by ; chan_oss. Don't load it. ; noload => app_intercom.so ; ; Explicitly load the chan_modem.so early on to be sure ; it loads before any of the chan_modem_* 's afte rit ; noload => chan_modem.so noload => chan_modem_aopen.so noload => chan_modem_bestdata.so noload => chan_modem_i4l.so load => res_musiconhold.so ; ; Load either OSS or ALSA, not both ; By default, load OSS only (automatically) and do not load ALSA ; noload => chan_alsa.so ;noload => chan_oss.so ; ; ISDN Capi load => res_features.so load => chan_capi.so ; ; Module names listed in "global" section will have symbols globally ; exported to modules loaded after them. ; [global] chan_modem.so=no chan_capi.so=yes ------------------------------------------------------------------------------------------------------------------------ extensions.conf [global] chan_modem.so=no chan_capi.so=yes [root@king-coco asterisk]# cat extensions.conf [general] static=yes writeprotect=no [globals] CONSOLE=Console/dsp IAXINFO=guest Trunk=Zap/1 TRUNKMSD=1 [incomming] ;exten => _.,1,Dial,(ttyI0/$(EXTEN),20) exten => 2003,1,Dial,(ttyI0/(2003),20) [users] exten => 2000,1,NoOp( call for ${EXTEN}) exten => 2000,2,Dial(SIP/${EXTEN},60,tr) exten => 2000,3,Congestion exten => 2001,1,NoOp( call for ${EXTEN}) exten => 2001,2,Dial(SIP/${EXTEN},60,tr) exten => 2001,3,Congestion exten => 2002,1,NoOp( call for ${EXTEN}) exten => 2002,2,Dial(SIP/${EXTEN},60,tr) exten => 2002,3,Congestion exten => 2003,1,NoOp( call for ${EXTEN}) exten => 2003,2,Dial(SIP/${EXTEN},60,tr) exten => 2003,3,Congestion ;exten => 2004,1,Dial(Modem/ttyI0/9550:2004) exten => 8500,1,VoicemailMain exten => 8500,2,Goto(s,6) ;exten => s,1,Dial,Modem/ttyI0 ;exten => s,2,Hangup [remote] ;exten => 99,1,Answer [default] include => users include => remote inculde => incomming ------------------------------------------------------------------------------------------------------------------------ Thanks for any support.