Re: [asterisk-users] Asteris 1.8 and mISDN - 'mISDN' (cause 66 - Channel not implemented)
HI! Quoting Michael Nausch mich...@nausch.org: You installed the module, but did you load it in modules.conf? No, 'cause the modul should be autoloaded, as on Asterisk 1.6 it has done. I know a little bit more, after testing this/last night! If I start asterisk 1.8 with service asterisk start or /etc/init.d/asterisk start, I can't load chan_misdn.so If I run asterisk 1.8 as root via asterisk -vvvc I can access my ISDN-card and I be able to dial out to my PSTN provider! ;) Example: *CLI == Using SIP RTP CoS mark 5 [Dec 1 10:49:47] ERROR[16779]: chan_sip.c:27876 setup_srtp: No SRTP module loaded, can't setup SRTP session. -- Executing [089216750...@default:1] Dial(SIP/14-, mISDN/g:Mnet/089216750916) in new stack -- Called g:Mnet/089216750916 -- mISDN/1-u1 is proceeding passing it to SIP/14- -- mISDN/1-u1 is ringing -- mISDN/1-u1 answered SIP/14- == Spawn extension (default, 089216750916, 1) exited non-zero on 'SIP/14-' P[ 0] received 1k Unhandled Bchannel Messages: prim 20081 len 0 from addr 52010101, dinfo 0 on this port. *CLI O.K., but what's the difference between asterisk-1.6 and asterisk-1.8, or why won't asterisk-1.8's startscript produce this error? I have: # cat /etc/sysconfig/asterisk AST_USER=asterisk AST_GROUP=asterisk # grep 97 /etc/passwd asterisk:x:97:97:Asterisk_System_User:/home/asterisk:/sbin/nologin # grep 97 /etc/group asterisk:x:97: If I run asterisk with service asterisk start i have two processes running, asterisk and asterisk_safe: # ps aux | grep asterisk root 16946 0.0 0.0 4624 544 pts/2S11:07 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk asterisk 16956 0.4 11.4 139472 118060 pts/2 Sl 11:07 0:01 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c If I start asterisk as root I have only one asterisk process running: # ps aux | grep asterisk root 17079 1.0 11.4 160508 118180 pts/2 Sl+ 11:14 0:00 asterisk -vvvc I'm a little bit confused - I think is better to go to bed and sleep a few hours. ;) n8! Django -- Bonnie Clyde der Postmaster-Szene! approved by Postfix-God http://wetterstation-pliening.info http://dokuwiki.nausch.org pgpQeMoPB4a7q.pgp Description: Digitale PGP-Unterschrift -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] solved! Asteris 1.8 and mISDN - 'mISDN' (cause 66 - Channel not implemented)
Hello I fixed my problem. I changed user and group in /etc/mISDN.conf: devnode user=asterisk group=asterisk mode=644mISDN/devnode now it works again! Thanx 4 help! ;) Ingrid -- Bonnie Clyde der Postmaster-Szene! approved by Postfix-God http://wetterstation-pliening.info http://dokuwiki.nausch.org HI! Quoting Michael Nausch mich...@nausch.org: You installed the module, but did you load it in modules.conf? No, 'cause the modul should be autoloaded, as on Asterisk 1.6 it has done. I know a little bit more, after testing this/last night! If I start asterisk 1.8 with service asterisk start or /etc/init.d/asterisk start, I can't load chan_misdn.so If I run asterisk 1.8 as root via asterisk -vvvc I can access my ISDN-card and I be able to dial out to my PSTN provider! ;) Example: *CLI == Using SIP RTP CoS mark 5 [Dec 1 10:49:47] ERROR[16779]: chan_sip.c:27876 setup_srtp: No SRTP module loaded, can't setup SRTP session. -- Executing [089216750...@default:1] Dial(SIP/14-, mISDN/g:Mnet/089216750916) in new stack -- Called g:Mnet/089216750916 -- mISDN/1-u1 is proceeding passing it to SIP/14- -- mISDN/1-u1 is ringing -- mISDN/1-u1 answered SIP/14- == Spawn extension (default, 089216750916, 1) exited non-zero on 'SIP/14-' P[ 0] received 1k Unhandled Bchannel Messages: prim 20081 len 0 from addr 52010101, dinfo 0 on this port. *CLI O.K., but what's the difference between asterisk-1.6 and asterisk-1.8, or why won't asterisk-1.8's startscript produce this error? I have: # cat /etc/sysconfig/asterisk AST_USER=asterisk AST_GROUP=asterisk # grep 97 /etc/passwd asterisk:x:97:97:Asterisk_System_User:/home/asterisk:/sbin/nologin # grep 97 /etc/group asterisk:x:97: If I run asterisk with service asterisk start i have two processes running, asterisk and asterisk_safe: # ps aux | grep asterisk root 16946 0.0 0.0 4624 544 pts/2S11:07 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk asterisk 16956 0.4 11.4 139472 118060 pts/2 Sl 11:07 0:01 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c If I start asterisk as root I have only one asterisk process running: # ps aux | grep asterisk root 17079 1.0 11.4 160508 118180 pts/2 Sl+ 11:14 0:00 asterisk -vvvc I'm a little bit confused - I think is better to go to bed and sleep a few hours. ;) n8! Django -- Bonnie Clyde der Postmaster-Szene! approved by Postfix-God http://wetterstation-pliening.info http://dokuwiki.nausch.org pgpQxNeMacvVf.pgp Description: Digitale PGP-Unterschrift -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users smime.p7s Description: S/MIME krytographische Unterschrift -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Asteris 1.8 and mISDN - 'mISDN' (cause 66 - Channel not implemented)
HI, I tried to configure Asterisk 1.8 on one of my test-hosts. I've installed from centos-asterisk.repo (http://packages.asterisk.org/centos/$releasever/tested/$basearch/): Nov 26 15:34:56 Installed: asterisk-sounds-core-en-gsm-1.4.20-1_centos5.noarch Nov 26 15:34:59 Installed: asterisk18-core-1.8.0-1_centos5.i386 Nov 26 15:35:02 Installed: asterisk18-voicemail-1.8.0-1_centos5.i386 Nov 26 15:35:03 Installed: libpri-1.4.11.5-1_centos5.i386 Nov 26 15:35:04 Installed: libtonezone-2.4.0-2_centos5.i386 Nov 26 15:35:04 Installed: asterisk18-dahdi-1.8.0-1_centos5.i386 Nov 26 15:35:04 Installed: asterisk18-doc-1.8.0-1_centos5.i386 Nov 26 15:35:04 Installed: asterisk18-1.8.0-1_centos5.i386 Nov 26 15:35:05 Installed: asterisk18-configs-1.8.0-1_centos5.i386 Nov 26 16:01:20 Installed: asterisk-sounds-core-en-alaw-1.4.20-1_centos5.noarch Nov 26 16:01:23 Installed: asterisk-sounds-core-en-ulaw-1.4.20-1_centos5.noarch and Nov 29 15:29:37 Installed: mISDNuser-1.1.7.2-1_centos5.i386 Nov 29 15:29:41 Installed: kmod-mISDN-1.1.7.2-3_centos5.2.6.18_194.26.1.el5.i686 Nov 29 15:29:42 Installed: mISDN-1.1.7.2-3_centos5.i686 Nov 29 15:29:42 Installed: asterisk18-misdn-1.8.0-1_centos5.i386 I've configured ma testhost lieke my production-server (asterisk 1.6), but if I try to dial out to my local PSTN, I receive an error: [r...@asterisk-testing ~]# asterisk -r Verbosity is at least 3 == Using SIP RTP CoS mark 5 [Nov 30 10:35:53] ERROR[5043]: chan_sip.c:27876 setup_srtp: No SRTP module loaded, can't setup SRTP session. -- Executing [08936046...@default:1] Dial(SIP/14-0003, mISDN/g:Mnet/0893604) in new stack [Nov 30 10:35:53] WARNING[7281]: channel.c:5353 ast_request: No channel type registered for 'mISDN' [Nov 30 10:35:53] WARNING[7281]: app_dial.c:2030 dial_exec_full: Unable to create channel of type 'mISDN' (cause 66 - Channel not implemented) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [08936046...@default:2] Hangup(SIP/14-0003, ) in new stack == Spawn extension (default, 0893604, 2) exited non-zero on 'SIP/14-0003' office*CLI Is there no misdn-support activeted in the latest version, cause if I use the help-command on Asterisk's command-line-interface, I can't see misdn?! [r...@asterisk-testing yum.repos.d]# asterisk -r Verbosity is at least 3 office*CLI help ! Execute a shell command ael reload Reload AEL configuration ael set debug {read|tokens|mac Enable AEL debugging flags agent logoff Sets an agent offline agent show Show status of agents agent show online Show all online agents agi dump html Dumps a list of AGI commands in HTML format agi exec Add AGI command to a channel in Async AGI agi set debug [on|off] Enable/Disable AGI debugging agi show commands [topic] List AGI commands or specific help aoc set debug enable cli debugging of AOC messages calendar dump sched Dump calendar sched context calendar show calendar Display information about a calendar calendar show calendars Show registered calendars cc cancel Kill a CC transaction cc report status Reports CC stats cdr show status Display the CDR status cel show status Display the CEL status channel originate Originate a call channel redirect Redirect a call channel request hangup Request a hangup on a given channel cli check permissions Try a permissions config for a user cli reload permissions Reload CLI permissions config cli show aliases Show CLI command aliases cli show permissions Show CLI permissions config list Show all files that have loaded a configuration file config reload Force a reload on modules using a particular configuration file console answer Answer an incoming console call console boost Sets/displays mic boost in dB console dial Dial an extension on the console console flash Flash a call on the console console hangup Hangup a call on the console console {mute|unmute} [toggle] Disable/Enable mic input console send text Send text to the remote device console transfer Transfer a call to a different extension console {device} Generic console command console {set|show} autoanswer Sets/displays autoanswer console {set|show} active [de Sets/displays active console core abort shutdown Cancel a running shutdown core clear profile Clear profiling info core ping taskprocessor Ping a named task processor core reload Global reload core restart gracefully Restart Asterisk gracefully core restart now
Re: [asterisk-users] Asteris 1.8 and mISDN - 'mISDN' (cause 66 - Channel not implemented)
Hello Steve! Am Dienstag, den 30.11.2010, 11:49 + schrieb Steve Howes: You installed the module, but did you load it in modules.conf? No, 'cause the modul should be autoloaded, as on Asterisk 1.6 it has done. If you have, unload from CLI and re-load it and see if you get any errors. If I try to load the module from CLI it reports an error: asterisk-1.8*CLI module load chan_misdn Unable to load module chan_misdn Command 'module load chan_misdn' failed. [Nov 30 20:17:09] ERROR[12327]: chan_misdn.c:7 load_module: Unable to initialize mISDN asterisk-1.8*CLI It's very confuse for me. So I set up a second host and installed Asterisk 1.6 one again from scratch: 1.6: yum install asterisk16 asterisk16-configs asterisk16-voicemail yum install asterisk16-misdn mISDN mISDNuser kmod-mISDN service mISDN scan service mISDN config service mISDN start misdnportinfo service asterisk start asterisk-1.6*CLI == Using SIP RTP CoS mark 5 -- Executing [08936046...@default:1] Dial(SIP/13-0002, mISDN/g:Mnet/0893604,120,TtrWw) in new stack -- Called g:Mnet/0893604 -- mISDN/1-u5 is proceeding passing it to SIP/13-0002 -- mISDN/1-u5 is making progress passing it to SIP/13-0002 -- mISDN/1-u5 is ringing -- mISDN/1-u5 answered SIP/13-0002 == Spawn extension (default, 0893604, 1) exited non-zero on 'SIP/13-0002' asterisk-1.6*CLI Everything works as designed. ;) After that test I set up a third testing machine. 1.8 # yum install asterisk18-core asterisk18-voicemail libpri libtonezone asterisk18-dahdi asterisk18-doc asterisk18 asterisk18-configs # yum install asterisk18-misdn mISDN mISDNuser kmod-mISDN service mISDN scan service mISDN config service mISDN start misdnportinfo service asterisk start asterisk-1.8*CLI == Using SIP RTP CoS mark 5 [Nov 30 20:09:26] ERROR[12294]: chan_sip.c:27876 setup_srtp: No SRTP module loaded, can't setup SRTP session. -- Executing [08936046...@default:1] Dial(SIP/13-0001, mISDN/g:Mnet/0893604) in new stack [Nov 30 20:09:26] WARNING[12335]: channel.c:5353 ast_request: No channel type registered for 'mISDN' [Nov 30 20:09:26] WARNING[12335]: app_dial.c:2030 dial_exec_full: Unable to create channel of type 'mISDN' (cause 66 - Channel not implemented) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [08936046...@default:2] Hangup(SIP/13-0001, ) in new stack == Spawn extension (default, 0893604, 2) exited non-zero on 'SIP/13-0001' asterisk-1.8*CLI asterisk-1.8*CLI module load chan_misdn Unable to load module chan_misdn Command 'module load chan_misdn' failed. [Nov 30 20:17:09] ERROR[12327]: chan_misdn.c:7 load_module: Unable to initialize mISDN asterisk-1.8*CLI I think theres something missing for mISDN support in the latest testing-release. Is'nt it so? [r...@asterisk-1.8 /]# rpm -iq asterisk18 Name: asterisk18 Relocations: (not relocatable) Version : 1.8.0 Vendor: Digium, Inc. Release : 1_centos5 Build Date: Fr 22 Okt 2010 19:17:37 CEST Install Date: Di 30 Nov 2010 19:33:29 CET Build Host: localhost.localdomain Group : Utilities/System Source RPM: asterisk18-1.8.0-1_centos5.src.rpm Size: 0License: GPL Signature : (none) Packager: Jason Parker jpar...@digium.com URL : http://www.asterisk.org Summary : Asterisk, The Open Source PBX Any idea ore hint? ttyl Django -- Bonnie Clyde der Postmaster-Szene! approved by Postfix-God http://wetterstation-pliening.info http://dokuwiki.nausch.org smime.p7s Description: S/MIME cryptographic signature -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] mISDN installation via yum
HI Jason! Am Montag, den 12.04.2010, 10:39 -0500 schrieb Jason Parker: Packages for that kernel version were missing. Jepp, I thought so. That was an oversight and has been corrected. No problem, verybody can make an error, me too, :) A `yum update` should be enough to solve this for you. Grait, yes now it work right an my mISDN deamon started as designed. Thanx for your help! Have a nice day! ttyl, Django -- Bonnie Clyde der Postmaster-Szene! approved by Postfix-God http://wetterstation-pliening.info http://dokuwiki.nausch.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] mISDN installation via yum
HI Jason, Am Montag, den 12.04.2010, 10:39 -0500 schrieb Jason Parker: That was an oversight and has been corrected. I'm not sure If I on the right place, but I've a little improvment suggestion. The maintainer of that mISDN RPM may append the startupscript at the beginning with: #!/bin/bash # # mISDN Start up mISDN subsystem # # chkconfig: 2345 10 90 # description: Activates/Deactivates mISDN subsystem for Asterisk telephony server # ### BEGIN INIT INFO # Provides: $mISDN ### END INIT INFO Now I can use chkconfig to set up mISDN to start mISDN automaticly while system starts. Just a hint Have a nice day! Django -- Bonnie Clyde der Postmaster-Szene! approved by Postfix-God http://wetterstation-pliening.info http://dokuwiki.nausch.org smime.p7s Description: S/MIME cryptographic signature -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] mISDN installation via yum
HI, I tried to install asterisk and mISDN via http://www.asterisk.org/downloads/yum My machine is running with kernel-2.6.18-164.15.1.el5.i686 # grep kernel /var/log/yum.log Mar 21 16:09:28 Installed: kernel-2.6.18-164.15.1.el5.i686 Mar 21 16:09:42 Installed: kernel-devel-2.6.18-164.15.1.el5.i686 I've installed the following packages: # yum install asterisk16-misdn mISDN mISDNuser kmod-mISDN After installation I tried to scan my card: # service mISDN scan 1 mISDN compatible device(s) found: avmfritz In a further step I tried to configure the card: # service mISDN config Writing /etc/mISDN.conf for 1 mISDN compatible device(s): avmfritz If I try to start the daemon, I can read: # service mISDN start -- Loading mISDN modules -- /sbin/modprobe --ignore-install capi /sbin/modprobe --ignore-install mISDN_core debug=0 FATAL: Module mISDN_core not found. /sbin/modprobe --ignore-install mISDN_l1 debug=0 FATAL: Module mISDN_l1 not found. /sbin/modprobe --ignore-install mISDN_l2 debug=0 FATAL: Module mISDN_l2 not found. /sbin/modprobe --ignore-install l3udss1 debug=0 FATAL: Module l3udss1 not found. /sbin/modprobe --ignore-install mISDN_capi FATAL: Module mISDN_capi not found. /sbin/modprobe --ignore-install avmfritz protocol=0x2 layermask=0xf FATAL: Module avmfritz not found. /sbin/modprobe --ignore-install mISDN_dsp debug=0 options=0 FATAL: Module mISDN_dsp not found. creating device node: /dev/mISDN Syslog reports: Apr 11 22:45:04 office kernel: CAPI Subsystem Rev 1.1.2.8 Apr 11 22:45:04 office kernel: capifs: Rev 1.1.2.3 Apr 11 22:45:04 office kernel: capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs) I think my problem is my wrong kernel and my kernel-moduls: Kernels is kernel-2.6.18-164.15.1.el5.i686 But if I look into the packages kmod-mISDN I can see: # rpm -iql kmod-mISDN Name: kmod-mISDN Relocations: (not relocatable) Version : 1.1.7.2 Vendor: beroNet GmbH Release : 3_centos5.2.6.18_164.11.1.el5 Build Date: Mi 20 Jan 2010 22:04:22 CET Install Date: So 11 Apr 2010 22:43:01 CEST Build Host: localhost.localdomain Group : System Environment/Kernel Source RPM: mISDN-kmod-1.1.7.2-3_centos5.2.6.18_164.11.1.el5.src.rpm Size: 8450882 License: GPL Signature : (none) Packager: Jason Parker jpar...@digium.com URL : http://www.misdn.org/ Summary : mISDN kernel module(s) Description : This package provides the mISDN kernel modules built for the Linux kernel 2.6.18-164.11.1.el5 for the i686 family of processors. /lib/modules/2.6.18-164.11.1.el5 /lib/modules/2.6.18-164.11.1.el5/extra /lib/modules/2.6.18-164.11.1.el5/extra/avmfritz.ko /lib/modules/2.6.18-164.11.1.el5/extra/hfcmulti.ko /lib/modules/2.6.18-164.11.1.el5/extra/hfcpci.ko /lib/modules/2.6.18-164.11.1.el5/extra/hfcsmini.ko /lib/modules/2.6.18-164.11.1.el5/extra/hfcsusb.ko /lib/modules/2.6.18-164.11.1.el5/extra/l3udss1.ko /lib/modules/2.6.18-164.11.1.el5/extra/mISDN_capi.ko /lib/modules/2.6.18-164.11.1.el5/extra/mISDN_core.ko /lib/modules/2.6.18-164.11.1.el5/extra/mISDN_debugtool.ko /lib/modules/2.6.18-164.11.1.el5/extra/mISDN_dsp.ko /lib/modules/2.6.18-164.11.1.el5/extra/mISDN_dtmf.ko /lib/modules/2.6.18-164.11.1.el5/extra/mISDN_isac.ko /lib/modules/2.6.18-164.11.1.el5/extra/mISDN_l1.ko /lib/modules/2.6.18-164.11.1.el5/extra/mISDN_l2.ko /lib/modules/2.6.18-164.11.1.el5/extra/mISDN_x25dte.ko /lib/modules/2.6.18-164.11.1.el5/extra/sedlfax.ko /lib/modules/2.6.18-164.11.1.el5/extra/w6692pci.ko /lib/modules/2.6.18-164.11.1.el5/extra/xhfc.ko 2.6.18-164.11 vs. 2.6.18-164.15 is not O.k., isn't it? Any idea what went wrong else? But where's the right kernel-module-package, witch I can install via yum. Or is it better, to install mISDN from scratch how I've done in the past? Any hint an help is welcome! ttyl, Django -- Bonnie Clyde der Postmaster-Szene! approved by Postfix-God http://wetterstation-pliening.info http://dokuwiki.nausch.org smime.p7s Description: S/MIME cryptographic signature -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users