Hello, Just noticed zaptel was renamed dahdi. What am I doing wrong? 2010-03-17 19:11:32.505233 [DEBUG] zap_config.c:56 Configuration file is /opt/freeswitch/conf/modules.conf. 2010-03-17 19:11:32.506233 [NOTICE] zap_io.c:3048 Modules configured: 1 2010-03-17 19:11:32.506233 [DEBUG] zap_config.c:56 Configuration file is /opt/freeswitch/conf/openzap.conf. 2010-03-17 19:11:32.506233 [DEBUG] zap_io.c:2578 found config for span 2010-03-17 19:11:32.506233 [NOTICE] ozmod_zt.c:1182 Using DAHDI control device 2010-03-17 19:11:32.507233 [INFO] zap_io.c:2849 Loading IO from /opt/freeswitch/mod/ozmod_zt.so [zt] 2010-03-17 19:11:32.507233 [DEBUG] zap_config.c:56 Configuration file is /opt/freeswitch/conf/zt.conf. 2010-03-17 19:11:32.507233 [INFO] ozmod_zt.c:556 Setting rxgain val to 0.000000 2010-03-17 19:11:32.507233 [INFO] ozmod_zt.c:565 Setting txgain val to 0.000000 2010-03-17 19:11:32.508233 [INFO] zap_io.c:2595 auto-loaded 'zt' 2010-03-17 19:11:32.508233 [DEBUG] zap_io.c:2616 created span 1 (FXS1) of type zt 2010-03-17 19:11:32.508233 [DEBUG] zap_io.c:2629 span 1 [name]=[Brian May] 2010-03-17 19:11:32.508233 [DEBUG] zap_io.c:2629 span 1 [number]=[1002] 2010-03-17 19:11:32.508233 [DEBUG] zap_io.c:2629 span 1 [fxs-channel]=[1] 2010-03-17 19:11:32.509233 [DEBUG] zap_io.c:2671 setting trunk type to 'FXS' start(KEWL) 2010-03-17 19:11:32.509233 [ERR] ozmod_zt.c:269 failure configuring device /dev/dahdi/channel chan 1 fd 64 (No such device or address) 2010-03-17 19:11:32.509233 [ERR] zap_io.c:1781 I/O backend does not support command 32! 2010-03-17 19:11:32.509233 [ERR] zap_io.c:1781 I/O backend does not support command 34! 2010-03-17 19:11:32.509233 [DEBUG] zap_io.c:2578 found config for span 2010-03-17 19:11:32.510233 [DEBUG] zap_io.c:2616 created span 2 (FXS2) of type zt 2010-03-17 19:11:32.510233 [DEBUG] zap_io.c:2629 span 2 [name]=[Brian May] 2010-03-17 19:11:32.510233 [DEBUG] zap_io.c:2629 span 2 [number]=[1002] 2010-03-17 19:11:32.510233 [DEBUG] zap_io.c:2629 span 2 [fxs-channel]=[2] 2010-03-17 19:11:32.510233 [DEBUG] zap_io.c:2671 setting trunk type to 'FXS' start(KEWL) 2010-03-17 19:11:32.511233 [ERR] ozmod_zt.c:269 failure configuring device /dev/dahdi/channel chan 2 fd 64 (No such device or address) 2010-03-17 19:11:32.511233 [ERR] zap_io.c:1781 I/O backend does not support command 32! 2010-03-17 19:11:32.511233 [ERR] zap_io.c:1781 I/O backend does not support command 34! 2010-03-17 19:11:32.511233 [DEBUG] zap_io.c:2578 found config for span 2010-03-17 19:11:32.511233 [DEBUG] zap_io.c:2616 created span 3 (FXO1) of type zt 2010-03-17 19:11:32.512233 [DEBUG] zap_io.c:2629 span 3 [name]=[OpenZAP] 2010-03-17 19:11:32.512233 [DEBUG] zap_io.c:2629 span 3 [number]=[0397551926] 2010-03-17 19:11:32.512233 [DEBUG] zap_io.c:2629 span 3 [fxo-channel]=[3] 2010-03-17 19:11:32.512233 [DEBUG] zap_io.c:2658 setting trunk type to 'FXO' start(KEWL) 2010-03-17 19:11:32.512233 [ERR] ozmod_zt.c:269 failure configuring device /dev/dahdi/channel chan 3 fd 64 (No such device or address) 2010-03-17 19:11:32.512233 [ERR] zap_io.c:1781 I/O backend does not support command 32! 2010-03-17 19:11:32.513233 [ERR] zap_io.c:1781 I/O backend does not support command 34! 2010-03-17 19:11:32.513233 [DEBUG] zap_io.c:2578 found config for span 2010-03-17 19:11:32.513233 [DEBUG] zap_io.c:2616 created span 4 (FXO2) of type zt 2010-03-17 19:11:32.513233 [DEBUG] zap_io.c:2629 span 4 [name]=[OpenZAP] 2010-03-17 19:11:32.513233 [DEBUG] zap_io.c:2629 span 4 [number]=[0397552345] 2010-03-17 19:11:32.514233 [DEBUG] zap_io.c:2629 span 4 [fxo-channel]=[4] 2010-03-17 19:11:32.514233 [DEBUG] zap_io.c:2658 setting trunk type to 'FXO' start(KEWL) 2010-03-17 19:11:32.514233 [ERR] ozmod_zt.c:269 failure configuring device /dev/dahdi/channel chan 4 fd 64 (No such device or address) 2010-03-17 19:11:32.514233 [ERR] zap_io.c:1781 I/O backend does not support command 32! 2010-03-17 19:11:32.514233 [ERR] zap_io.c:1781 I/O backend does not support command 34! 2010-03-17 19:11:32.515233 [INFO] zap_io.c:2773 Configured 0 channel(s) 2010-03-17 19:11:32.516233 [ERR] zap_io.c:3056 No modules configured! 2010-03-17 19:11:32.516233 [ERR] mod_openzap.c:3171 Error loading OpenZAP 2010-03-17 19:11:32.516233 [CRIT] switch_loadable_module.c:882 Error Loading module /opt/freeswitch/mod/mod_openzap.so **Module load routine returned an error** Is there anything else I need to change when going from zaptel to dahdi? The kernel modules seem to load ok, and /dev/dahdi/* looks good too. -- Brian May <brian@microcomaustralia.com.au>
Brian May wrote:
Is there anything else I need to change when going from zaptel to dahdi?
The kernel modules seem to load ok, and /dev/dahdi/* looks good too.
Make the appropriate changes to the configuration files in /etc/dahdi/. Take a look at the files in /proc/dahdi/. -- Russell Mosemann
On 17 March 2010 21:57, Russell Mosemann <Russell.Mosemann@cune.org> wrote:
Make the appropriate changes to the configuration files in /etc/dahdi/. Take a look at the files in /proc/dahdi/.
Is /etc/dahdi/system.conf the same as /etc/zaptel.conf? I tried copying the file, it doesn't seem to have changed anything... huey:~# cat /proc/dahdi/1 Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER) 1 WCTDM/4/0 2 WCTDM/4/1 3 WCTDM/4/2 4 WCTDM/4/3 huey:~# cat /etc/dahdi/system.conf # Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit # Zaptel Configuration File # # This file is parsed by the Zaptel Configurator, ztcfg # # It must be in the module loading order # Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER) fxoks=1 fxoks=2 fxsks=3 fxsks=4 # Global data loadzone = au defaultzone = au What process reads this file? -- Brian May <brian@microcomaustralia.com.au>
Brian May <brian@microcomaustralia.com.au> said:
Is /etc/dahdi/system.conf the same as /etc/zaptel.conf?
Just glancing through the file, it looks the same.
What process reads this file?
/etc/init.d/dahdi What is in /etc/dahdi/modules? -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
do svn update ( that will fix some of the errors but NOT the critical one). The critical one is "failure configuring device ... " and I think that one is because you did not run "dahdi_cfg" utility. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com On Thu, Mar 18, 2010 at 9:23 AM, <Russell.Mosemann@cune.org> wrote:
Brian May <brian@microcomaustralia.com.au> said:
Is /etc/dahdi/system.conf the same as /etc/zaptel.conf?
Just glancing through the file, it looks the same.
What process reads this file?
/etc/init.d/dahdi
What is in /etc/dahdi/modules?
-- Russell Mosemann
________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On 19 March 2010 01:19, Moises Silva <moises.silva@gmail.com> wrote:
do svn update ( that will fix some of the errors but NOT the critical one). The critical one is "failure configuring device ... " and I think that one is because you did not run "dahdi_cfg" utility.
Looks like the main part of the error was my fault. I hadn't realized my distribution (Voyage) was missing the user space tools for dahdi (only had the kernel modules). Now fixed. I still do get some errors when reloading mod_openzap, even with the latest subversion update of freeswitch: 2010-03-20 11:24:43.081334 [ERR] ozmod_analog.c:959 Failure Polling event! [no matching descriptor] 2010-03-20 11:24:43.081334 [DEBUG] ozmod_analog.c:976 ANALOG thread ending. 2010-03-20 11:24:43.094327 [ERR] ozmod_analog.c:959 Failure Polling event! [no matching descriptor] 2010-03-20 11:24:43.094327 [DEBUG] ozmod_analog.c:976 ANALOG thread ending. 2010-03-20 11:24:43.094327 [ERR] ozmod_analog.c:959 Failure Polling event! [no matching descriptor] 2010-03-20 11:24:43.094327 [DEBUG] ozmod_analog.c:976 ANALOG thread ending. 2010-03-20 11:24:43.532271 [ERR] ozmod_analog.c:959 Failure Polling event! [no matching descriptor] 2010-03-20 11:24:43.532271 [DEBUG] ozmod_analog.c:976 ANALOG thread ending. Not sure if this is my fault or not. Fortunately it seems to work fine regardless. -- Brian May <brian@microcomaustralia.com.au>
participants (4)
-
Brian May
-
Moises Silva
-
Russell Mosemann
-
Russell.Mosemann@cune.org