[asterisk-users] BRI confiugration error
Shaun Ruffell
sruffell at digium.com
Tue May 31 01:08:46 CDT 2011
On Tue, May 31, 2011 at 11:21:48AM +0530, mahesh katta wrote:
> On Tue, May 31, 2011 at 11:08 AM, Shaun Ruffell <sruffell at digium.com> wrote:
>
>> On Tue, May 31, 2011 at 10:48:08AM +0530, mahesh katta wrote:
>>> Hi sir,
>>>
>>> I was installed Goautodial server and I have b410p BRI card. BRI card
>>> showing OK with dahdi_tool, this NT mode. whenever I am dialing from
>>> server i am not able to connect the call . in Cli below mention
>>> warning is comming . please what is the mistake with me . help me
>>
>> <snip>
>>
>>> -- Executing [0559566768 at default:2] Dial("Console/dsp",
>>> "Dahdi/g0/0559566768|55|tTo") in new
>>> stack
>>> [May 31 01:10:09] WARNING[30356]: channel.c:3443 ast_request: No channel
>>> type registered for
>>> 'Dahdi'
>>> [May 31 01:10:09] WARNING[30356]: app_dial.c:1296 dial_exec_full: Unable to
>>> create channel of type 'Dahdi' (cause 66 - Channel not implemented)
>>
>> It appears that you do not have chan_dahdi in Asterisk configured and/or
>> loaded properly.
>
> sir this chan_dahdi.conf file
>
> [channels]
> #include dahdi-channels.conf
> language=en
> context=default
> usecallerid=yes
> hidecallerid=yes
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> echotraining=800
> relaxdtmf=yes
> rxgain=0.0
> txgain=0.0
> ;group=1
> ;callgroup=1
> ;pickupgroup=1
> busydetect=yes
> busycount=6
> immediate=no
> resetinterval=never
> switchtype=euroisdn
> signalling=bri_cpe
> pridialplan=unknown
> prilocaldialplan=unknown
> group=0
> channel => 1-2
>
> dahdi-channels.conf file
> ; Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) AMI/CCS
> group=0
> context=from-pstn
> switchtype = euroisdn
> signalling = bri_cpe
> channel => 1-2
> context = default
>
> /etc/dahdi/system.conf
> # Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) AMI/CCS
> span=1,1,0,ccs,ami
> # termtype: te
> bchan=1-2
> hardhdlc=3
> echocanceller=mg2,1-2
>
> /etc/asterisk/extensions.conf
> [globals]
> TRUNK=Dahdi/g0
> [Default]
> exten => _0XXXXXXXXX,1,Answer()
> exten => _0XXXXXXXXX,2,Dial(${TRUNK}/${EXTEN},,tTo)
> exten => _0XXXXXXXXX,3,Hangup()
>
> shortly this is my configuration.
What is the output of "dahdi show channels" on the CLI? The "No channel
type 'Dahdi'" error message you originally reported still suggests that
something is preventing chan_dahdi from loading.
Also, you probably want to put the #include dahdi-channels.conf at the
end of your chan_dahdi.conf file, and drop the group=0 / channel => 1-2
from that file as well since they are already defined in
dahdi-channels.conf that you are including.
--
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list