asterisk@bortal.de
2004-Sep-14 03:05 UTC
[Asterisk-Users] Requested device 'ttyI1' does not exist
Hello List! I finally got asterisk with capi working, and its already answering my call as well! :) Now i would like to call a number from my shoft phone (kphone). This is my extentions.conf: --- [general] static=yes writeprotect=no [globals] CONSOLE=Console/dsp ; Console interface for demo IAXINFO=guest ; IAXtel username/password TRUNK=Zap/g2 ; Trunk interface TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0) [default] exten => 37,1,Dial(Modem/ttyI1:037,20,r) ; when i dial 37 from kphone, it should use ttyI1 to call 037 on the ISDN bus --- But i get this error message: --- to 10.10.2.226:5060 -- Executing Dial("SIP/kphone-8c61", "Modem/ttyI1:037|20|r") in new stack Oct 16 07:34:21 WARNING[1113516976]: chan_modem.c:815 modem_request: Requested device 'ttyI1' does not existOct 16 07:34:21 NOTICE[1113516976]: app_dial.c:714 dial_exec: Unable to create channel of type 'Modem' == Everyone is busy/congested at this time Here is my modem.conf: --- [interfaces] context=remote driver=aopen ; modem by AOpen stripmsd=0 dialtype=tone mode=immediate group=1 ; group=1,2,3,9-12 And here my modules.conf: --- [modules] autoload=yes noload => pbx_gtkconsole.so noload => pbx_kdeconsole.so noload => app_intercom.so load => res_features.so load => chan_capi.so load => chan_modem.so load => res_musiconhold.so noload => chan_alsa.so [global] chan_modem.so=yes chan_capi.so=yes --- cat /dev/ttyI1 cat: /dev/ttyI1: No such device or address I guess this might now really be asterisk related. But do i stil use ttyI0 and ttyI1 as my devices? Or should i change it to capi20.00 and capi20.01 since i want to use capi?! Thanks, Mario
David Davies
2004-Sep-14 03:29 UTC
[Asterisk-Users] Requested device 'ttyI1' does not exist
I would have said you need something like this in extensions.conf Dial(CAPI/yourmsnnumbergoeshere:${EXTEN:1}) And nothing in modem.conf And in capi.conf [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 [interfaces] mode=immediate controller=1 softdtmf=1 accountcodecontext=default msn=yourmsnnumbergoeshere incomingmsn=* echosquelch=1 echocancel=no echotail=64 callgroup=1 -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of asterisk@bortal.de Sent: 14 September 2004 11:06 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Requested device 'ttyI1' does not exist Hello List! I finally got asterisk with capi working, and its already answering my call as well! :) Now i would like to call a number from my shoft phone (kphone). This is my extentions.conf: --- [general] static=yes writeprotect=no [globals] CONSOLE=Console/dsp ; Console interface for demo IAXINFO=guest ; IAXtel username/password TRUNK=Zap/g2 ; Trunk interface TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0) [default] exten => 37,1,Dial(Modem/ttyI1:037,20,r) ; when i dial 37 from kphone, it should use ttyI1 to call 037 on the ISDN bus --- But i get this error message: --- to 10.10.2.226:5060 -- Executing Dial("SIP/kphone-8c61", "Modem/ttyI1:037|20|r") in new stack Oct 16 07:34:21 WARNING[1113516976]: chan_modem.c:815 modem_request: Requested device 'ttyI1' does not existOct 16 07:34:21 NOTICE[1113516976]: app_dial.c:714 dial_exec: Unable to create channel of type 'Modem' =Everyone is busy/congested at this time Here is my modem.conf: --- [interfaces] context=remote driver=aopen ; modem by AOpen stripmsd=0 dialtype=tone mode=immediate group=1 ; group=1,2,3,9-12 And here my modules.conf: --- [modules] autoload=yes noload => pbx_gtkconsole.so noload => pbx_kdeconsole.so noload => app_intercom.so load => res_features.so load => chan_capi.so load => chan_modem.so load => res_musiconhold.so noload => chan_alsa.so [global] chan_modem.so=yes chan_capi.so=yes --- cat /dev/ttyI1 cat: /dev/ttyI1: No such device or address I guess this might now really be asterisk related. But do i stil use ttyI0 and ttyI1 as my devices? Or should i change it to capi20.00 and capi20.01 since i want to use capi?! Thanks, Mario _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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