[asterisk-users] Asteris 1.8 and mISDN - 'mISDN' (cause 66 - Channel not implemented)

Michael Nausch michael at nausch.org
Wed Dec 1 04:18:57 CST 2010


HI!

Quoting Michael Nausch <michael at 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 [089216750916 at default:1] Dial("SIP/14-00000000",  
"mISDN/g:Mnet/089216750916") in new stack
     -- Called g:Mnet/089216750916
     -- mISDN/1-u1 is proceeding passing it to SIP/14-00000000
     -- mISDN/1-u1 is ringing
     -- mISDN/1-u1 answered SIP/14-00000000
   == Spawn extension (default, 089216750916, 1) exited non-zero on  
'SIP/14-00000000'
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/2    S    11: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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digitale PGP-Unterschrift
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20101201/7796a964/attachment.pgp 


More information about the asterisk-users mailing list