ok, here&#39;s my setup.<br><br>TDM410 card with port 1 having a line to the PSTN and ports 2-4 have the telephone lines plugged in<br><br>FS version is 1.0.head (git-9dd45e3 2011-11-03 14-45-01 -0500)<br><br>freetdm.conf has full rw permissions<br>
<br>My problem is that I cannot configure freetdm to use this blasted card, no matter what I do.....<br><br>Assistance appreciated<br><br><br>this is my freetdm.conf file<br><br>[span zt FXS]<br>trunk_type =&gt; FXS<br>fxs-channel =&gt; 1<br>
<br>[span zt FXO]<br>trunk_type =&gt; FXO<br>fxo-channel =&gt; 2-4<br><br><br>this is the relevant output from the logfile<br><br>2011-11-10 14:16:02.229171 [DEBUG] ftdm_config.c:52 New mod directory: /usr/local/freeswitch/mod<br>
2011-11-10 14:16:02.229411 [DEBUG] ftdm_config.c:58 New config directory: /usr/local/freeswitch/conf<br>2011-11-10 14:16:02.229656 [DEBUG] ftdm_sched.c:154 Initializing scheduling API<br>2011-11-10 14:16:02.229732 [DEBUG] ftdm_sched.c:251 Created schedule freetdm-master<br>
2011-11-10 14:16:02.229792 [NOTICE] ftdm_sched.c:178 Launching main schedule thread<br>2011-11-10 14:16:02.229938 [DEBUG] ftdm_sched.c:187 Running schedule freetdm-master in the main schedule thread<br>2011-11-10 14:16:02.230029 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/modules.conf.<br>
2011-11-10 14:16:02.230288 [NOTICE] ftdm_io.c:5725 Modules configured: 1 <br>2011-11-10 14:16:02.230494 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/freetdm.conf.<br>2011-11-10 14:16:02.230592 [DEBUG] ftdm_io.c:4635 Reading FreeTDM configuration file<br>
2011-11-10 14:16:02.230687 [DEBUG] ftdm_io.c:4651 found config for span<br>2011-11-10 14:16:02.231224 [NOTICE] ftmod_zt.c:1323 Using DAHDI control device<br>2011-11-10 14:16:02.231410 [INFO] ftdm_io.c:4965 Loading IO from /usr/local/freeswitch/mod/ftmod_zt.so [zt]<br>
2011-11-10 14:16:02.231589 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/zt.conf.<br>2011-11-10 14:16:02.231826 [INFO] ftmod_zt.c:585 Setting rxgain val to 0.000000<br>2011-11-10 14:16:02.231922 [INFO] ftmod_zt.c:593 Setting txgain val to 0.000000<br>
2011-11-10 14:16:02.232044 [INFO] ftdm_io.c:787 Auto-loaded I/O module &#39;zt&#39;<br>2011-11-10 14:16:02.232201 [DEBUG] ftdm_io.c:4672 created span 1 (FXS) of type zt<br>2011-11-10 14:16:02.232274 [DEBUG] ftdm_io.c:4690 span 1 [trunk_type]=[FXS]<br>
2011-11-10 14:16:02.232370 [DEBUG] ftdm_io.c:4695 setting trunk type to &#39;FXS&#39;<br>2011-11-10 14:16:02.232517 [DEBUG] ftdm_io.c:4690 span 1 [fxs-channel]=[1]<br>2011-11-10 14:16:02.232770 [WARNING] ftmod_zt.c:352 this ioctl fails on older ftdmtel but is harmless if you used ztcfg<br>
[device /dev/dahdi/channel chan 1 fd 16 (Invalid argument)]<br>2011-11-10 14:16:02.233387 [INFO] ftmod_zt.c:404 configuring device /dev/dahdi/channel channel 1 as FreeTDM device 1:1 fd:17<br>2011-11-10 14:16:02.233595 [DEBUG] ftdm_io.c:5263 Creating new group:__default<br>
2011-11-10 14:16:02.233746 [DEBUG] ftdm_io.c:4651 found config for span<br>2011-11-10 14:16:02.233931 [DEBUG] ftdm_io.c:4672 created span 2 (FXO) of type zt<br>2011-11-10 14:16:02.234045 [DEBUG] ftdm_io.c:4690 span 2 [trunk_type]=[FXO]<br>
2011-11-10 14:16:02.234111 [DEBUG] ftdm_io.c:4695 setting trunk type to &#39;FXO&#39;<br>2011-11-10 14:16:02.234173 [DEBUG] ftdm_io.c:4690 span 2 [fxo-channel]=[2-4]<br>2011-11-10 14:16:02.234550 [WARNING] ftmod_zt.c:352 this ioctl fails on older ftdmtel but is harmless if you used ztcfg<br>
[device /dev/dahdi/channel chan 2 fd 16 (Invalid argument)]<br>2011-11-10 14:16:02.235149 [INFO] ftmod_zt.c:404 configuring device /dev/dahdi/channel channel 2 as FreeTDM device 2:1 fd:18<br>2011-11-10 14:16:02.235550 [WARNING] ftmod_zt.c:352 this ioctl fails on older ftdmtel but is harmless if you used ztcfg<br>
[device /dev/dahdi/channel chan 3 fd 16 (Invalid argument)]<br>2011-11-10 14:16:02.236157 [INFO] ftmod_zt.c:404 configuring device /dev/dahdi/channel channel 3 as FreeTDM device 2:2 fd:19<br>2011-11-10 14:16:02.236544 [WARNING] ftmod_zt.c:352 this ioctl fails on older ftdmtel but is harmless if you used ztcfg<br>
[device /dev/dahdi/channel chan 4 fd 16 (Invalid argument)]<br>2011-11-10 14:16:02.237129 [INFO] ftmod_zt.c:404 configuring device /dev/dahdi/channel channel 4 as FreeTDM device 2:3 fd:20<br>2011-11-10 14:16:02.237385 [INFO] ftdm_io.c:4887 Configured 4 channel(s)<br>
2011-11-10 14:16:02.237644 [ERR] mod_freetdm.c:2953 open of freetdm.conf failed<br>2011-11-10 14:16:02.238048 [DEBUG] ftdm_sched.c:217 Waiting for main schedule thread to finish<br>2011-11-10 14:16:02.333760 [NOTICE] ftdm_sched.c:147 Main scheduling thread going out ...<br>
2011-11-10 14:16:02.338252 [INFO] ftdm_io.c:601 Closing channel zt:1:1 fd:17<br>2011-11-10 14:16:02.338393 [INFO] ftdm_io.c:601 Closing channel zt:2:1 fd:18<br>2011-11-10 14:16:02.338528 [INFO] ftdm_io.c:601 Closing channel zt:2:2 fd:19<br>
2011-11-10 14:16:02.338601 [INFO] ftdm_io.c:601 Closing channel zt:2:3 fd:20<br>2011-11-10 14:16:02.338720 [INFO] ftdm_io.c:5092 Unloading I/O interface zt<br>2011-11-10 14:16:02.338787 [INFO] ftdm_io.c:5099 Unloaded I/O interface zt<br>
2011-11-10 14:16:02.338848 [INFO] ftdm_io.c:5118 Unloading module /usr/local/freeswitch/mod/ftmod_zt.so<br>2011-11-10 14:16:02.338997 [DEBUG] ftdm_dso.c:90 lib 0xa103d78 was closed with success<br>2011-11-10 14:16:02.339062 [INFO] ftdm_io.c:5120 Unloaded module /usr/local/freeswitch/mod/ftmod_zt.so<br>
2011-11-10 14:16:02.339124 [DEBUG] ftdm_sched.c:552 Destroying schedule freetdm-master<br>2011-11-10 14:16:02.339230 [CRIT] switch_loadable_module.c:1281 Error Loading module /usr/local/freeswitch/mod/mod_freetdm.so<br>**Module load routine returned an error**<br>