<div dir="ltr">hy my name is yudhistira<br>i&#39;m trying to connecting my freeswuitch box to my analog pabx by fxo using voip card openvox a400e<br>but i have some trouble when i do that<br>i can call out to fxo but incoming call to my freeswitch box not runing well<br>
i hope there is somebody that can help me to fix my problem<br>this my configuration<br>----------zt.conf----------------------------------<br>[defaults]<br>codec_ms =&gt; 20<br>wink_ms =&gt; 150<br>flash_ms =&gt; 750<br>
echo_cancel_level =&gt; 64<br>rxgain =&gt; 0.0<br>txgain =&gt; 0.0<br>-----------finish-----------------------------------<br>-----------freetdm.conf------------------------<br>[span zt FXS]<br>fxs-channel =&gt; 1<br><br>
[span zt FXO]<br>name =&gt; freetdm<br>trunk_type =&gt; fxo<br>number =&gt; 112<br>fxo-channel =&gt; 2<br>------------finish------------------------------------<br>------------freetdm.conf.xml--------------------<br>&lt;configuration name=&quot;freetdm.conf&quot; description=&quot;FreeTDM Configuration&quot;&gt;<br>
&nbsp; &lt;settings&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;<br>&nbsp; &lt;/settings&gt;<br>&nbsp; &lt;!-- one entry here per openzap span --&gt;<br>
&nbsp; &lt;analog_spans&gt;<br>&nbsp;&nbsp;&nbsp; &lt;span name=&quot;FXO&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Set this to the correct value for your area, to get the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; correct tones on the phones connected to the FXS ports --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;tonegroup&quot; value=&quot;us&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;enable_callerid&quot; value=&quot;true&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;enable-analog-option&quot; value=&quot;call-swap&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/span&gt;<br>&nbsp; &lt;/analog_spans&gt;<br>&lt;/configuration&gt;<br>-----------------------finish--------------------------------------------------------------<br>
-----------------------default.xml------------------------------------------------------<br>&lt;extension name=&quot;outgoing-FXO&quot;&gt;<br>&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d{3})$&quot;&gt;<br>
&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<br>&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;freetdm/2/1/${destination_number}&quot;/&gt;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp; &lt;action application=&quot;hangup&quot;/&gt;<br>
&lt;/condition&gt;<br>&lt;/extension&gt;<br>-------------------------------finish-------------------------------------------------------<br>------------------------------00_inbound_did.xml------------------------------------<br>
&lt;include&gt;<br>&nbsp; &lt;extension name=&quot;public_did&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d{3})$&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&rdquo;set&rdquo; data=&rdquo;domain_name=$${domain}&rdquo;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;freetdm/1/1/${destination_number}&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;transfer&quot; data=&quot;200209 XML public&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
&nbsp;&nbsp; &lt;/extension&gt;<br>&lt;/include&gt;<br>-----------------------finish--------------------------------------------<br></div>