[Freeswitch-users] Bridge incoming call to external number

ocset ocset at the800group.com
Fri May 25 11:41:54 MSD 2012


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 at 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



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list