[Freeswitch-users] Installing OpenZap?
GillesToo
codecomplete at free.fr
Fri May 28 09:19:23 PDT 2010
Thanks, things look much better:
==========
# vi /etc/udev/rules.d/dahdi.rules
# /etc/init.d/dahdi restart
# ll /dev/dahdi
==========
freeswitch at internal> load mod_openzap
+OK
2010-05-28 18:15:18.865942 [DEBUG] zap_config.c:56 Configuration file is
/usr/local/freeswitch/conf/modules.conf.
freeswitch at internal> 2010-05-28 18:15:18.866962 [NOTICE] zap_io.c:3057
Modules configured: 1
2010-05-28 18:15:18.866962 [DEBUG] zap_config.c:56 Configuration file is
/usr/local/freeswitch/conf/openzap.conf.
2010-05-28 18:15:18.866962 [DEBUG] zap_io.c:2587 found config for span
2010-05-28 18:15:18.866962 [NOTICE] ozmod_zt.c:1185 Using DAHDI control
device
2010-05-28 18:15:18.866962 [INFO] zap_io.c:2858 Loading IO from
/usr/local/freeswitch/mod/ozmod_zt.so [zt]
2010-05-28 18:15:18.866962 [DEBUG] zap_config.c:56 Configuration file is
/usr/local/freeswitch/conf/zt.conf.
2010-05-28 18:15:18.866962 [INFO] ozmod_zt.c:566 Setting rxgain val to
0.000000
2010-05-28 18:15:18.866962 [INFO] ozmod_zt.c:575 Setting txgain val to
0.000000
2010-05-28 18:15:18.868055 [INFO] zap_io.c:2604 auto-loaded 'zt'
2010-05-28 18:15:18.868055 [DEBUG] zap_io.c:2625 created span 1 (FXO) of
type zt
2010-05-28 18:15:18.868055 [DEBUG] zap_io.c:2638 span 1 [name]=[OpenZAP]
2010-05-28 18:15:18.868055 [DEBUG] zap_io.c:2638 span 1 [fxo-channel]=[1]
2010-05-28 18:15:18.868055 [DEBUG] zap_io.c:2667 setting trunk type to 'FXO'
start(KEWL)
2010-05-28 18:15:18.868055 [INFO] ozmod_zt.c:385 configuring device
/dev/dahdi/channel channel 1 as OpenZAP device 1:1 fd:51
2010-05-28 18:15:18.868055 [INFO] zap_io.c:2782 Configured 1 channel(s)
2010-05-28 18:15:18.869077 [INFO] zap_io.c:2875 Loading SIG from
/usr/local/freeswitch/mod/ozmod_analog.so
2010-05-28 18:15:18.869077 [INFO] zap_io.c:2991 auto-loaded 'analog'
2010-05-28 18:15:18.869077 [DEBUG] zap_config.c:56 Configuration file is
/usr/local/freeswitch/conf/tones.conf.
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation [dial]
= [v=-7;%(1000,0,350,440)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [dial] =
[350,440]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation [ring]
= [v=-7;%(2000,4000,440,480)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [ring] =
[440,480]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation [busy]
= [v=-7;%(500,500,480,620)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [busy] =
[480,620]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation [attn]
= [v=0;%(100,100,1400,2060,2450,2600)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [attn] =
[1400,2060,2450,2600]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation
[callwaiting-sas] = [v=0;%(300,0,440)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect
[callwaiting-sas] = [440]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:551 added tone generation
[callwaiting-cas] = [v=0;%(80,0,2750,2130)]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect
[callwaiting-cas] = [2750,2130]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [fail1] =
[913.8]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [fail2] =
[1370.6]
2010-05-28 18:15:18.869077 [DEBUG] zap_io.c:549 added tone detect [fail3] =
[1776.7]
2010-05-28 18:15:18.870091 [ERR] mod_openzap.c:2410 Error finding OpenZAP
span id: name:PRI_1
2010-05-28 18:15:18.870091 [ERR] mod_openzap.c:2410 Error finding OpenZAP
span id: name:PRI_2
2010-05-28 18:15:18.870091 [DEBUG] ozmod_analog.c:946 ANALOG thread
starting.
2010-05-28 18:15:18.870091 [CONSOLE] switch_loadable_module.c:900
Successfully Loaded [mod_openzap]
2010-05-28 18:15:18.870091 [NOTICE] switch_loadable_module.c:144 Adding
Endpoint 'openzap'
2010-05-28 18:15:18.870091 [NOTICE] switch_loadable_module.c:250 Adding
Application 'disable_ec'
2010-05-28 18:15:18.870091 [NOTICE] switch_loadable_module.c:250 Adding
Application 'disable_dtmf'
2010-05-28 18:15:18.870091 [NOTICE] switch_loadable_module.c:250 Adding
Application 'enable_dtmf'
2010-05-28 18:15:18.870091 [NOTICE] switch_loadable_module.c:272 Adding API
Function 'oz'
==========
Since I don't have a digital interface, I guess I can remove the PRI_1 and
PRI_2 spans from
conf/autoload_configs/openzap.conf.xml to avoid the two ERR above.
On to configuring Freeswitch to handle incoming calls from the FXO port...
Thanks everyone.
--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Installing-OpenZap-tp5111050p5113780.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
More information about the FreeSWITCH-users
mailing list