[Freeswitch-users] freeTDM can't configure with Digium TDM410 card
Melvin King
mkdutchman at gmail.com
Thu Nov 10 22:29:04 MSK 2011
ok, here's my setup.
TDM410 card with port 1 having a line to the PSTN and ports 2-4 have the
telephone lines plugged in
FS version is 1.0.head (git-9dd45e3 2011-11-03 14-45-01 -0500)
freetdm.conf has full rw permissions
My problem is that I cannot configure freetdm to use this blasted card, no
matter what I do.....
Assistance appreciated
this is my freetdm.conf file
[span zt FXS]
trunk_type => FXS
fxs-channel => 1
[span zt FXO]
trunk_type => FXO
fxo-channel => 2-4
this is the relevant output from the logfile
2011-11-10 14:16:02.229171 [DEBUG] ftdm_config.c:52 New mod directory:
/usr/local/freeswitch/mod
2011-11-10 14:16:02.229411 [DEBUG] ftdm_config.c:58 New config directory:
/usr/local/freeswitch/conf
2011-11-10 14:16:02.229656 [DEBUG] ftdm_sched.c:154 Initializing scheduling
API
2011-11-10 14:16:02.229732 [DEBUG] ftdm_sched.c:251 Created schedule
freetdm-master
2011-11-10 14:16:02.229792 [NOTICE] ftdm_sched.c:178 Launching main
schedule thread
2011-11-10 14:16:02.229938 [DEBUG] ftdm_sched.c:187 Running schedule
freetdm-master in the main schedule thread
2011-11-10 14:16:02.230029 [DEBUG] ftdm_config.c:80 Configuration file is
/usr/local/freeswitch/conf/modules.conf.
2011-11-10 14:16:02.230288 [NOTICE] ftdm_io.c:5725 Modules configured: 1
2011-11-10 14:16:02.230494 [DEBUG] ftdm_config.c:80 Configuration file is
/usr/local/freeswitch/conf/freetdm.conf.
2011-11-10 14:16:02.230592 [DEBUG] ftdm_io.c:4635 Reading FreeTDM
configuration file
2011-11-10 14:16:02.230687 [DEBUG] ftdm_io.c:4651 found config for span
2011-11-10 14:16:02.231224 [NOTICE] ftmod_zt.c:1323 Using DAHDI control
device
2011-11-10 14:16:02.231410 [INFO] ftdm_io.c:4965 Loading IO from
/usr/local/freeswitch/mod/ftmod_zt.so [zt]
2011-11-10 14:16:02.231589 [DEBUG] ftdm_config.c:80 Configuration file is
/usr/local/freeswitch/conf/zt.conf.
2011-11-10 14:16:02.231826 [INFO] ftmod_zt.c:585 Setting rxgain val to
0.000000
2011-11-10 14:16:02.231922 [INFO] ftmod_zt.c:593 Setting txgain val to
0.000000
2011-11-10 14:16:02.232044 [INFO] ftdm_io.c:787 Auto-loaded I/O module 'zt'
2011-11-10 14:16:02.232201 [DEBUG] ftdm_io.c:4672 created span 1 (FXS) of
type zt
2011-11-10 14:16:02.232274 [DEBUG] ftdm_io.c:4690 span 1 [trunk_type]=[FXS]
2011-11-10 14:16:02.232370 [DEBUG] ftdm_io.c:4695 setting trunk type to
'FXS'
2011-11-10 14:16:02.232517 [DEBUG] ftdm_io.c:4690 span 1 [fxs-channel]=[1]
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
[device /dev/dahdi/channel chan 1 fd 16 (Invalid argument)]
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
2011-11-10 14:16:02.233595 [DEBUG] ftdm_io.c:5263 Creating new
group:__default
2011-11-10 14:16:02.233746 [DEBUG] ftdm_io.c:4651 found config for span
2011-11-10 14:16:02.233931 [DEBUG] ftdm_io.c:4672 created span 2 (FXO) of
type zt
2011-11-10 14:16:02.234045 [DEBUG] ftdm_io.c:4690 span 2 [trunk_type]=[FXO]
2011-11-10 14:16:02.234111 [DEBUG] ftdm_io.c:4695 setting trunk type to
'FXO'
2011-11-10 14:16:02.234173 [DEBUG] ftdm_io.c:4690 span 2 [fxo-channel]=[2-4]
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
[device /dev/dahdi/channel chan 2 fd 16 (Invalid argument)]
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
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
[device /dev/dahdi/channel chan 3 fd 16 (Invalid argument)]
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
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
[device /dev/dahdi/channel chan 4 fd 16 (Invalid argument)]
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
2011-11-10 14:16:02.237385 [INFO] ftdm_io.c:4887 Configured 4 channel(s)
2011-11-10 14:16:02.237644 [ERR] mod_freetdm.c:2953 open of freetdm.conf
failed
2011-11-10 14:16:02.238048 [DEBUG] ftdm_sched.c:217 Waiting for main
schedule thread to finish
2011-11-10 14:16:02.333760 [NOTICE] ftdm_sched.c:147 Main scheduling thread
going out ...
2011-11-10 14:16:02.338252 [INFO] ftdm_io.c:601 Closing channel zt:1:1 fd:17
2011-11-10 14:16:02.338393 [INFO] ftdm_io.c:601 Closing channel zt:2:1 fd:18
2011-11-10 14:16:02.338528 [INFO] ftdm_io.c:601 Closing channel zt:2:2 fd:19
2011-11-10 14:16:02.338601 [INFO] ftdm_io.c:601 Closing channel zt:2:3 fd:20
2011-11-10 14:16:02.338720 [INFO] ftdm_io.c:5092 Unloading I/O interface zt
2011-11-10 14:16:02.338787 [INFO] ftdm_io.c:5099 Unloaded I/O interface zt
2011-11-10 14:16:02.338848 [INFO] ftdm_io.c:5118 Unloading module
/usr/local/freeswitch/mod/ftmod_zt.so
2011-11-10 14:16:02.338997 [DEBUG] ftdm_dso.c:90 lib 0xa103d78 was closed
with success
2011-11-10 14:16:02.339062 [INFO] ftdm_io.c:5120 Unloaded module
/usr/local/freeswitch/mod/ftmod_zt.so
2011-11-10 14:16:02.339124 [DEBUG] ftdm_sched.c:552 Destroying schedule
freetdm-master
2011-11-10 14:16:02.339230 [CRIT] switch_loadable_module.c:1281 Error
Loading module /usr/local/freeswitch/mod/mod_freetdm.so
**Module load routine returned an error**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111110/6082ccae/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list