1. 30 Jan, 2015 2 commits
  2. 28 Jan, 2015 1 commit
    • Stepan Salenikovich's avatar
      upnp: don't try to use invalid device · c10eb0bc
      Stepan Salenikovich authored and Guillaume Roguez's avatar Guillaume Roguez committed
      If upnp finds a device on the network but it cannot determine
      that it is a valid upnp device nor a valid IGD device, do not
      try to use it.
      Also gets rid of potential memory leak if chooseIGD() crashes.
      Refs #64828
      Change-Id: Ibe0895ec8de043f7fcd1a1e9aa36e5b766091008
  3. 27 Jan, 2015 1 commit
    • Stepan Salenikovich's avatar
      daemon: add upnp support · 7649d5be
      Stepan Salenikovich authored
      New settings in daemon preferences to use UPnP, default false.
      Currently opens ports for SIP and ip2ip accounts and their calls.
      Opens ports negotiated by SDP sesssion.
      Tries to open ports for ICE candidates and adds ICE candidates
      with the public IP to help ICE negotiation.
      Added miniupnpc to contrib and patched to be able to generate just
      a static lib.
      Supports multiple clients on the same UPnP router. Will select a
      different port at random if the desired port is already taken by
      another client.
      Refs #63247
      Refs #63303
      Change-Id: I00ae79bc3a24d3e54513a6d299fd9b6a70bcc3c2