[Freeswitch-users] (no subject)
Yudhistira Muhammad Iqbal
yudhistira.muhammad.iqbal at gmail.com
Sun Apr 6 12:35:16 MSD 2014
hy my name is yudhistira
i'm trying to connecting my freeswuitch box to my analog pabx by fxo using
voip card openvox a400e
but i have some trouble when i do that
i can call out to fxo but incoming call to my freeswitch box not runing well
i hope there is somebody that can help me to fix my problem
this my configuration
----------zt.conf----------------------------------
[defaults]
codec_ms => 20
wink_ms => 150
flash_ms => 750
echo_cancel_level => 64
rxgain => 0.0
txgain => 0.0
-----------finish-----------------------------------
-----------freetdm.conf------------------------
[span zt FXS]
fxs-channel => 1
[span zt FXO]
name => freetdm
trunk_type => fxo
number => 112
fxo-channel => 2
------------finish------------------------------------
------------freetdm.conf.xml--------------------
<configuration name="freetdm.conf" description="FreeTDM Configuration">
<settings>
<param name="debug" value="0"/>
<param name="hold-music" value="$${moh_uri}"/>
</settings>
<!-- one entry here per openzap span -->
<analog_spans>
<span name="FXO">
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
<!-- Set this to the correct value for your area, to get the
correct tones on the phones connected to the FXS ports -->
<param name="tonegroup" value="us"/>
<param name="enable_callerid" value="true"/>
<param name="enable-analog-option" value="call-swap"/>
</span>
</analog_spans>
</configuration>
-----------------------finish--------------------------------------------------------------
-----------------------default.xml------------------------------------------------------
<extension name="outgoing-FXO">
<condition field="destination_number" expression="^(\d{3})$">
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge"
data="freetdm/2/1/${destination_number}"/>
<action application="hangup"/>
</condition>
</extension>
-------------------------------finish-------------------------------------------------------
------------------------------00_inbound_did.xml------------------------------------
<include>
<extension name="public_did">
<condition field="destination_number" expression="^(\d{3})$">
<action application="set" data="domain_name=$${domain}"/>
<action application="bridge"
data="freetdm/1/1/${destination_number}"/>
<action application="transfer" data="200209 XML public"/>
</condition>
</extension>
</include>
-----------------------finish--------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140406/73d805b1/attachment-0001.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list