<div dir="ltr">It looks like you're accepting an incoming call on 2:1 then trying to bridge out on 2:1, which fails because it can'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"><<a href="mailto:yudhistira.muhammad.iqbal@gmail.com" target="_blank">yudhistira.muhammad.iqbal@gmail.com</a>></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'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 => 20<br>wink_ms => 150<br>flash_ms => 750<br>
echo_cancel_level => 64<br>rxgain => 0.0<br>txgain => 0.0<br>-----------finish-----------------------------------<br>-----------freetdm.conf------------------------<br>[span zt FXS]<br>fxs-channel => 1<br><br>
[span zt FXO]<br>name => freetdm<br>trunk_type => fxo<br>number => 112<br>fxo-channel => 2<br>------------finish------------------------------------<br>------------freetdm.conf.xml--------------------<br><configuration name="freetdm.conf" description="FreeTDM Configuration"><br>
<settings><br> <param name="debug" value="0"/><br> <param name="hold-music" value="$${moh_uri}"/><br> </settings><br> <!-- one entry here per openzap span --><br>
<analog_spans><br> <span name="FXO"><br> <param name="dialplan" value="XML"/><br> <param name="context" value="default"/><br> <!-- Set this to the correct value for your area, to get the<br>
correct tones on the phones connected to the FXS ports --><br> <param name="tonegroup" value="us"/><br> <param name="enable_callerid" value="true"/><br>
<param name="enable-analog-option" value="call-swap"/><br> </span><br> </analog_spans><br></configuration><br>-----------------------finish--------------------------------------------------------------<br>
-----------------------default.xml------------------------------------------------------<br><extension name="outgoing-FXO"><br> <condition field="destination_number" expression="^(\d{3})$"><br>
<action application="set" data="hangup_after_bridge=true"/><br> <action application="bridge" data="freetdm/2/1/${destination_number}"/> <br> <action application="hangup"/><br>
< /condition><br></extension><br>-------------------------------finish-------------------------------------------------------<br>------------------------------00_inbound_did.xml------------------------------------<br>
< include><br> <extension name="public_did"><br> <condition field="destination_number" expression="^(\d{3})$"><br> <action application=”set” data=”domain_name=$${domain}”/><br>
<action application="bridge" data="freetdm/1/1/${destination_number}"/><br> <action application="transfer" data="200209 XML public"/><br> </condition><br>
</extension><br></include><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 <200209>->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 <113>->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 <unknown>->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>