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

Sofia recover reinvite for originally inbound call not including contact params on Request URI

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.14
    • Fix Version/s: 1.6.15, 1.8
    • Component/s: mod_sofia
    • Security Level: public
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      Linux dal-tanker-dev.ipa.corp.telnyx.com 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      FreeSWITCH Version 1.6.14+git~20170111T050257Z~e460bf8539~64bit (git e460bf8 2017-01-11 05:02:57Z 64bit)
    • GIT Master Revision hash::
      N/A
    • FSS Support Agreement Customer Number and Company name:
      Telnyx LLC

      Description

      When FS sends the sofia recover reinvite for a TCP call the request URI doesn't contain transport=TCP:

      send 1500 bytes to tcp/[64.16.240.39]:5060 at 16:20:43.320900:
         ------------------------------------------------------------------------
         INVITE sip:rogerp@190.106.106.137:61439 SIP/2.0

      However when sends a T38 reinvite it has a request URI with transport=TCP:

      send 1087 bytes to tcp/[64.16.240.39]:5060 at 15:22:32.780560:
         ------------------------------------------------------------------------
         INVITE sip:rogerp@190.106.106.137:61439;alias=190.106.106.137~46756~2;transport=TCP SIP/2.0

      Both test calls were initiated by the same UA (Zoiper) using TCP, here's the Contact header from the INVITE FS received

      Sofia Recover reinvite:
      Contact: <sip:rogerp@190.106.106.137:61439;alias=190.106.106.137~48980~2;transport=TCP>

      T38 reinvite:
      Contact: <sip:rogerp@190.106.106.137:61439;alias=190.106.106.137~46756~2;transport=TCP>

      Full FS logs with siptraces on:

      Sofia recover: https://pastebin.freeswitch.org/view/ef01bbda#L10

      T38: https://pastebin.freeswitch.org/view/112ed281#L9

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              rogelio.telnyx Rogelio Perez
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: