<br><b>[root@astrisks ~]# cat /etc/asterisk/dahdi-channels.conf</b><br><br><br>; Autogenerated by /usr/sbin/dahdi_genconf on Thu Oct 6 18:28:14 2011<br>; If you edit this file and execute /usr/sbin/dahdi_genconf again,<br>
; your manual changes will be LOST.<br>; Dahdi Channels Configurations (chan_dahdi.conf)<br>;<br>; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended<br>; to be #include-d by /etc/chan_dahdi.conf that will include the global settings<br>
;<br><br>; Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER) <br>;;; line="1 WCFXO/0/0 FXSLS (In use)"<br>signalling=fxs_ks<br>callerid=asreceived<br>group=0<br>context=from-pstn<br>channel => 1<br>
callerid=<br>group=<br>context=default<br><br><br><br><b>[root@astrisks ~]# cat /etc/asterisk/chan_dahdi_additional.conf</b><br><br><br>;--------------------------------------------------------------------------------;<br>
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;<br>; this file must be done via the web gui. There are alternative files to make ;<br>; custom modifications, details at: <a href="http://freepbx.org/configuration_files">http://freepbx.org/configuration_files</a> ;<br>
;--------------------------------------------------------------------------------;<br>;<br><br><br><b><br>[root@astrisks ~]# cat /etc/asterisk/chan_dahdi_groups.conf</b><br><br><br>;--------------------------------------------------------------------------------;<br>
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;<br>; this file must be done via the web gui. There are alternative files to make ;<br>; custom modifications, details at: <a href="http://freepbx.org/configuration_files">http://freepbx.org/configuration_files</a> ;<br>
;--------------------------------------------------------------------------------;<br>;<br><br><br>signalling=fxs_ls<br>context=from-analog<br><br><br><br><br><br><br><br><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 11:11 PM, Sammy Govind <span dir="ltr"><<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Please paste the configurations in the #included files as well. <div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Fri, Oct 7, 2011 at 7:07 PM, michael k <span dir="ltr"><<a href="mailto:michael@inapp.com" target="_blank">michael@inapp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br> <br>This is my /etc/asterisk/chan_dahdi.conf file. <br><br><br>[root@astrisks asterisk]# cat /etc/asterisk/chan_dahdi.conf<br>
; Copied from DAHDI Module of FreePBX<br><br>[general]<br><br>#include chan_dahdi_general.conf<br>
<br>[channels]<br><br>; include dahdi groups defined by DAHDI module of FreePBX<br>#include chan_dahdi_groups.conf<br><br>;added by mic 06-oct-20011<br>#include /etc/asterisk/dahdi-channels.conf<br><br>; include dahdi extensions defined in FreePBX<br>
#include chan_dahdi_additional.conf<br><br><br>Any issues in this ?<br><font color="#888888"><br> Michael.k</font><div><div></div><div><br><br><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 7:19 PM, Eric Wieling <span dir="ltr"><<a href="mailto:EWieling@nyigc.com" target="_blank">EWieling@nyigc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It is likely you have an error in your /etc/asterisk/chan_dahdi.conf<br>
<div><br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of michael k<br>
</div><div><div></div><div>Sent: Friday, October 07, 2011 9:24 AM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: Re: [asterisk-users] dahdi show status command not avilable in CLI<br>
<br>
Hi,<br>
<br>
I am getting this error message while executing the "module load chan_dahdi.so".<br>
<br>
astrisks*CLI> module load chan_dahdi.so<br>
<br>
Unable to load module chan_dahdi.so<br>
Command 'module load chan_dahdi.so' failed.<br>
== Parsing '/etc/asterisk/chan_dahdi.conf': == Found<br>
== Parsing '/etc/asterisk/chan_dahdi_general.conf': == Found<br>
== Parsing '/etc/asterisk/chan_dahdi_groups.conf': == Found<br>
== Parsing '/etc/asterisk/dahdi-channels.conf': == Found<br>
== Parsing '/etc/asterisk/chan_dahdi_additional.conf': == Found<br>
<br>
<br>
Thanks,<br>
<br>
Michael.k<br>
<br>
<br>
<br>
On Thu, Oct 6, 2011 at 9:44 PM, Eric Wieling <<a href="mailto:EWieling@nyigc.com" target="_blank">EWieling@nyigc.com</a>> wrote:<br>
<br>
<br>
What happens when you do the module load chan_dahdi.so command?<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of michael k<br>
<br>
Sent: Thursday, October 06, 2011 12:10 PM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: Re: [asterisk-users] dahdi show status command not avilable in CLI<br>
<br>
Hi,<br>
<br>
<br>
astrisks*CLI> module unload chan_dahdi.so<br>
<br>
Unable to unload resource chan_dahdi.so<br>
Command 'module unload chan_dahdi.so ' failed.<br>
<br>
Producing some other error messages !!!!!<br>
<br>
<br>
On Thu, Oct 6, 2011 at 9:17 PM, Eric Wieling <<a href="mailto:EWieling@nyigc.com" target="_blank">EWieling@nyigc.com</a>> wrote:<br>
<br>
<br>
In the Asterisk CLI run the commands "module unload chan_dahdi.so" and "module load chan_dahdi.so".<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of michael k<br>
Sent: Thursday, October 06, 2011 11:40 AM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: Re: [asterisk-users] dahdi show status command not avilable in CLI<br>
<br>
Hi,<br>
<br>
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 ?<br>
<br>
<br>
Michael.k<br>
<br>
<br>
<br>
On Thu, Oct 6, 2011 at 8:59 PM, gincantalupo <<a href="mailto:gincantalupo@fgasoftware.com" target="_blank">gincantalupo@fgasoftware.com</a>> wrote:<br>
<br>
<br>
<br>
Hi Michael,<br>
<br>
what if you reload the module chan_dahdi from within the * CLI? It should give some hints.....<br>
<br>
Giorgio<br>
<br>
<br>
<br>
On 10/06/2011 05:22 PM, michael k wrote:<br>
<br>
Hi Giorgio,<br>
<br>
Thanks for your reply. I will produce some output for your reference.<br>
<br>
# lsmod | grep dahdi<br>
<br>
dahdi_echocan_mg2 39688 1<br>
dahdi_transcode 42372 1 wctc4xxp<br>
dahdi_voicebus 79424 2 wctdm24xxp,wcte12xp<br>
dahdi 238384 14 dahdi_echocan_mg2,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp<br>
crc_ccitt 35265 2 wctdm24xxp,dahdi<br>
<br>
<br>
# service dahdi status<br>
<br>
### Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER)<br>
1 FXO FXSKS (SWEC: MG2) (battery)<br>
<br>
<br>
# dahdi_cfg -vv<br>
<br>
DAHDI Tools Version - 2.3.0<br>
<br>
DAHDI Version: 2.3.0.1<br>
Echo Canceller(s): MG2<br>
Configuration<br>
======================<br>
<br>
Channel map:<br>
<br>
Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)<br>
<br>
1 channels to configure.<br>
<br>
Setting echocan for channel 1 to mg2<br>
<br>
<br>
# dahdi_scan<br>
<br>
[1]<br>
active=yes<br>
alarms=OK<br>
description=Wildcard X100P Board 1<br>
name=WCFXO/0<br>
manufacturer=Digium<br>
devicetype=Wildcard X100P<br>
location=PCI Bus 02 Slot 02<br>
basechan=1<br>
totchans=1<br>
irq=193<br>
type=analog<br>
port=1,FXO<br>
<br>
<br>
These outputs shows that the modules are loaded correctly. Any other clues ?<br>
<br>
Michael.k<br>
<br>
<br>
<br>
On Thu, Oct 6, 2011 at 8:43 PM, gincantalupo <<a href="mailto:gincantalupo@fgasoftware.com" target="_blank">gincantalupo@fgasoftware.com</a>> wrote:<br>
<br>
<br>
Hi Michael,<br>
<br>
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.<br>
<br>
Giorgio<br>
<br>
<br>
On 10/06/2011 04:57 PM, michael k wrote:<br>
<br>
Hi All,<br>
<br>
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"<br>
<br>
<br>
Output of CLI :<br>
<br>
astrisks*CLI> dahdi show status<br>
No such command 'dahdi show status' (type 'core show help dahdi show' for other possible commands)<br>
<br>
<br>
I really not understand why this command is not avilable in CLI mode. Please help me to resolve this issue<br>
<br>
<br>
Michael.k<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>
</div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>
</div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>