Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Error in OpenZap


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
yudha2008 at gmail.com
Guest





PostPosted: Tue Jun 30, 2009 4:28 am    Post subject: [Freeswitch-users] Error in OpenZap Reply with quote

Hi,

I have installed the latest trunk with A102D Sangoma card when i load the openzap  i get this error  

freeswitch@localhost.localdomain> load mod_openzap
2009-06-30 14:47:33 [NOTICE] zap_io.c:2626 zap_global_init() Modules configured: 1 2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'name' / 'OpenZAP' 2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'number' / '1'API CALL [load(mod_openzap)] output: -ERR [module load file routine returned an error]2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'trunk_type' / 'E1' 2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '1:1-15'2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'd-channel' / '1:16' 2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '1:17-31'2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'name' / 'OpenZAP' 2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'number' / '2'2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'trunk_type' / 'E1' 2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '2:1-15'freeswitch@localhost.localdomain> 2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'd-channel' / '2:16' 2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '2:17-31'2009-06-30 14:47:33 [INFO] zap_io.c:2370 load_config() Configured 0 channel(s) 2009-06-30 14:47:33 [ERR] zap_io.c:2633 zap_global_init() No modules configured!2009-06-30 14:47:33 [ERR] mod_openzap.c:2401 mod_openzap_load() Error loading OpenZAP 2009-06-30 14:47:33 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_openzap.so **Module load routine returned an error**How can i resolve the above problem.  how can i load the openzap

My Configuration files


default.xml

   <extension name="Long Distance - wanpipe">                           <condition field="destination_number" expression="^9(\d{5,15})$">                        <action application="set" data="dialed_ext=$1"/>                             <action application="bridge" data="OpenZAP/1/a/${dialed_ext}"/>                           </condition>                       </extension>        
/etc/wanpipe/wanpipe1.conf

[devices] wanpipe1 = WAN_AFT_TE1, Comment[interfaces] w1g1 = wanpipe1, , TDM_VOICE_API, Comment[wanpipe1] CARD_TYPE       = AFTS514CPU         = ACommPort        = PRI AUTO_PCISLOT    = NOPCISLOT         = 0PCIBUS          = 2 FE_MEDIA        = E1FE_LCODE        = HDB3FE_FRAME        = CRC4 FE_LINE         = 1TE_CLOCK        = NORMALTE_REF_CLOCK    = 0 TE_HIGHIMPEDANCE        = NOTE_RX_SLEVEL    = 120LBO             = 120OH TE_SIG_MODE     = CCSFE_TXTRISTATE   = NOMTU             = 1500 UDPPORT         = 9000TTL             = 255IGNORE_FRONT_END = NO TDMV_SPAN       = 1TDMV_DCHAN      = 16TDMV_HW_DTMF    = NO [w1g1]ACTIVE_CH       = ALL TDMV_ECHO_OFF   = NOTDMV_HWEC       = NO


/usr/local/freeswitch/conf/autoload_configs/openzap.conf.xml

<configuration name="openzap.conf" description="OpenZAP Configuration">  <settings>     <param name="debug" value="0"/>  </settings>   <pri_spans>    <span id="1">      <param name="mode" value="user"/>       <param name="dialect" value="euro"/>      <param name="dialplan" value="XML"/>       <param name="context" value="default"/>    </span>   </pri_spans></configuration>

/usr/local/freeswitch/libs/openzap/conf/openzap.conf

[span wanpipe1]
number => 1
trunk_type => e1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31

How can i resolve the above problem.  how can i load the openzap. can some one assist me to resolve this process. --
Thanks with Regards,
N.Baskar

Back to top
raul at etellicom.com
Guest





PostPosted: Tue Jun 30, 2009 4:39 am    Post subject: [Freeswitch-users] Error in OpenZap Reply with quote

Replace [span wanpipe1] with [span wanpipe 1] in your openzap.conf file
- it's missing a space between wanpipe (the span type) and 1 (the span
ID).

Regards,

Raul

On Tue, 2009-06-30 at 14:57 +0530, Baskar wrote:
Quote:
Hi,

I have installed the latest trunk with A102D Sangoma card when i load
the openzap i get this error

freeswitch@localhost.localdomain> load mod_openzap
2009-06-30 14:47:33 [NOTICE] zap_io.c:2626 zap_global_init() Modules
configured: 1
2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'name' / 'OpenZAP'
2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'number' / '1'
API CALL [load(mod_openzap)] output:
-ERR [module load file routine returned an error]

2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'trunk_type' / 'E1'
2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'b-channel' / '1:1-15'
2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'd-channel' / '1:16'
2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'b-channel' / '1:17-31'
2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'name' / 'OpenZAP'
2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'number' / '2'
2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'trunk_type' / 'E1'
2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'b-channel' / '2:1-15'
freeswitch@localhost.localdomain> 2009-06-30 14:47:33 [ERR]
zap_io.c:2365 load_config() unknown param [] 'd-channel' / '2:16'
2009-06-30 14:47:33 [ERR] zap_io.c:2365 load_config() unknown param []
'b-channel' / '2:17-31'
2009-06-30 14:47:33 [INFO] zap_io.c:2370 load_config() Configured 0
channel(s)
2009-06-30 14:47:33 [ERR] zap_io.c:2633 zap_global_init() No modules
configured!
2009-06-30 14:47:33 [ERR] mod_openzap.c:2401 mod_openzap_load() Error
loading OpenZAP
2009-06-30 14:47:33 [CRIT] switch_loadable_module.c:871
switch_loadable_module_load_file() Error Loading
module /usr/local/freeswitch/mod/mod_openzap.so
**Module load routine returned an error**

How can i resolve the above problem. how can i load the openzap

My Configuration files


default.xml

<extension name="Long Distance - wanpipe">
<condition field="destination_number"
expression="^9(\d{5,15})$">
<action application="set" data="dialed_ext=
$1"/>
<action application="bridge"
data="OpenZAP/1/a/${dialed_ext}"/>
</condition>
</extension>

/etc/wanpipe/wanpipe1.conf

[devices]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE_API, Comment

[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 0
PCIBUS = 2
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = CRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK = 0
TE_HIGHIMPEDANCE = NO
TE_RX_SLEVEL = 120
LBO = 120OH
TE_SIG_MODE = CCS
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 16
TDMV_HW_DTMF = NO

[w1g1]
ACTIVE_CH = ALL
TDMV_ECHO_OFF = NO
TDMV_HWEC = NO


/usr/local/freeswitch/conf/autoload_configs/openzap.conf.xml

<configuration name="openzap.conf" description="OpenZAP
Configuration">
<settings>
<param name="debug" value="0"/>
</settings>
<pri_spans>
<span id="1">
<param name="mode" value="user"/>
<param name="dialect" value="euro"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</pri_spans>
</configuration>

/usr/local/freeswitch/libs/openzap/conf/openzap.conf

[span wanpipe1]
number => 1
trunk_type => e1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31

How can i resolve the above problem. how can i load the openzap. can
some one assist me to resolve this process.

--
Thanks with Regards,
N.Baskar

_______________________________________________
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


_______________________________________________
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
Back to top
yudha2008 at gmail.com
Guest





PostPosted: Wed Jul 01, 2009 1:34 am    Post subject: [Freeswitch-users] Error in OpenZap Reply with quote

Hi,

i have changed the openzap.conf file but still i get the same error

[span wanpipe 1]
number => 1
trunk_type => e1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31


freeswitch@localhost.localdomain> load mod_libpriAPI CALL [load(mod_libpri)] output: -ERR [module load file routine returned an error]2009-07-01 11:27:51 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_libpri.so **/usr/local/freeswitch/mod/mod_libpri.so: cannot open shared object file: No such file or directory**freeswitch@localhost.localdomain> load mod_openzap 2009-07-01 11:28:04 [NOTICE] zap_io.c:2626 zap_global_init() Modules configured: 1 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'name' / 'OpenZAP' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'number' / '1'API CALL [load(mod_openzap)] output: -ERR [module load file routine returned an error]2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'trunk_type' / 'E1' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '1:1-15'2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'd-channel' / '1:16' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '1:17-31'2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'name' / 'OpenZAP' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'number' / '2'2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'trunk_type' / 'E1' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '2:1-15'2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'd-channel' / '2:16' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '2:17-31'2009-07-01 11:28:04 [INFO] zap_io.c:2370 load_config() Configured 0 channel(s) 2009-07-01 11:28:04 [ERR] zap_io.c:2633 zap_global_init() No modules configured!2009-07-01 11:28:04 [ERR] mod_openzap.c:2401 mod_openzap_load() Error loading OpenZAP 2009-07-01 11:28:04 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_openzap.so **Module load routine returned an error**


--
Thanks with Regards,
N.Baskar
Back to top
msc at freeswitch.org
Guest





PostPosted: Wed Jul 01, 2009 2:23 am    Post subject: [Freeswitch-users] Error in OpenZap Reply with quote

Look more closely at the output. It looks like mod_libpri.so didn't get installed properly. I think this is a bug in the ozmod_libpri build. For now just locate that missing .so file in your oz build environment and copy it to the freeswitch/mod directory and try again.


-MC

Sent from my iPhone

On Jun 30, 2009, at 11:29 PM, Baskar <yudha2008@gmail.com (yudha2008@gmail.com)> wrote:



Quote:
Hi,

i have changed the openzap.conf file but still i get the same error

[span wanpipe 1]
number => 1
trunk_type => e1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31


freeswitch@localhost.localdomain (freeswitch@localhost.localdomain)> load mod_libpriAPI CALL [load(mod_libpri)] output: -ERR [module load file routine returned an error]2009-07-01 11:27:51 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_libpri.so **/usr/local/freeswitch/mod/mod_libpri.so: cannot open shared object file: No such file or directory**freeswitch@localhost.localdomain (freeswitch@localhost.localdomain)> load mod_openzap 2009-07-01 11:28:04 [NOTICE] zap_io.c:2626 zap_global_init() Modules configured: 1 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'name' / 'OpenZAP' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'number' / '1'API CALL [load(mod_openzap)] output: -ERR [module load file routine returned an error]2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'trunk_type' / 'E1' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '1:1-15'2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'd-channel' / '1:16' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '1:17-31'2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'name' / 'OpenZAP' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'number' / '2'2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'trunk_type' / 'E1' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '2:1-15'2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'd-channel' / '2:16' 2009-07-01 11:28:04 [ERR] zap_io.c:2365 load_config() unknown param [] 'b-channel' / '2:17-31'2009-07-01 11:28:04 [INFO] zap_io.c:2370 load_config() Configured 0 channel(s) 2009-07-01 11:28:04 [ERR] zap_io.c:2633 zap_global_init() No modules configured!2009-07-01 11:28:04 [ERR] mod_openzap.c:2401 mod_openzap_load() Error loading OpenZAP 2009-07-01 11:28:04 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_openzap.so **Module load routine returned an error**


--
Thanks with Regards,
N.Baskar



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services