[Freeswitch-users] Installing OpenZap?

GillesToo codecomplete at free.fr
Fri May 28 04:41:03 PDT 2010

Troy Anderson-2 wrote:
> oz list will only work if openzap is loaded, so that's a clue that it
> isn't for some reason. Try issuing reload mod_openzap from the cli and
> take a look at the output.  There is likely an error on load, and that
> error may lead you to what's wrong with the config.

Thanks for the tip. Here's what "reload mod_openzap" returns:

> freeswitch at internal> load mod_openzap
> -ERR [module load file routine returned an error]
> freeswitch at internal> 2010-05-28 12:13:51.138275 [DEBUG] zap_config.c:56
> Configuration file is /usr/local/freeswitch/conf/modules.conf.
> 2010-05-28 12:13:51.138275 [NOTICE] zap_io.c:3057 Modules configured: 1 
> 2010-05-28 12:13:51.139297 [DEBUG] zap_config.c:56 Configuration file is
> /usr/local/freeswitch/conf/openzap.conf.
> 2010-05-28 12:13:51.139297 [DEBUG] zap_io.c:2587 found config for span
> 2010-05-28 12:13:51.139297 [NOTICE] ozmod_zt.c:1185 Using DAHDI control
> device
> 2010-05-28 12:13:51.139297 [ERR] ozmod_zt.c:1194 Cannot open control
> device /dev/dahdi/ctl: Permission denied
> 2010-05-28 12:13:51.140310 [ERR] zap_io.c:2856 Error loading
> /usr/local/freeswitch/mod/ozmod_zt.so
> 2010-05-28 12:13:51.140310 [ERR] zap_io.c:2901 Unloading
> /usr/local/freeswitch/mod/ozmod_zt.so
> 2010-05-28 12:13:51.140310 [CRIT] zap_io.c:2610 failure creating span, no
> such type 'zt'
> 2010-05-28 12:13:51.140310 [INFO] zap_io.c:2782 Configured 0 channel(s)
> 2010-05-28 12:13:51.140310 [ERR] zap_io.c:3065 No modules configured!
> 2010-05-28 12:13:51.140310 [ERR] mod_openzap.c:3331 Error loading OpenZAP
> 2010-05-28 12:13:51.140310 [CRIT] switch_loadable_module.c:882 Error
> Loading module /usr/local/freeswitch/mod/mod_openzap.so
> **Module load routine returned an error**

BTW, before I investigate further... I notice that the two articles in the
wiki about OpenZap are based on Zaptel (1.4), whose development stopped two
years ago when Zaptel was replaces with Dadhi:


Has someone successfully used OpenZap with Dahdi, and if yes, are there any
changes that should be made in OpenZap to accomodate this change?

Thank you.
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Installing-OpenZap-tp5111050p5112708.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

More information about the FreeSWITCH-users mailing list