[Freeswitch-users] dahdi problems

Brian May brian at microcomaustralia.com.au
Wed Mar 17 01:17:18 PDT 2010


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 at microcomaustralia.com.au>




More information about the FreeSWITCH-users mailing list