SANGOMA

wanpipe-freeswitch-config

To configure your system, you will need the following 3 steps:

  1. Configure Wanpipe and mod_openzap
  2. Configure FreeSwitch / mod_openzap
  3. Configure FreeSwitch and Sangoma PRI Daemon
  4. Some Dialplan examples
  5. To start freeswitch

 


Configure Wanpipe and mod_openzap

The wancfg_fs utility will configure the card (wanpipe#.conf,smg_prid.conf/smg_brid.conf), openzap(openzap.conf) and FreeSwitch (openzap.conf.xml)

#> /usr/sbin/wancfg_fs


Configure FreeSwitch

 To make use of OpenZap in FreeSwitch we need to enable it in modules.conf.xml located at <FreeSwitchome>/conf/autoload_configs/.

Soedit the file conf/autoload_configs/modules.conf.xml and change the line:

    <!-- <load module="mod_openzap"/> -->

to look like this:

    <load module="mod_openzap"/>


To start freeswitch

/usr/local/freeswitch/bin/freeswitch -nc

run : ps fax to see if freeswitch is up.

Wait 1 minute then see if the cli is there:

 /usr/local/freeswitch/bin/fs_cli


Some Dialplan Examples

Dial string is "openzap/<span_name>/a/<destination_number>@<group_number>"
For example: Following Dialplan calls Sangoma's Toll Free Number when 333 is dialed from SIP phone.

<extension name="outgoing">
        <condition field="destination_number" expression="^(333)$">
            <action application="bridge" data="openzap/smg_prid/a/1800388247@g1"/>
        </condition>
 </extension>

Note: Group Number can be found inside /etc/wanpipe/smg_pri.conf for PRI or /etc/wanpipe/smg_bri.conf for BRI


Page created and maintained by Halo Kwadrat Sp. z o.o. Open Source Telephony

 

Comments

From buklov - 3/18/09 4:12 AM

what about software echo canceler?

 

Site

Changes
Index
Search

 

User

 

Log In
Register

 
 

Last Modified 10/5/09 12:49 PM