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

invalid contact header witn private ip on reinvite without sdp

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Component/s: mod_sofia
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      c4775d8
    • GIT Master Revision hash::
      9c8d9cf120dcba7f5fe4ec65bf46c49ac79c8f19
    • Target Version:
      1.8

      Description

      when behind nat, receiving a re-invite without sdp fs puts in the contact header the private ip instead the configured external ip in the 200 OK sent to remote endpoint, and it makes the call hangup with ack timeout because the remote endpoint send the ack to the private ip set in the contact header.

      in the sofia profile i've set ext-sip-ip:autonat:212.30.92.117 and ext-rtp-ip:autonat:212.30.92.117 and the call setup is done correctly until the re-invite without sdp.

      attach tshark log for the call where:

      212.30.92.117 -> fs public ip behind nat
      192.168.254.10 -> fs private ip
      206.62.135.43 -> remote endpoint public ip
      172.26.0.101 -> remote endpoint private ip

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              antonio Antonio
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: