<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks Vladimir for the response and apologies for my extremely late
    one! This week was quite crazy!!<br>
    <br>
    I have just upgraded my server to FreePBX to take advantage of an
    "up-to-date" system.<br>
    <br>
    I migrated the original config over with a few set changes.<br>
    <br>
    On 05/14/2012 04:42 AM, Vladimir Mikhelson wrote:
    <blockquote cite="mid:4FB07F28.10907@mikhelson.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Kaya,<br>
      <br>
      I do not have a definitive answer for you, but here are several
      things I noticed.<br>
      <ol>
        <li>fxo<b>ls</b>=1&nbsp; --&nbsp; I would definitely try <i>fxoks</i>
          instead<br>
        </li>
      </ol>
    </blockquote>
    <br>
    I altered this in /etc/dahdi/system.conf:<br>
    <br>
    # cat system.conf<br>
    # Autogenerated by /usr/sbin/dahdi_genconf on Sat May 19 20:22:49
    2012<br>
    # If you edit this file and execute /usr/sbin/dahdi_genconf again,<br>
    # your manual changes will be LOST.<br>
    # Dahdi Configuration File<br>
    #<br>
    # This file is parsed by the Dahdi Configurator, dahdi_cfg<br>
    #<br>
    # Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) <br>
    fxoks=1<br>
    echocanceller=mg2,1<br>
    fxsks=2<br>
    echocanceller=mg2,2<br>
    # channel 3, WCTDM/4/2, no module.<br>
    # channel 4, WCTDM/4/3, no module.<br>
    <br>
    # Global data<br>
    <br>
    loadzone&nbsp;&nbsp;&nbsp; = uk<br>
    defaultzone&nbsp;&nbsp;&nbsp; = uk<br>
    <br>
    <br>
    <blockquote cite="mid:4FB07F28.10907@mikhelson.com" type="cite">
      <ol>
        <li> ............<br>
          fxs<b>ls</b>=2&nbsp; --&nbsp; I am not sure about your provider but I
          would try <i>fxsks</i> instead</li>
      </ol>
    </blockquote>
    <br>
    I think the above took care of that too.....<br>
    <br>
    <blockquote cite="mid:4FB07F28.10907@mikhelson.com" type="cite">
      <ol>
        <li>[May 13 13:15:31] WARNING[3624] chan_dahdi.c: CallerID feed
          failed: <b>No such file or directory</b>&nbsp;&nbsp;&nbsp; --&nbsp;&nbsp; It looks
          like your installation is missing some executable files or
          they ended up in some unexpected places.</li>
      </ol>
    </blockquote>
    <br>
    New build straight from CD so no issues here anymore as far as I
    could see in the logs.<br>
    <br>
    <blockquote cite="mid:4FB07F28.10907@mikhelson.com" type="cite">
      <ol>
        <li>2 FXO FXSLS (In use) (SWEC: MG2) <b>RED&nbsp; </b>It looks your
          PSTN line is in red condition<br>
        </li>
      </ol>
    </blockquote>
    <br>
    Still shows up as red :-(<br>
    <br>
    # lsdahdi<br>
    ### Span&nbsp; 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) <br>
    &nbsp; 1 FXS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FXOKS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (In use)&nbsp; <br>
    &nbsp; 2 FXO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FXSKS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RED<br>
    &nbsp; 3 unknown&nbsp;&nbsp;&nbsp; Reserved&nbsp;&nbsp;&nbsp;&nbsp; <br>
    &nbsp; 4 unknown&nbsp;&nbsp;&nbsp; Reserved<br>
    <br>
    Channel 1 is not "in use" though it's free as in no one is using it?<br>
    -plus when press green button on DECT handset I get dialtone.<br>
    <br>
    However, plugging an old non-cordless POTs handset into the 10meter
    cable I have going from the PSTN line over to the Asterisk server
    did come up with a lot of noise on the line. I think it's because
    it's a 10 meter cable and it does cross over some power sockets so
    probably picking up 50Hz hum and additionally other signal residue
    from around (Electronics 1-0-1 long cable = antenna). <br>
    - Can't asterisk clean this up using digital filters, or can
    anything else be done for it?<br>
    <br>
    I run my PBX in a 72" rack sitting in my living room and there isn't
    enough space to put the thing next to the PSTN socket!<br>
    <br>
    <blockquote cite="mid:4FB07F28.10907@mikhelson.com" type="cite">
      <ol>
        <li> <br>
        </li>
      </ol>
      <p>It would also help to see the contents of the
        /etc/asterisk/dahdi-channels.conf and
        /etc/asterisk/chan_dahdi_additional.conf.<br>
      </p>
    </blockquote>
    <br>
    # cat dahdi-channels.conf<br>
    ; Autogenerated by /usr/sbin/dahdi_genconf on Sat May 19 20:22:49
    2012<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: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) <br>
    ;;; line="1 WCTDM/4/0 FXOKS&nbsp; (In use)"<br>
    signalling=fxo_ks<br>
    callerid="Channel 1" &lt;4001&gt;<br>
    mailbox=4001<br>
    group=5<br>
    context=from-internal<br>
    channel =&gt; 1<br>
    callerid=<br>
    mailbox=<br>
    group=<br>
    context=default<br>
    <br>
    ;;; line="2 WCTDM/4/1 FXSKS"<br>
    signalling=fxs_ks<br>
    callerid=asreceived<br>
    group=0<br>
    context=from-pstn<br>
    channel =&gt; 2<br>
    callerid=<br>
    group=<br>
    context=default<br>
    <br>
    <br>
    <br>
    # cat chan_dahdi_additional.conf<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&nbsp;&nbsp;&nbsp; ;<br>
    ; custom modifications, details at:
    <a class="moz-txt-link-freetext" href="http://freepbx.org/configuration_files">http://freepbx.org/configuration_files</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;<br>
;--------------------------------------------------------------------------------;<br>
    ;<br>
    <br>
    ;;;;;;[250]<br>
    signalling=fxo_ks<br>
    pickupgroup=<br>
    mailbox=250@default<br>
    immediate=no<br>
    echotraining=800<br>
    echocancelwhenbridged=no<br>
    echocancel=yes<br>
    context=from-internal<br>
    callprogress=no<br>
    callgroup=<br>
    callerid=Communal Extension &lt;250&gt;<br>
    busydetect=yes<br>
    busycount=7<br>
    accountcode=<br>
    channel=&gt;1<br>
    <br>
    <blockquote cite="mid:4FB07F28.10907@mikhelson.com" type="cite">
      <p> </p>
      <p>The following thread can have some relevance to your case.&nbsp;
        Please run fxstest and post the results here.<br>
        <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://forums.digium.com/viewtopic.php?f=1&amp;t=80253&amp;start=0">http://forums.digium.com/viewtopic.php?f=1&amp;t=80253&amp;start=0</a><br>
      </p>
    </blockquote>
    <br>
    I looked at this but couldn't figure out where to obtain fxstest
    from as it's not in the yum repos and Google doesn't come up with
    any answers either??<br>
    <br>
    <blockquote cite="mid:4FB07F28.10907@mikhelson.com" type="cite">
      <p> </p>
      <p>-Vladimir<br>
      </p>
      <p><br>
      </p>
      <br>
      <br>
    </blockquote>
    <br>
    Regards,<br>
    <br>
    Kaya<br>
  </body>
</html>