[Freeswitch-users] keeping leg b up and reconnect to it

ik idokan at gmail.com
Sun Aug 10 12:43:57 MSD 2014


Hello,

I have a SIP user that is working under cellular 3g data.
Sometimes it losing it's IP and have it assigned new IP, other times,
roaming disconnect the data and it takes up to 45 seconds to reconnect (and
again, gaining new IP).

While the client is idle, there is no issue, however when the client is
connected to a call, freeswitch (and any other sip servers for that matter)
does not know about it (and that's okay).

But when the client return to be available, and try to reconnect to the
call, the call itself disconnect, and making hangup on both sides.

I have the following dialplan:
<?xml version="1.0" encoding="utf-8"?>
<include>
  <context name="testing">
    <extension name="bridge loopback">
      <condition field="destination_number" expression="^(300\d)$">
        <action application="set" data="hangup_after_bridge=false" />
        <action application="bridge"
data="{hangup_after_bridge=false}user/$1" />
      </condition>
    </extension>

  </context>
</include>

Is there a way to keep the other leg (for example leg b) up, and attempting
to reconnect leg-a to it ?

Thanks,
Ido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140810/af7d63f5/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list