<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">For those who may be seeing similar, I
      do not yet know what changed between Fedora 20 and Fedora 22
      (Fedora 21 had some strangeness to it with FreeSWITCH that I never
      had time to figure out) which caused dahdi_echocan_oslec module to
      not be loaded automatically. I have not yet figured out why this
      was. The compilation bugs and installation bugs have been or are
      being fixed. I have a working system, except now the echo
      cancellation which was a bit slack is now over zealous. <br>
      <br>
      Thank you,<br>
      Trever<br>
      <br>
      On 06/25/2015 07:47 PM, Trever L. Adams wrote:<br>
    </div>
    <blockquote
      cite="mid:558CAF42.2020207@middleearth.sapphiresunday.org"
      type="cite">
      <pre wrap="">My hardware is OpenVox. Newer kernels/dahdi have a dahdi_no_read/write
function set that returns ENOSYS.

This appears to confused FreeSWITCH which then says:

2015-06-25 19:42:56.390679 [DEBUG] ftdm_config.c:52 New mod directory:
/usr/local/freeswitch/lib/freeswitch/mod
2015-06-25 19:42:56.390679 [DEBUG] ftdm_config.c:58 New config
directory: /usr/local/freeswitch/etc/freeswitch
2015-06-25 19:42:56.390679 [INFO] switch_time.c:1411 Timezone reloaded
530 definitions
2015-06-25 19:42:56.390679 [DEBUG] ftdm_sched.c:161 Initializing
scheduling API
2015-06-25 19:42:56.390679 [DEBUG] ftdm_sched.c:265 Created schedule
freetdm-master
2015-06-25 19:42:56.390679 [NOTICE] ftdm_sched.c:192 Launching main
schedule thread
2015-06-25 19:42:56.390679 [DEBUG] ftdm_sched.c:201 Running schedule
freetdm-master in the main schedule thread
2015-06-25 19:42:56.390679 [DEBUG] ftdm_config.c:80 Configuration file
is /usr/local/freeswitch/etc/freeswitch/modules.conf
2015-06-25 19:42:56.390679 [NOTICE] ftdm_io.c:6387 Modules configured: 1
2015-06-25 19:42:56.390679 [DEBUG] ftdm_config.c:80 Configuration file
is /usr/local/freeswitch/etc/freeswitch/freetdm.conf
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5148 Reading FreeTDM
configuration file
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5165 found config for span
2015-06-25 19:42:56.390679 [NOTICE] ftmod_zt.c:1504 Using DAHDI control
device
2015-06-25 19:42:56.390679 [INFO] ftdm_io.c:5548 Loading IO from
/usr/local/freeswitch/lib/freeswitch/mod/ftmod_zt.so [zt]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_config.c:80 Configuration file
is /usr/local/freeswitch/etc/freeswitch/zt.conf
2015-06-25 19:42:56.390679 [INFO] ftmod_zt.c:601 Setting rxgain val to
0.000000
2015-06-25 19:42:56.390679 [INFO] ftmod_zt.c:609 Setting txgain val to
0.000000
2015-06-25 19:42:56.390679 [INFO] ftdm_io.c:5512 Auto-loaded I/O module 'zt'
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5186 created span 1
(FXS1to6) of type zt
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 1 [rxgain]=[0.00]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 1 [fxs-channel]=[1-6]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5255 setting trunk type to
'FXS' start(KEWL), mode(NET)
2015-06-25 19:42:56.390679 [ERR] ftmod_zt.c:293 failure configuring
device /dev/dahdi/channel chan 1 fd 40 (No such device or address)
2015-06-25 19:42:56.390679 [ERR] ftmod_zt.c:293 failure configuring
device /dev/dahdi/channel chan 2 fd 40 (No such device or address)
2015-06-25 19:42:56.390679 [ERR] ftmod_zt.c:293 failure configuring
device /dev/dahdi/channel chan 3 fd 40 (No such device or address)
2015-06-25 19:42:56.390679 [ERR] ftmod_zt.c:293 failure configuring
device /dev/dahdi/channel chan 4 fd 40 (No such device or address)
2015-06-25 19:42:56.390679 [ERR] ftmod_zt.c:293 failure configuring
device /dev/dahdi/channel chan 5 fd 40 (No such device or address)
2015-06-25 19:42:56.390679 [ERR] ftmod_zt.c:293 failure configuring
device /dev/dahdi/channel chan 6 fd 40 (No such device or address)
2015-06-25 19:42:56.390679 [ERR] ftdm_io.c:5081 1:Failed to configure span
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 1
[analog-start-type]=[kewl]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5230 changing start type to
'KEWL'
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5165 found config for span
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5186 created span 2 (FXO1)
of type zt
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 2 [name]=[Adams
Family]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 2
[number]=[435XXXXXXX]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 2 [fxo-channel]=[7]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5239 setting trunk type to
'FXO' start(KEWL), mode(CPE)
2015-06-25 19:42:56.390679 [ERR] ftmod_zt.c:293 failure configuring
device /dev/dahdi/channel chan 7 fd 40 (No such device or address)
2015-06-25 19:42:56.390679 [ERR] ftdm_io.c:5081 2:Failed to configure span
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5165 found config for span
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5186 created span 3 (FXO2)
of type zt
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 3 [name]=[Adams
Family]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 3
[number]=[435XXXXXXX]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 3 [rxgain]=[0.00]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 3 [txgain]=[0.00]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 3 [fxo-channel]=[8]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5239 setting trunk type to
'FXO' start(KEWL), mode(CPE)
2015-06-25 19:42:56.390679 [ERR] ftmod_zt.c:293 failure configuring
device /dev/dahdi/channel chan 8 fd 40 (No such device or address)
2015-06-25 19:42:56.390679 [ERR] ftdm_io.c:5081 3:Failed to configure span
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5204 span 3
[analog-start-type]=[kewl]
2015-06-25 19:42:56.390679 [DEBUG] ftdm_io.c:5230 changing start type to
'KEWL'
2015-06-25 19:42:56.390679 [INFO] ftdm_io.c:5450 Configured 0 channel(s)
2015-06-25 19:42:56.390679 [ERR] ftdm_io.c:6397 FreeTDM global
configuration failed!

I did have to move ftmod_* from /usr/local/freeswitch/mod to
/usr/local/freeswitch/libs/freeswitch/mod before I got this far.
Unfortunately, I need to be using newer versions of Fedora. 21 won't
compile it properly and it goes off into lah lah land the first time any
call hangs up. Fedora 22, I have to change __FUNCTION__ to __func__ in
some of the freetdm files to get it to compile (GCC 5.1.1 with pedantic
says ISO C doesn't allow predefined __FUNCTION__ and the manual suggests
the change made).

Permissions on /dev/dahdi and /dev/dahdi/* seem to be correct. I moved
all the configuration files as needed according to the --prefix changes
made.

I cannot find anything online about this. I may just be searching for
the wrong terms. Anyone know how to fix this at this time? I would
greatly appreciate any help as I have been away from the computing world
for a few months.

Trever

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>