[asterisk-users] dahdi show status command not avilable in CLI

michael k michael at inapp.com
Sat Oct 8 08:40:45 CDT 2011


*[root at astrisks ~]# cat /etc/asterisk/dahdi-channels.conf*


; Autogenerated by /usr/sbin/dahdi_genconf on Thu Oct  6 18:28:14 2011
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is
intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global
settings
;

; Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER)
;;; line="1 WCFXO/0/0 FXSLS  (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default



*[root at astrisks ~]# cat /etc/asterisk/chan_dahdi_additional.conf*


;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All
modifications to ;
; this file must be done via the web gui. There are alternative files to
make    ;
; custom modifications, details at:
http://freepbx.org/configuration_files
;
;--------------------------------------------------------------------------------;
;


*
[root at astrisks ~]# cat /etc/asterisk/chan_dahdi_groups.conf*


;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All
modifications to ;
; this file must be done via the web gui. There are alternative files to
make    ;
; custom modifications, details at:
http://freepbx.org/configuration_files
;
;--------------------------------------------------------------------------------;
;


signalling=fxs_ls
context=from-analog








On Fri, Oct 7, 2011 at 11:11 PM, Sammy Govind <govoiper at gmail.com> wrote:

> Please paste the configurations in the #included files as well.
>
>
> On Fri, Oct 7, 2011 at 7:07 PM, michael k <michael at inapp.com> wrote:
>
>> Hi,
>>
>>
>> This is my /etc/asterisk/chan_dahdi.conf file.
>>
>>
>> [root at astrisks asterisk]# cat /etc/asterisk/chan_dahdi.conf
>> ; Copied from DAHDI Module of FreePBX
>>
>> [general]
>>
>> #include chan_dahdi_general.conf
>>
>> [channels]
>>
>> ; include dahdi groups defined by DAHDI module of FreePBX
>> #include chan_dahdi_groups.conf
>>
>> ;added by mic 06-oct-20011
>> #include /etc/asterisk/dahdi-channels.conf
>>
>> ; include dahdi extensions defined in FreePBX
>> #include chan_dahdi_additional.conf
>>
>>
>> Any issues in this ?
>>
>>  Michael.k
>>
>>
>>
>> On Fri, Oct 7, 2011 at 7:19 PM, Eric Wieling <EWieling at nyigc.com> wrote:
>>
>>> It is likely you have an error in your /etc/asterisk/chan_dahdi.conf
>>>
>>> -----Original Message-----
>>> From: asterisk-users-bounces at lists.digium.com [mailto:
>>> asterisk-users-bounces at lists.digium.com] On Behalf Of michael k
>>> Sent: Friday, October 07, 2011 9:24 AM
>>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>>> Subject: Re: [asterisk-users] dahdi show status command not avilable in
>>> CLI
>>>
>>> Hi,
>>>
>>>    I am getting this error message while executing the  "module load
>>> chan_dahdi.so".
>>>
>>> astrisks*CLI> module load chan_dahdi.so
>>>
>>> Unable to load module chan_dahdi.so
>>> Command 'module load chan_dahdi.so' failed.
>>>  == Parsing '/etc/asterisk/chan_dahdi.conf':   == Found
>>>  == Parsing '/etc/asterisk/chan_dahdi_general.conf':   == Found
>>>  == Parsing '/etc/asterisk/chan_dahdi_groups.conf':   == Found
>>>  == Parsing '/etc/asterisk/dahdi-channels.conf':   == Found
>>>  == Parsing '/etc/asterisk/chan_dahdi_additional.conf':   == Found
>>>
>>>
>>> Thanks,
>>>
>>> Michael.k
>>>
>>>
>>>
>>> On Thu, Oct 6, 2011 at 9:44 PM, Eric Wieling <EWieling at nyigc.com> wrote:
>>>
>>>
>>>        What happens when you do the module load chan_dahdi.so command?
>>>
>>>
>>>        -----Original Message-----
>>>        From: asterisk-users-bounces at lists.digium.com [mailto:
>>> asterisk-users-bounces at lists.digium.com] On Behalf Of michael k
>>>
>>>        Sent: Thursday, October 06, 2011 12:10 PM
>>>        To: Asterisk Users Mailing List - Non-Commercial Discussion
>>>        Subject: Re: [asterisk-users] dahdi show status command not
>>> avilable in CLI
>>>
>>>        Hi,
>>>
>>>
>>>        astrisks*CLI> module unload chan_dahdi.so
>>>
>>>        Unable to unload resource chan_dahdi.so
>>>        Command 'module unload chan_dahdi.so ' failed.
>>>
>>>        Producing some other error messages !!!!!
>>>
>>>
>>>        On Thu, Oct 6, 2011 at 9:17 PM, Eric Wieling <EWieling at nyigc.com>
>>> wrote:
>>>
>>>
>>>               In the Asterisk CLI run the commands "module unload
>>> chan_dahdi.so" and "module load chan_dahdi.so".
>>>
>>>
>>>
>>>
>>>               -----Original Message-----
>>>               From: asterisk-users-bounces at lists.digium.com [mailto:
>>> asterisk-users-bounces at lists.digium.com] On Behalf Of michael k
>>>               Sent: Thursday, October 06, 2011 11:40 AM
>>>               To: Asterisk Users Mailing List - Non-Commercial Discussion
>>>               Subject: Re: [asterisk-users] dahdi show status command not
>>> avilable in CLI
>>>
>>>               Hi,
>>>
>>>                    I was run the commands "dahdi_genconf" and dahdi_cfg
>>> outside the CLI as the part of x100p card installation. Before issuing this
>>> command the dahdi show status command was available. There may any issues ?
>>>
>>>
>>>               Michael.k
>>>
>>>
>>>
>>>               On Thu, Oct 6, 2011 at 8:59 PM, gincantalupo <
>>> gincantalupo at fgasoftware.com> wrote:
>>>
>>>
>>>
>>>                      Hi Michael,
>>>
>>>                      what if you reload the module chan_dahdi from within
>>> the * CLI? It should give some hints.....
>>>
>>>                      Giorgio
>>>
>>>
>>>
>>>                      On 10/06/2011 05:22 PM, michael k wrote:
>>>
>>>                              Hi Giorgio,
>>>
>>>                              Thanks for your reply. I will produce some
>>> output for your reference.
>>>
>>>                              # lsmod | grep dahdi
>>>
>>>                              dahdi_echocan_mg2      39688  1
>>>                              dahdi_transcode        42372  1 wctc4xxp
>>>                              dahdi_voicebus         79424  2
>>> wctdm24xxp,wcte12xp
>>>                              dahdi                 238384  14
>>> dahdi_echocan_mg2,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp
>>>                              crc_ccitt              35265  2
>>> wctdm24xxp,dahdi
>>>
>>>
>>>                              # service dahdi status
>>>
>>>                              ### Span  1: WCFXO/0 "Wildcard X100P Board
>>> 1" (MASTER)
>>>                                1 FXO        FXSKS       (SWEC: MG2)
>>> (battery)
>>>
>>>
>>>                              # dahdi_cfg -vv
>>>
>>>                              DAHDI Tools Version - 2.3.0
>>>
>>>                              DAHDI Version: 2.3.0.1
>>>                              Echo Canceller(s): MG2
>>>                              Configuration
>>>                              ======================
>>>
>>>                              Channel map:
>>>
>>>                              Channel 01: FXS Kewlstart (Default) (Echo
>>> Canceler: mg2) (Slaves: 01)
>>>
>>>                              1 channels to configure.
>>>
>>>                              Setting echocan for channel 1 to mg2
>>>
>>>
>>>                              # dahdi_scan
>>>
>>>                              [1]
>>>                              active=yes
>>>                              alarms=OK
>>>                              description=Wildcard X100P Board 1
>>>                              name=WCFXO/0
>>>                              manufacturer=Digium
>>>                              devicetype=Wildcard X100P
>>>                              location=PCI Bus 02 Slot 02
>>>                              basechan=1
>>>                              totchans=1
>>>                              irq=193
>>>                              type=analog
>>>                              port=1,FXO
>>>
>>>
>>>                              These outputs shows that the modules are
>>> loaded correctly. Any other clues ?
>>>
>>>                              Michael.k
>>>
>>>
>>>
>>>                              On Thu, Oct 6, 2011 at 8:43 PM, gincantalupo
>>> <gincantalupo at fgasoftware.com> wrote:
>>>
>>>
>>>                                      Hi Michael,
>>>
>>>                                      if you type "dah" followed by TAB
>>> and nothing appears, it means you do not have dahdi module loaded or
>>> dahdi_cfg application not launched before starting asterisk.
>>>
>>>                                      Giorgio
>>>
>>>
>>>                                      On 10/06/2011 04:57 PM, michael k
>>> wrote:
>>>
>>>                                              Hi All,
>>>
>>>                                                  I have installed
>>> asteriskNow with  Asterisk 1.6.2.11 and FreePBX 2.7.0.10. I have configured
>>> x100p fxo card in my asterisk box.  But in my cli mode i am not getting the
>>> command "dahdi show status"
>>>
>>>
>>>                                              Output of CLI :
>>>
>>>                                              astrisks*CLI> dahdi show
>>> status
>>>                                              No such command 'dahdi show
>>> status' (type 'core show help dahdi show' for other possible commands)
>>>
>>>
>>>                                              I really not understand why
>>> this command is not avilable in CLI mode. Please help me to resolve this
>>> issue
>>>
>>>
>>>                                              Michael.k
>>>
>>>
>>>                                              --
>>>
>>>  _____________________________________________________________________
>>>                                              -- 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
>>>
>>>
>>>
>>>                                      --
>>>
>>>  _____________________________________________________________________
>>>                                      -- 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
>>>
>>>
>>>
>>>
>>>                              --
>>>
>>>  _____________________________________________________________________
>>>                              -- 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
>>>
>>>
>>>
>>>                      --
>>>
>>>  _____________________________________________________________________
>>>                      -- 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
>>>
>>>
>>>
>>>
>>>               --
>>>
>>> _____________________________________________________________________
>>>               -- 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
>>>
>>>
>>>
>>>
>>>        --
>>>
>>>  _____________________________________________________________________
>>>        -- 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
>>>
>>>
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- 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
>>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- 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
>>
>
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111008/637e9654/attachment-0001.htm>


More information about the asterisk-users mailing list