This dAHDI stuff is like voodoo!<div><br></div><div>I know this has to be configuration issues but sh****t after a few years in the telecom industry it is really hard to find a more awful syntax for configuring such a stupid device as an FXO port. </div>
<div><br></div><div>I am trying to get a Xorcom Astribank going with FreeTDM. So far after a bunch of firmware and driver BS (come on there is probably nothing more buggy in a freking kernel than the USB layer, how can a telecom device be using a USB driver!!!!!!!).</div>
<div><br></div><div>I get the following output from</div><div><br></div><div>#lsdahdi</div><div><div>### Span  1: XBUS-00/XPD-00 &quot;Xorcom XPD #00/00: FXO&quot; (MASTER) </div><div>  1 FXO                     RED</div>
<div>  2 FXO                     RED</div><div>  3 FXO                     RED</div><div>  4 FXO                     RED</div><div>  5 FXO                     RED</div><div>  6 FXO                     RED</div><div>  7 FXO                     RED</div>
<div>  8 FXO                     RED</div><div>### Span  2: XBUS-00/XPD-10 &quot;Xorcom XPD #00/10: FXO&quot; </div><div>  9 FXO                     RED</div><div> 10 FXO                     RED</div><div> 11 FXO                     RED</div>
<div> 12 FXO                     RED</div><div> 13 FXO                     RED</div><div> 14 FXO                     RED</div><div> 15 FXO                     RED</div><div> 16 FXO                    (battery) </div><div>
### Span  3: XBUS-00/XPD-20 &quot;Xorcom XPD #00/20: FXO&quot; </div><div> 17 FXO                     RED</div><div> 18 FXO                    (battery) </div><div> 19 FXO                    (battery) </div><div> 20 FXO                    (battery) </div>
<div> 21 FXO                    (battery) </div><div> 22 FXO                    (battery) </div><div> 23 FXO                    (battery) </div><div> 24 FXO                    (battery)</div></div><div><br></div><div>But when loading mod_freetdm I am getting:</div>
<div><br></div><div><div><div>2011-09-19 15:44:03.149105 [NOTICE] ftdm_io.c:5723 Modules configured: 1 </div><div>2011-09-19 15:44:03.149105 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/freetdm.conf.</div>
<div>2011-09-19 15:44:03.149105 [DEBUG] ftdm_io.c:4633 Reading FreeTDM configuration file</div><div>2011-09-19 15:44:03.149105 [DEBUG] ftdm_io.c:4649 found config for span</div><div>2011-09-19 15:44:03.149105 [NOTICE] ftmod_zt.c:1323 Using DAHDI control device</div>
<div>2011-09-19 15:44:03.149105 [INFO] ftdm_io.c:4963 Loading IO from /usr/local/freeswitch/mod/ftmod_zt.so [zt]</div><div>2011-09-19 15:44:03.149105 [DEBUG] ftdm_config.c:80 Configuration file is /usr/local/freeswitch/conf/zt.conf.</div>
<div>2011-09-19 15:44:03.149105 [INFO] ftmod_zt.c:585 Setting rxgain val to 0.000000</div><div>2011-09-19 15:44:03.149105 [INFO] ftmod_zt.c:593 Setting txgain val to 0.000000</div><div>2011-09-19 15:44:03.149105 [INFO] ftdm_io.c:787 Auto-loaded I/O module &#39;zt&#39;</div>
<div>2011-09-19 15:44:03.149105 [DEBUG] ftdm_io.c:4670 created span 1 (SPAN1) of type zt</div><div>2011-09-19 15:44:03.149105 [DEBUG] ftdm_io.c:4688 span 1 [fxo-channel]=[17-24]</div><div>2011-09-19 15:44:03.149105 [DEBUG] ftdm_io.c:4718 setting trunk type to &#39;FXO&#39; start(KEWL)</div>
<div>2011-09-19 15:44:03.149105 [ERR] ftmod_zt.c:288 failure configuring device /dev/dahdi/channel chan 17 fd 48 (No such device or address)</div><div>2011-09-19 15:44:03.149105 [ERR] ftmod_zt.c:288 failure configuring device /dev/dahdi/channel chan 18 fd 48 (No such device or address)</div>
<div>2011-09-19 15:44:03.149105 [ERR] ftmod_zt.c:288 failure configuring device /dev/dahdi/channel chan 19 fd 48 (No such device or address)</div><div>2011-09-19 15:44:03.149105 [ERR] ftmod_zt.c:288 failure configuring device /dev/dahdi/channel chan 20 fd 48 (No such device or address)</div>
<div>2011-09-19 15:44:03.149105 [ERR] ftmod_zt.c:288 failure configuring device /dev/dahdi/channel chan 21 fd 48 (No such device or address)</div><div>2011-09-19 15:44:03.149105 [ERR] ftmod_zt.c:288 failure configuring device /dev/dahdi/channel chan 22 fd 48 (No such device or address)</div>
<div>2011-09-19 15:44:03.149105 [ERR] ftmod_zt.c:288 failure configuring device /dev/dahdi/channel chan 23 fd 48 (No such device or address)</div><div>2011-09-19 15:44:03.149105 [ERR] ftmod_zt.c:288 failure configuring device /dev/dahdi/channel chan 24 fd 48 (No such device or address)</div>
<div>2011-09-19 15:44:03.149105 [ERR] ftdm_io.c:4579 1:Failed to configure span</div><div>2011-09-19 15:44:03.149105 [INFO] ftdm_io.c:4885 Configured 0 channel(s)</div><div>2011-09-19 15:44:03.149105 [ERR] ftdm_io.c:5733 FreeTDM global configuration failed!</div>
<div>2011-09-19 15:44:03.149105 [ERR] mod_freetdm.c:4805 Error configuring FreeTDM</div><div>2011-09-19 15:44:03.149105 [INFO] switch_time.c:1028 Timezone reloaded 530 definitions</div><div>2011-09-19 15:44:03.149105 [CRIT] switch_loadable_module.c:1019 Error Loading module /usr/local/freeswitch/mod/mod_freetdm.so</div>
<div>**Module load routine returned an error**</div><div>2011-09-19 15:44:03.149105 [NOTICE] ftdm_sched.c:147 Main scheduling thread going out ...</div></div></div><div><br></div><div><br></div><div>Thanks in advance and sorry for the rant.</div>
<div><br></div>