[Freeswitch-users] Error in OpenZap

Raul Fragoso raul at etellicom.com
Tue Jun 30 02:37:41 PDT 2009


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:
> Hi,
> 
> I have installed the latest trunk with A102D Sangoma card when i load
> the openzap  i get this error  
> 
> freeswitch at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list