<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Okay, then why do I still have error "unable to create channel of type "DAHDI" (cause 66 - Channel not implemented) after typing dahdi restart; after typing dahdi show staus and I see the card?<br><br><br><br>> Date: Thu, 12 Mar 2009 19:59:47 +0000<br>> From: jeff@jeff.net<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] configuring channels for dahdi<br>> <br>> <br>> On Thu, 12 Mar 2009, Aqua Man wrote:<br>> <br>> ><br>> > After typing ps aux | grep asterisk I noticed there are five instances of asterisk running<br>> ><br>> > asterisk 4493 0.0 0.6 23720 3540 ? S 15:12 0:00 /usr/sbin/apache2 -k start<br>> > asterisk 4494 0.0 0.6 23720 3540 ? S 15:12 0:00 /usr/sbin/apache2 -k start<br>> > asterisk 4495 0.0 0.6 23720 3540 ? S 15:12 0:00 /usr/sbin/apache2 -k start<br>> > asterisk 4496 0.0 0.6 23720 3540 ? S 15:12 0:00 /usr/sbin/apache2 -k start<br>> > asterisk 4497 0.0 0.6 23720 3540 ? S 15:12 0:00 /usr/sbin/apache2 -k start<br>> > root 4617 0.0 0.1 3004 764 pts/0 R+ 15:33 0.00 grep asterisk<br>> <br>> Actually there are none. You do have five apache's, though, which is <br>> normal.<br>> <br>> j<br>> <br>> ><br>> > After running cat/proc/dahdi/* : It is all in caps<br>> ><br>> ><br>> ><br>> >> Date: Tue, 10 Mar 2009 23:25:18 +0200<br>> >> From: tzafrir.cohen@xorcom.com<br>> >> To: asterisk-users@lists.digium.com<br>> >> Subject: Re: [asterisk-users] configuring channels for dahdi<br>> >><br>> >> Useful VIM command:<br>> >><br>> >> :%s/#\[.;3.;40m//g<br>> >><br>> >> On Tue, Mar 10, 2009 at 10:03:03AM -1000, Aqua Man wrote:<br>> >>><br>> >>> Typed the dahdi restart command and the output is listed in the<br>> >>> email as per your request.<br>> >><br>> >>><br>> >>> *CLI> dahdi restart<br>> >>> Destroying channels and reloading DAHDI configuration.<br>> >>> Initial softhangup of all DAHDI channels complete.<br>> >>> Final softhangup of all DAHDI channels complete.<br>> >>> == Unregistered channel -2<br>> >>> == Unregistered channel 1<br>> >>> == Unregistered channel 4<br>> >>> == Parsing '/etc/asterisk/chan_dahdi.conf': Found<br>> >>> [Mar 10 15:39:56] WARNING[4633]: chan_dahdi.c:930 dahdi_open: Unable to specify channel 1: Device or resource busy<br>> >><br>> >> Huh?<br>> >><br>> >> Any chance there's a different instance of Asterisk running?<br>> >><br>> >> ps aux | grep asterisk<br>> >><br>> >> But see also further below,<br>> >><br>> >>> chan_dahdi.c:930 dahdi_open: Unable to specify channel 1: Device or resource busy<br>> >>> -- Reconfigured channel 1, FXO Kewlstart signalling<br>> >>> -- Reconfigured channel 4, FXS Kewlstart signalling<br>> >>> == Parsing '/etc/asterisk/users.conf': Found<br>> >>> *CLI> -- Starting simple switch on 'Zap/1-1'<br>> >>> -- Executing [18005551212@default:1] Dial("Zap/1-1", "DAHDI/4/wwwww13475823549") in new stack<br>> >>> [Mar 10 15:40:15] WARNING[4679]: channel.c:3168 ast_request: No channel type registered for 'DAHDI'<br>> >>> [Mar 10 15:40:15] WARNING[4679]: app_dial.c:1286 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 66 - Channel not implemented)<br>> >>> == Everyone is busy/congested at this time (1:0/0/1)<br>> >>> -- Executing [18005551212@default:2] Hangup("Zap/1-1", "") in new stack<br>> >>> == Spawn extension (default, 13475823549, 2) exited non-zero on 'Zap/1-1'<br>> >>> -- Hungup 'Zap/1-1'<br>> >>> -- Starting simple switch on 'Zap/1-1'<br>> >>> -- Hungup 'Zap/1-1'<br>> >>><br>> >>><br>> >>> sudo cat /proc/dahdi/*<br>> >>> Span 1: wctdm/4 'wildcard tdm400p rev I board 5' (master)<br>> >>><br>> >>> 1 wctdm/4/0 fxoks (ec: mg2)<br>> >>> 2 wctdm/4/1<br>> >>> 3 wctdm/4/2<br>> >>> 4 wctdm/4/3/ fxsks (ec:mg2)<br>> >><br>> >> Are all of those lower case?<br>> >><br>> >> No '(In Use)'<br>> >><br>> >>><br>> >>><br>> >>> [channels]<br>> >>> usecallerid=yes<br>> >>> callerid=asreceived<br>> >>> cidsignalling=bell<br>> >>> hidecallerid=no<br>> >>> callwaiting=yes<br>> >>> musiconhold=default<br>> >>> usecallingpres=yes<br>> >>> callwaitingcallerid=yes<br>> >>> threewaycalling=yes<br>> >>> transfer=yes<br>> >>> canpark=yes<br>> >>> cancallforward=yes<br>> >>> callreturn=yes<br>> >>> echocancel=yes<br>> >>> echocancelwhenbridged=no<br>> >>> echotraining=400<br>> >>> rxgain=0.0<br>> >>> txgain=0.0<br>> >>> signalling=fxo_ks<br>> >>> language=en<br>> >>> context=default<br>> >>> channel => 1<br>> >><br>> >> An FXO channel should have FXS signalling ...<br>> >><br>> >>> signalling=fxs_ks<br>> >>> channel => 4<br>> >><br>> >> ... and vice versa<br>> >><br>> >>><br>> >>> I used same settings from zapata.conf. This worked fine before the dahdi. Any help would much appreciated<br>> >>><br>> >>><br>> >>><br>> >>><br>> >>><br>> >>><br>> >>><br>> >>><br>> >>>> Date: Tue, 10 Mar 2009 18:37:35 +0200<br>> >>>> From: tzafrir.cohen@xorcom.com<br>> >>>> To: asterisk-users@lists.digium.com<br>> >>>> Subject: Re: [asterisk-users] configuring channels for dahdi<br>> >>>><br>> >>>> On Tue, Mar 10, 2009 at 04:20:47AM -1000, Aqua Man wrote:<br>> >>>>><br>> >>>>> after installing asterisk 1.4.23.1 and dahdi-linux-2.1.0.4 and at CLI> module load chan_dahdi.so receive the following:<br>> >>>>><br>> >>>>><br>> >>>>><br>> >>>>><br>> >>>>><br>> >>>>> signalling must be specified before any channels are.<br>> >>>>><br>> >>>>><br>> >>>>><br>> >>>>><br>> >>>>><br>> >>>>> CLI> Warning [4663]: chan_dahdi.c:11627 process_dahdi: Ignoring signalling<br>> >>>>><br>> >>>>><br>> >>>>> Error[4663]: chan_dahdi.c:10946 build_channels: Unable to reconfigure channel '1'<br>> >>>><br>> >>>> You got the real error emssage on module load. The error message you get<br>> >>>> now is:<br>> >>>><br>> >>>> 1. chan_dahdi tells you that it does not change major configuration on<br>> >>>> reload<br>> >>>><br>> >>>> 2. And that its configuration is still broken.<br>> >>>><br>> >>>> Try e.g. 'dahdi restart' from the Asterisk CLI to get the real error.<br>> >>>><br>> >>>> For more help in troubleshooting, also provide your zapata.conf /<br>> >>>> chan_dahdi.conf as well as the output of: cat /proc/dahdi/* (or<br>> >>>> /proc/zaptel/* if you use Zaptel)<br>> >>>><br>> >>>> --<br>> >>>> Tzafrir Cohen<br>> >>>> icq#16849755 jabber:tzafrir.cohen@xorcom.com<br>> >>>> +972-50-7952406 mailto:tzafrir.cohen@xorcom.com<br>> >>>> http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir<br>> >>>><br>> >>>> _______________________________________________<br>> >>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> >>>><br>> >>>> asterisk-users mailing list<br>> >>>> To UNSUBSCRIBE or update options visit:<br>> >>>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>> >>><br>> >>> _________________________________________________________________<br>> >>> Hotmail? is up to 70% faster. Now good news travels really fast.<br>> >>> http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009<br>> >>> _______________________________________________<br>> >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> >>><br>> >>> asterisk-users mailing list<br>> >>> To UNSUBSCRIBE or update options visit:<br>> >>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>> >><br>> >> --<br>> >> Tzafrir Cohen<br>> >> icq#16849755 jabber:tzafrir.cohen@xorcom.com<br>> >> +972-50-7952406 mailto:tzafrir.cohen@xorcom.com<br>> >> http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir<br>> >><br>> >> _______________________________________________<br>> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> >><br>> >> asterisk-users mailing list<br>> >> To UNSUBSCRIBE or update options visit:<br>> >> http://lists.digium.com/mailman/listinfo/asterisk-users<br>> ><br>> > _________________________________________________________________<br>> > Express your personality in color! Preview and select themes for Hotmail?.<br>> > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme<br>> <br>> _______________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br><br /><hr />Windows Live™ Groups: Create an online spot for your favorite groups to meet. <a href='http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009' target='_new'>Check it out.</a></body>
</html>