[asterisk-users] configuring channels for dahdi

Aqua Man katsuodo at hotmail.com
Thu Mar 12 14:48:59 CDT 2009


After typing ps aux | grep asterisk I noticed there are five instances of asterisk running

asterisk   4493  0.0  0.6  23720  3540  ?      S    15:12      0:00     /usr/sbin/apache2 -k start
asterisk   4494  0.0  0.6  23720  3540  ?      S    15:12      0:00     /usr/sbin/apache2 -k start
asterisk   4495  0.0  0.6  23720  3540  ?      S    15:12      0:00     /usr/sbin/apache2 -k start
asterisk   4496  0.0  0.6  23720  3540  ?      S    15:12      0:00     /usr/sbin/apache2 -k start
asterisk   4497  0.0  0.6  23720  3540  ?      S    15:12      0:00     /usr/sbin/apache2 -k start
root         4617  0.0  0.1   3004    764  pts/0 R+  15:33      0.00     grep asterisk

After running cat/proc/dahdi/* :  It is all in caps



> Date: Tue, 10 Mar 2009 23:25:18 +0200
> From: tzafrir.cohen at xorcom.com
> To: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] configuring channels for dahdi
> 
> Useful VIM command:
> 
> :%s/#\[.;3.;40m//g
> 
> On Tue, Mar 10, 2009 at 10:03:03AM -1000, Aqua Man wrote:
> > 
> > Typed the dahdi restart command and the output is listed in the 
> > email as per your request.
> 
> > 
> > *CLI> dahdi restart
> > Destroying channels and reloading DAHDI configuration.
> > Initial softhangup of all DAHDI channels complete.
> > Final softhangup of all DAHDI channels complete.
> >   == Unregistered channel -2
> >   == Unregistered channel 1
> >   == Unregistered channel 4
> >   == Parsing '/etc/asterisk/chan_dahdi.conf': Found
> > [Mar 10 15:39:56] WARNING[4633]: chan_dahdi.c:930 dahdi_open: Unable to specify channel 1: Device or resource busy
> 
> Huh?
> 
> Any chance there's a different instance of Asterisk running?
> 
> ps aux | grep asterisk
> 
> But see also further below,
> 
> > chan_dahdi.c:930 dahdi_open: Unable to specify channel 1: Device or resource busy
> >     -- Reconfigured channel 1, FXO Kewlstart signalling
> >     -- Reconfigured channel 4, FXS Kewlstart signalling
> >   == Parsing '/etc/asterisk/users.conf': Found
> > *CLI>     -- Starting simple switch on 'Zap/1-1'
> >     -- Executing [18005551212 at default:1] Dial("Zap/1-1", "DAHDI/4/wwwww13475823549") in new stack
> > [Mar 10 15:40:15] WARNING[4679]: channel.c:3168 ast_request: No channel type registered for 'DAHDI'
> > [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)
> >   == Everyone is busy/congested at this time (1:0/0/1)
> >     -- Executing [18005551212 at default:2] Hangup("Zap/1-1", "") in new stack
> >   == Spawn extension (default, 13475823549, 2) exited non-zero on 'Zap/1-1'
> >     -- Hungup 'Zap/1-1'
> >     -- Starting simple switch on 'Zap/1-1'
> >     -- Hungup 'Zap/1-1'
> > 
> > 
> > sudo cat /proc/dahdi/* 
> > Span 1: wctdm/4 'wildcard tdm400p rev I board 5' (master) 
> > 
> > 1 wctdm/4/0 fxoks (ec: mg2) 
> > 2 wctdm/4/1 
> > 3 wctdm/4/2 
> > 4 wctdm/4/3/ fxsks (ec:mg2) 
> 
> Are all of those lower case?
> 
> No '(In Use)'
> 
> > 
> > 
> > [channels]
> > usecallerid=yes
> > callerid=asreceived
> > cidsignalling=bell
> > hidecallerid=no
> > callwaiting=yes
> > musiconhold=default
> > usecallingpres=yes
> > callwaitingcallerid=yes
> > threewaycalling=yes
> > transfer=yes
> > canpark=yes
> > cancallforward=yes
> > callreturn=yes
> > echocancel=yes
> > echocancelwhenbridged=no
> > echotraining=400
> > rxgain=0.0
> > txgain=0.0
> > signalling=fxo_ks
> > language=en
> > context=default
> > channel => 1
> 
> An FXO channel should have FXS signalling ...
> 
> > signalling=fxs_ks
> > channel => 4
> 
> ... and vice versa
> 
> > 
> > I used same settings from zapata.conf.  This worked fine before the dahdi.  Any help would much appreciated
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > Date: Tue, 10 Mar 2009 18:37:35 +0200
> > > From: tzafrir.cohen at xorcom.com
> > > To: asterisk-users at lists.digium.com
> > > Subject: Re: [asterisk-users] configuring channels for dahdi
> > > 
> > > On Tue, Mar 10, 2009 at 04:20:47AM -1000, Aqua Man wrote:
> > > > 
> > > > 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:
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > signalling must be specified before any channels are.
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > CLI> Warning [4663]: chan_dahdi.c:11627 process_dahdi: Ignoring signalling
> > > > 
> > > > 
> > > >      Error[4663]: chan_dahdi.c:10946 build_channels: Unable to reconfigure channel '1'
> > > 
> > > You got the real error emssage on module load. The error message you get
> > > now is:
> > > 
> > > 1. chan_dahdi tells you that it does not change major configuration on
> > > reload
> > > 
> > > 2. And that its configuration is still broken.
> > > 
> > > Try e.g. 'dahdi restart' from the Asterisk CLI to get the real error.
> > > 
> > > For more help in troubleshooting, also provide your zapata.conf /
> > > chan_dahdi.conf as well as the output of:  cat /proc/dahdi/* (or 
> > > /proc/zaptel/* if you use Zaptel)
> > > 
> > > -- 
> > >                Tzafrir Cohen
> > > icq#16849755              jabber:tzafrir.cohen at xorcom.com
> > > +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> > > http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
> > > 
> > > _______________________________________________
> > > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> > > 
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> > _________________________________________________________________
> > Hotmail® is up to 70% faster. Now good news travels really fast. 
> > http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> > 
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> -- 
>                Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090312/8d54198e/attachment.htm 


More information about the asterisk-users mailing list