Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-6890

FreeSWITCH forgets to send RE-INVITES

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.9
    • Fix Version/s: 1.4.14
    • Component/s: mod_sofia
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Microsoft Windows
    • Userland:
      Microsoft Windows
    • Distribution:
      Microsoft Windows
    • Distribution Version:
      Microsoft Windows 8
    • Compiler:
      Microsoft Visual Studio
    • Compiler Version:
      2012 Update 4
    • FreeSWITCH GIT Revision:
      FreeSWITCH Version 1.4.9~64bit ( 64bit)
    • GIT Master Revision hash::
      .
    • Target Version:

      Description

      The FreeSWITCH instance sometimes "forgets" to send a SIP RE-INVITE (we use session timers to periodically send RE-INVITEs on all our SIP channels) which then results in the remote party dropping the SIP channel by sending a SIP BYE to the FreeSWITCH. By sometimes I mean that this happens maybe once for several thousands of RE-INVITEs. I scanned the FreeSWITCH log files but could not find any reason why the FreeSWITCH did not send these RE-INVITEs.

      We used the following settings:
      <param name="enable-timer" value="true"/>
      <param name="minimum-session-expires" value="90"/>
      <param name="session-timeout" value="90"/>

      In the attached log file "re-invite_freeswitch.log" one can see the last RE-INVITES and the resulting BYE in the lines:

      101343: send 1083 bytes to udp/[172.31.4.66]:5060 at 22:14:56.635618:
         ------------------------------------------------------------------------
         INVITE sip:994023150001@172.31.4.66:5060 SIP/2.0

      106734: send 1083 bytes to udp/[172.31.4.66]:5060 at 22:15:40.657420:
         ------------------------------------------------------------------------
         INVITE sip:994023150001@172.31.4.66:5060 SIP/2.0

      112802: send 1083 bytes to udp/[172.31.4.66]:5060 at 22:16:29.676978:
         ------------------------------------------------------------------------
         INVITE sip:994023150001@172.31.4.66:5060 SIP/2.0

      124212: recv 419 bytes from udp/[172.31.4.66]:5060 at 22:18:00.455498:
         ------------------------------------------------------------------------
         BYE sip:mod_sofia@172.31.4.36:5060 SIP/2.0

      By the way, we patched the FreesSWITCH sources to be able to send SIP INFO messages with a proprietary XML content type.

      By increasing the frequency of SIP INFO messages, we could reproduce the problem within minutes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthm Anthony Minessale II
                Reporter:
                wt123 Thomas Weber
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: