Bridge incoming call to external number
Hi Setup Windows 7 Freeswitch GXW4104 FXO 2 x POTS lines I have setup Freeswitch to bridge an incoming call to an external mobile phone using a GXW4104 FXO device. The bridge works great but I am having a real headache with the connection not being disconnected when the users hang up. There is no disconnection issue when a call comes in on either line and is connected to an internal extension (like ext 1001). It is when one line is bride to the second that the issue occurs. <extension name="pots_0155555555"> <condition field="destination_number" expression="^(0155555555)$"> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="bridge" data="sofia/internal/0766666666@192.168.1.160:5060 <action application="answer"/> <action application="sleep" data="1000"/> <action application="voicemail" data="default ${domain} 1001"/> </condition> </extension> 1. Would this be a limitation of the GXW4104 2. Is it possible to write a "lua" script that could manage the disconnect some how? 3. If I enable "Polarity Reversal" under "FXO Termination" then the disconnect works but I have issues with sound and the system not registering when someone picks up. Please help me fix/diagnose this problem. Thanks O
This is not a FreeSWITCH issue. A lot of FXO terminal adaptors do not detect CPC right. In some cases they don't even do it on outgoing calls. Make sure your device is set to detect CPC (Calling Party Control) signalls form the phone line. Make sure the device you are using cal do that too. --Dave _____ From: ocset [mailto:ocset@the800group.com] To: FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org] Sent: Fri, 25 May 2012 00:41:54 -0700 Subject: [Freeswitch-users] Bridge incoming call to external number Hi Setup Windows 7 Freeswitch GXW4104 FXO 2 x POTS lines I have setup Freeswitch to bridge an incoming call to an external mobile phone using a GXW4104 FXO device. The bridge works great but I am having a real headache with the connection not being disconnected when the users hang up. There is no disconnection issue when a call comes in on either line and is connected to an internal extension (like ext 1001). It is when one line is bride to the second that the issue occurs. <extension name="pots_0155555555"> <condition field="destination_number" expression="^(0155555555)$"> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="bridge" data="sofia/internal/0766666666@192.168.1.160:5060 <action application="answer"/> <action application="sleep" data="1000"/> <action application="voicemail" data="default ${domain} 1001"/> </condition> </extension> 1. Would this be a limitation of the GXW4104 2. Is it possible to write a "lua" script that could manage the disconnect some how? 3. If I enable "Polarity Reversal" under "FXO Termination" then the disconnect works but I have issues with sound and the system not registering when someone picks up. Please help me fix/diagnose this problem. Thanks O _________________________________________________________________________ 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 Join Us At ClueCon - Aug 7-9, 2012 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
Dave Thanks for the reply. Isolation testing - If I make or receive a call using either of the two lines (one line at a time), then I don't have any issues with call disconnection. It is only when both lines are used together that this occurs. Also, if I use a SIP gateway(PennyTel) in place of one of the lines for either leg of the bridge, then everything works fine. I have also tested using a separate FXO device(SPA3102) just to see if the problem may be related to the GXW4104 but that had the same end result. Is there a way to set up a "session-timeout" or "rtp-timeout-sec" for only this connection/bridge? Would that work? Thanks in advance Regards O On 26/05/12 02:50, Dave R. Kompel wrote:
This is not a FreeSWITCH issue. A lot of FXO terminal adaptors do not detect CPC right. In some cases they don't even do it on outgoing calls. Make sure your device is set to detect CPC (Calling Party Control) signalls form the phone line. Make sure the device you are using cal do that too. --Dave
------------------------------------------------------------------------ *From:* ocset [mailto:ocset@the800group.com] *To:* FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org] *Sent:* Fri, 25 May 2012 00:41:54 -0700 *Subject:* [Freeswitch-users] Bridge incoming call to external number
Hi
Setup Windows 7 Freeswitch GXW4104 FXO 2 x POTS lines
I have setup Freeswitch to bridge an incoming call to an external mobile phone using a GXW4104 FXO device. The bridge works great but I am having a real headache with the connection not being disconnected when the users hang up.
There is no disconnection issue when a call comes in on either line and is connected to an internal extension (like ext 1001). It is when one line is bride to the second that the issue occurs.
<extension name="pots_0155555555"> <condition field="destination_number" expression="^(0155555555)$"> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="bridge" data="sofia/internal/0766666666@192.168.1.160 <mailto:0766666666@192.168.1.160>:5060 <action application="answer"/> <action application="sleep" data="1000"/> <action application="voicemail" data="default ${domain} 1001"/> </condition> </extension>
1. Would this be a limitation of the GXW4104 2. Is it possible to write a "lua" script that could manage the disconnect some how? 3. If I enable "Polarity Reversal" under "FXO Termination" then the disconnect works but I have issues with sound and the system not registering when someone picks up.
Please help me fix/diagnose this problem.
Thanks O
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com <http://www.cudatel.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://wiki.freeswitch.org <http://wiki.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/>
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
participants (2)
-
Dave R. Kompel
-
ocset