keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D110/210/410 T1/E1/J1 PRI Cards

Test openvox D210P card + freeswitch

14 years 1 month ago #4936 by Denins.Den
Hi,
I tested openvox D210P with freeswitch, and made a call from a D110P to a D210P which ran with freeswitch successful

my environment:
Giga GA-945PL-S3G
openvox D210P
CentOS 5.4
zaptel-1.4.12.1
libpri-1.4.10
freeswitch-1.0.4

1. compile zaptel
./configure
make && make install
make config

2. compile libpri
make && make install

3. modify modules.conf under the freeswitch-1.0.4/ , uncomment this line:
../../libs/openzap/mod_openzap

4. run command "./configure " under the freeswitch-1.0.4/
then run command

./configure --with-libpri
make
make mod_openzap-install

in freeswitch-1.0.4/libs/openzap

5. compile freeswitch
make
make install
make cd-sounds-install //it will cost much time
make cd-moh-install //it will cost much time

6. add one line in /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml (line 37)
<load module="mod_openzap"/>

7. use command to autogeneration the configuration file
genzaptelconf -sdvM

8. zaptel.conf

# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16

# Global data
loadzone = us
defaultzone = us

9. /usr/local/openzap/conf/openzap.conf

[span zt PRI_1]
name => OpenZAP
number => 1
trunk_type => e1
b-channel => 1-15
d-channel => 16
b-channel => 17-31

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

<configuration name="openzap.conf" description="OpenZAP Configuration">
<libpri_spans>
<span name="PRI_1">
<param name="node" value="cpe"/>
<param name="switch" value="euroisdn"/>
<param name="opts" value="none"/>
<param name="dp" value="unknown"/>
<param name="debug" value="all"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</libpri_spans>
</configuration>

10. use command " /usr/local/freeswitch/bin/freeswitch " to start the freeswitch

11. need another server which inserted a D110P to test with the freeswitch, connect the D110P with D210P, use a sip to call from D110P and send the number "9999", then you will hear music from freeswitch. The output is:

freeswitch@bogon > 2010-03-16 12:33:16.706892 [INFO] ozmod_zt.c:636 Setting echo cancel to 64 taps for 1:1
2010-03-16 12:33:16.706892 [NOTICE] ozmod_libpri.c:767 -- Ring on channel 1:1 (from 100 to 9999)
2010-03-16 12:33:16.707920 [NOTICE] switch_channel.c:602 New Channel OpenZAP/1:1/9999 [544f3422-c0c3-4491-bfad-b84b222409c8]
2010-03-16 12:33:16.708878 [INFO] mod_dialplan_xml.c:315 Processing 100->9999 in context default
2010-03-16 12:33:16.850845 [NOTICE] mod_dptools.c:649 Channel [OpenZAP/1:1/9999] has been answered
2010-03-16 12:33:18.821583 [INFO] mod_dialplan_xml.c:315 Processing 100->is_zrtp_secure in context features
2010-03-16 12:33:18.821583 [NOTICE] switch_core_session.c:1576 Execute eval(not_secure)

12. reference:
http://wiki.freeswitch.org/wiki/Quick_and_Dirty_Install
http://wiki.freeswitch.org/wiki/Installation_Guide
http://wiki.freeswitch.org/wiki/OpenZAP
Time to create page: 0.038 seconds
Powered by Kunena Forum