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 On 7 April 2014 01:07, Yudhistira Muhammad Iqbal < yudhistira.muhammad.iqbal@gmail.com> wrote:
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--------------------------------------------
and now this is what i get from my fs_client ----------------------outgoing--------------------------------------- 2014-03-25 15:37:15.594296 [NOTICE] switch_channel.c:1052 New Channel sofia/internal/200209@10.96.7.222[67e8647a-2804-49e5-a9e4-b4b464f46688] 2014-03-25 15:37:15.754297 [INFO] mod_dialplan_xml.c:558 Processing 200209 <200209>->113 in context default 2014-03-25 15:37:15.754297 [INFO] ftmod_zt.c:671 Setting echo cancel to 64 taps for 2:1 2014-03-25 15:37:15.754297 [NOTICE] switch_channel.c:1052 New Channel FreeTDM/2:1/113 [e5a87387-c85e-45c5-a5ac-80a733500fc1] 2014-03-25 15:37:15.754297 [INFO] ftmod_zt.c:671 Setting echo cancel to 64 taps for 2:1 2014-03-25 15:37:20.714296 [NOTICE] mod_freetdm.c:2289 Channel [FreeTDM/2:1/113] has been answered 2014-03-25 15:37:20.734310 [NOTICE] sofia_glue.c:4354 Pre-Answer sofia/internal/200209@10.96.7.222! 2014-03-25 15:37:20.734310 [NOTICE] switch_ivr_originate.c:3456 Channel [sofia/internal/200209@10.96.7.222] has been answered 2014-03-25 15:37:26.314296 [NOTICE] sofia.c:737 Hangup sofia/internal/ 200209@10.96.7.222[CS_EXECUTE] [NORMAL_CLEARING] 2014-03-25 15:37:26.314296 [NOTICE] switch_ivr_bridge.c:721 Hangup FreeTDM/2:1/113 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2014-03-25 15:37:26.314296 [NOTICE] switch_core_session.c:1577 Session 15 (sofia/internal/200209@10.96.7.222) Ended 2014-03-25 15:37:26.314296 [NOTICE] switch_core_session.c:1581 Close Channel sofia/internal/200209@10.96.7.222[CS_DESTROY] 2014-03-25 15:37:26.314296 [NOTICE] switch_core_session.c:1577 Session 16 (FreeTDM/2:1/113) Ended 2014-03-25 15:37:26.314296 [NOTICE] switch_core_session.c:1581 Close Channel FreeTDM/2:1/113 [CS_DESTROY]
---------------------------incomingcall-------------------------------------------------
2014-03-25 15:41:56.394304 [INFO] ftmod_zt.c:671 Setting echo cancel to 64 taps for 2:1 2014-03-25 15:41:57.754296 [NOTICE] switch_channel.c:1052 New Channel FreeTDM/2:1/112 [afb38c61-724a-46ca-9499-4e7800a67c48] 2014-03-25 15:41:57.754296 [INFO] mod_dialplan_xml.c:558 Processing unknown <113>->112 in context default 2014-03-25 15:41:57.754296 [ERR] ftdm_io.c:2034 Failed to open channel 2:1 2014-03-25 15:41:57.754296 [NOTICE] mod_freetdm.c:1772 Close Channel N/A [CS_NEW] 2014-03-25 15:41:57.754296 [NOTICE] switch_ivr_originate.c:2670 Cannot create outgoing channel of type [freetdm] cause: [NORMAL_CIRCUIT_CONGESTION] 2014-03-25 15:41:57.754296 [INFO] mod_dptools.c:3201 Originate Failed. Cause: NORMAL_CIRCUIT_CONGESTION 2014-03-25 15:41:57.754296 [NOTICE] switch_channel.c:4644 Hangup FreeTDM/2:1/112 [CS_EXECUTE] [NORMAL_CIRCUIT_CONGESTION] 2014-03-25 15:41:57.774296 [NOTICE] switch_core_session.c:1577 Session 17 (FreeTDM/2:1/112) Ended 2014-03-25 15:41:57.774296 [NOTICE] switch_core_session.c:1581 Close Channel FreeTDM/2:1/112 [CS_DESTROY] 2014-03-25 15:42:00.394296 [INFO] ftmod_zt.c:671 Setting echo cancel to 64 taps for 2:1 2014-03-25 15:42:05.414296 [NOTICE] switch_channel.c:1052 New Channel FreeTDM/2:1/112 [00a490e7-c2cd-493b-9eed-060f4a4b0695] 2014-03-25 15:42:05.414296 [INFO] mod_dialplan_xml.c:558 Processing unknown <unknown>->112 in context default 2014-03-25 15:42:05.414296 [ERR] ftdm_io.c:2034 Failed to open channel 2:1 2014-03-25 15:42:05.414296 [NOTICE] mod_freetdm.c:1772 Close Channel N/A [CS_NEW] 2014-03-25 15:42:05.414296 [NOTICE] switch_ivr_originate.c:2670 Cannot create outgoing channel of type [freetdm] cause: [NORMAL_CIRCUIT_CONGESTION] 2014-03-25 15:42:05.414296 [INFO] mod_dptools.c:3201 Originate Failed. Cause: NORMAL_CIRCUIT_CONGESTION 2014-03-25 15:42:05.414296 [NOTICE] switch_channel.c:4644 Hangup FreeTDM/2:1/112 [CS_EXECUTE] [NORMAL_CIRCUIT_CONGESTION] 2014-03-25 15:42:05.434296 [NOTICE] switch_core_session.c:1577 Session 19 (FreeTDM/2:1/112) Ended 2014-03-25 15:42:05.434296 [NOTICE] switch_core_session.c:1581 Close Channel FreeTDM/2:1/112 [CS_DESTROY]
Thank you so much for your help and attention for me this is my e-mail: yudhistira.muhammad.iqbal@gmail.com q.bal.federer@gmail.com q_bal_federer@yahoo.co.id
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org