<div dir="ltr">It looks like you&#39;re accepting an incoming call on 2:1 then trying to bridge out on 2:1, which fails because it can&#39;t make an outgoing call leg because it is already busy with the incoming one</div><div class="gmail_extra">

<br><br><div class="gmail_quote">On 7 April 2014 01:07, Yudhistira Muhammad Iqbal <span dir="ltr">&lt;<a href="mailto:yudhistira.muhammad.iqbal@gmail.com" target="_blank">yudhistira.muhammad.iqbal@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">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><br>and now this is what i get from my fs_client <br> ----------------------outgoing--------------------------------------- <br>


 2014-03-25 15:37:15.594296 [NOTICE] switch_channel.c:1052 New Channel sofia/internal/<a href="mailto:200209@10.96.7.222" target="_blank">200209@10.96.7.222</a>[67e8647a-2804-49e5-a9e4-b4b464f46688] <br> 2014-03-25 15:37:15.754297 [INFO] mod_dialplan_xml.c:558 Processing 200209 &lt;200209&gt;-&gt;113 in context default <br>


 2014-03-25 15:37:15.754297 [INFO] ftmod_zt.c:671 Setting echo cancel to 64 taps for 2:1 <br> 2014-03-25 15:37:15.754297 [NOTICE] switch_channel.c:1052 New Channel FreeTDM/2:1/113 [e5a87387-c85e-45c5-a5ac-80a733500fc1] <br>


 2014-03-25 15:37:15.754297 [INFO] ftmod_zt.c:671 Setting echo cancel to 64 taps for 2:1 <br> 2014-03-25 15:37:20.714296 [NOTICE] mod_freetdm.c:2289 Channel [FreeTDM/2:1/113] has been answered <br> 2014-03-25 15:37:20.734310 [NOTICE] sofia_glue.c:4354 Pre-Answer sofia/internal/<a href="mailto:200209@10.96.7.222" target="_blank">200209@10.96.7.222</a>! <br>


 2014-03-25 15:37:20.734310 [NOTICE] switch_ivr_originate.c:3456 Channel [sofia/internal/<a href="mailto:200209@10.96.7.222" target="_blank">200209@10.96.7.222</a>] has been answered <br> 2014-03-25 15:37:26.314296 [NOTICE] sofia.c:737 Hangup sofia/internal/<a href="mailto:200209@10.96.7.222" target="_blank">200209@10.96.7.222</a>[CS_EXECUTE] [NORMAL_CLEARING] <br>


 2014-03-25 15:37:26.314296 [NOTICE] switch_ivr_bridge.c:721 Hangup FreeTDM/2:1/113 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] <br> 2014-03-25 15:37:26.314296 [NOTICE] switch_core_session.c:1577 Session 15 (sofia/internal/<a href="mailto:200209@10.96.7.222" target="_blank">200209@10.96.7.222</a>) Ended <br>


 2014-03-25 15:37:26.314296 [NOTICE] switch_core_session.c:1581 Close Channel sofia/internal/<a href="mailto:200209@10.96.7.222" target="_blank">200209@10.96.7.222</a>[CS_DESTROY] <br> 2014-03-25 15:37:26.314296 [NOTICE] switch_core_session.c:1577 Session 16 (FreeTDM/2:1/113) Ended <br>


 2014-03-25 15:37:26.314296 [NOTICE] switch_core_session.c:1581 Close Channel FreeTDM/2:1/113 [CS_DESTROY] <br><br> ---------------------------incomingcall------------------------------------------------- <br> 2014-03-25 15:41:56.394304 [INFO] ftmod_zt.c:671 Setting echo cancel to 64 taps for 2:1 <br>


 2014-03-25 15:41:57.754296 [NOTICE] switch_channel.c:1052 New Channel FreeTDM/2:1/112 [afb38c61-724a-46ca-9499-4e7800a67c48] <br> 2014-03-25 15:41:57.754296 [INFO] mod_dialplan_xml.c:558 Processing unknown &lt;113&gt;-&gt;112 in context default <br>


 2014-03-25 15:41:57.754296 [ERR] ftdm_io.c:2034 Failed to open channel 2:1 <br> 2014-03-25 15:41:57.754296 [NOTICE] mod_freetdm.c:1772 Close Channel N/A [CS_NEW] <br> 2014-03-25 15:41:57.754296 [NOTICE] switch_ivr_originate.c:2670 Cannot create outgoing channel of type [freetdm] cause: [NORMAL_CIRCUIT_CONGESTION] <br>


 2014-03-25 15:41:57.754296 [INFO] mod_dptools.c:3201 Originate Failed.  Cause: NORMAL_CIRCUIT_CONGESTION <br> 2014-03-25 15:41:57.754296 [NOTICE] switch_channel.c:4644 Hangup FreeTDM/2:1/112 [CS_EXECUTE] [NORMAL_CIRCUIT_CONGESTION] <br>


 2014-03-25 15:41:57.774296 [NOTICE] switch_core_session.c:1577 Session 17 (FreeTDM/2:1/112) Ended <br> 2014-03-25 15:41:57.774296 [NOTICE] switch_core_session.c:1581 Close Channel FreeTDM/2:1/112 [CS_DESTROY] <br> 2014-03-25 15:42:00.394296 [INFO] ftmod_zt.c:671 Setting echo cancel to 64 taps for 2:1 <br>


 2014-03-25 15:42:05.414296 [NOTICE] switch_channel.c:1052 New Channel FreeTDM/2:1/112 [00a490e7-c2cd-493b-9eed-060f4a4b0695] <br> 2014-03-25 15:42:05.414296 [INFO] mod_dialplan_xml.c:558 Processing unknown &lt;unknown&gt;-&gt;112 in context default <br>


 2014-03-25 15:42:05.414296 [ERR] ftdm_io.c:2034 Failed to open channel 2:1 <br> 2014-03-25 15:42:05.414296 [NOTICE] mod_freetdm.c:1772 Close Channel N/A [CS_NEW] <br> 2014-03-25 15:42:05.414296 [NOTICE] switch_ivr_originate.c:2670 Cannot create outgoing channel of type [freetdm] cause: [NORMAL_CIRCUIT_CONGESTION] <br>


 2014-03-25 15:42:05.414296 [INFO] mod_dptools.c:3201 Originate Failed.  Cause: NORMAL_CIRCUIT_CONGESTION <br> 2014-03-25 15:42:05.414296 [NOTICE] switch_channel.c:4644 Hangup FreeTDM/2:1/112 [CS_EXECUTE] [NORMAL_CIRCUIT_CONGESTION] <br>


 2014-03-25 15:42:05.434296 [NOTICE] switch_core_session.c:1577 Session 19 (FreeTDM/2:1/112) Ended <br> 2014-03-25 15:42:05.434296 [NOTICE] switch_core_session.c:1581 Close Channel FreeTDM/2:1/112 [CS_DESTROY] <br><br><br>


<br> Thank you so much for your help and attention for me <br> this is my e-mail: <br><a href="mailto:yudhistira.muhammad.iqbal@gmail.com" target="_blank"><font color="#0066cc">yudhistira.muhammad.iqbal@gmail.com</font></a> <br>

<a href="mailto:q.bal.federer@gmail.com" target="_blank"><font color="#0066cc">q.bal.federer@gmail.com</font></a> <br>
<a href="mailto:q_bal_federer@yahoo.co.id" target="_blank"><font color="#0066cc">q_bal_federer@yahoo.co.id</font></a> <br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>