1. 08 Aug, 2019 2 commits
  2. 06 Aug, 2019 1 commit
  3. 04 Aug, 2019 2 commits
  4. 03 Aug, 2019 1 commit
  5. 02 Aug, 2019 2 commits
    • Eden Abitbol's avatar
      upnp: support libupnp and libnatnatpmp simultaneously · 60515d89
      Eden Abitbol authored
      Update libupnp to version 1.8.4.
      
      For windows, the IPV6 preprocessor must be undefined. Or else
      libupnp won't initialize. Added visual studio 2017 support
      via one patch for windows that also combines previous windows
      patches.
      
      UPnPController: Class that the jami classes use to control the
      opening and closing of ports. Every  service has it's own upnp
      controller. The controller does it's actions by using the upnp
      context class. Also refactored the functions used to add
      mappings. Instead of using two different functions with
      different types of parameters, we now use one function with
      parameters that have default values. The logic stays the same
      but the function call is more clear.
      
      UPnPContext: Class that holds a (linked) list of discovered IGDs
      and their corresponding protocols (which discovered them).
      Whenever the controller wants to add or remove a mapping, the
      context picks a valid IGD in it's list and uses the correct
      protocol to complete the required action. This class also has
      the ability to swap protocols for an IGD that was discovered
      by more then one protocol.
      
      UPnPProtocol: Virtual base class that defines the functions
      needed by the context to use the corresponding protocol.
      
      PUPnP: UPnPProtocol derived class that represents a upnp client
      that uses the portable upnp library (libupnp). Every time the
      client discovers a new IGD it uses a callback to add it to the
      context's main IGD linked list. It also has an internal list of
      IGDs that it discovered. Added features to this class include:
      	- IGD event subscription.
      	- Use UpnpInit2 function instead of deprecated UpnpInit
      	  function. It's also supposed to support IPv6.
      
      NatPmp: UPnPProtocol derived class that represents a upnp client
      that uses the NAT-PMP library (libnatpmp). Unlike libupnp,
      libnatpmp only supports discovering one IGD. Also uses callbacks
      to add the IGD it finds to the context's main IGD class.
      
      Also inclided debug warning prints whenever a controller opens
      and closes the ports. That way we can keep track of whenever
      the application opens and closes ports on the internet
      gateway device.
      
      Gitlab: #96
      
      Change-Id: I199271edac2c6d93dc60c24e2e2aefe36de7950c
      60515d89
    • Adrien Béraud's avatar
      call: send text message on main thread · 3e2c8637
      Adrien Béraud authored
      Change-Id: Ic2d9de6e6af09cabc0838da88afedfa16af174d1
      3e2c8637
  6. 31 Jul, 2019 2 commits
    • Ming Rui Zhang's avatar
      sip: unuse default sip port and do implicit port binding · 616164fa
      Ming Rui Zhang authored
      - solve the registration failure issue in android due to the possible
        occupied Default sip port (Address already in use)
      
      Change-Id: I4794a4a1f6d3a0128aea2c21d18868de23cbbcee
      616164fa
    • Ming Rui Zhang's avatar
      sip: add sip_bind_address parameter · 2f7f75fa
      Ming Rui Zhang authored
      - provide the user the ability to bind ip addresses for sip/IPtoIP account
        freely, IPtoIP will be given more freedom to switch between ipv4 and ipv6
        according to the parameter given
      
      Change-Id: I364ad8a2acab4480a35a87baf3f7eb8e7ac72b36
      2f7f75fa
  7. 19 Jul, 2019 1 commit
    • Adrien Béraud's avatar
      build: cleanup · 780a9d57
      Adrien Béraud authored
      Remove unused build options, flags and defines
      
      Change-Id: I0c25511ade66025427ca0411cf34cfdd73a4bd1f
      780a9d57
  8. 18 Jul, 2019 1 commit
  9. 17 Jul, 2019 1 commit
    • Ming Rui Zhang's avatar
      sip: fix send sms messages issue · 8835e993
      Ming Rui Zhang authored
      - fix the problem of sending SMS messages from sip to phone
      - add different headers
      - enable of handling unauthorized errors form server and resend
        request
      
      Change-Id: Ib1272c5fa3fb2c94dc83bbcf19fdb63957159e38
      8835e993
  10. 12 Jul, 2019 1 commit
    • Sébastien Blin's avatar
      sip: negotiate both UDP and TCP for the control channel · 4bade6fa
      Sébastien Blin authored
      NOTE: SIP over TCP is disabled for now on Windows, waiting for
      TLS 1.3 support. To re-enable it, check the #ifdef _WIN32 in
      ice_transport.cpp
      
      Our pjsip version supports the RFC6544. With this patch, when
      starting a call, the daemon is using two ICE sessions for the SIP
      channel. One is negotiating a UDP socket, and the other a TCP socket
      and transmits both SDP on the DHT.
      
      If both negotiations succeed, TCP is prefered and will be used
      to transmit SIP messages and the VCard. This should solve the 30
      seconds timeout on bad networks.
      
      Note that the media channel is still using UDP to transmit audio
      and video.
      
      MAJOR CHANGE: the SIP channel use TLS on top of TCP, no DTLS,
      so the transport is considered as reliable.
      
      Also lot of changes in rfc6544.patch to link to rfc6062. The patch
      needs to be cleaned, cf TODO notes
      
      Also this seems to fix the ICE shutdown at the end of the call
      (after the IDLE Timeout)
      
      Change-Id: I01210da3abfcc448071268b4e1e38abdd58f9f05
      Gitlab: #103
      Gitlab: #108
      4bade6fa
  11. 26 Jun, 2019 1 commit
  12. 21 Jun, 2019 1 commit
  13. 20 Jun, 2019 1 commit
    • Sébastien Blin's avatar
      sip: negotiate both UDP and TCP for the control channel · e83a1006
      Sébastien Blin authored
      NOTE: SIP over TCP is disabled for now on Windows, waiting for
      TLS 1.3 support. To re-enable it, check the #ifdef _WIN32 in
      ice_transport.cpp
      
      Our pjsip version supports the RFC6544. With this patch, when
      starting a call, the daemon is using two ICE sessions for the SIP
      channel. One is negotiating a UDP socket, and the other a TCP socket
      and transmits both SDP on the DHT.
      
      If both negotiations succeed, TCP is prefered and will be used
      to transmit SIP messages and the VCard. This should solve the 30
      seconds timeout on bad networks.
      
      Note that the media channel is still using UDP to transmit audio
      and video.
      
      MAJOR CHANGE: the SIP channel use TLS on top of TCP, no DTLS,
      so the transport is considered as reliable.
      
      Also lot of changes in rfc6544.patch to link to rfc6062. The patch
      needs to be cleaned, cf TODO notes
      
      Also this seems to fix the ICE shutdown at the end of the call
      (after the IDLE Timeout)
      
      Change-Id: I55c5f51377fd8787bc951d6d282eec46f8eaf977
      Gitlab: #103
      Gitlab: #108
      e83a1006
  14. 01 Jun, 2019 3 commits
  15. 31 May, 2019 3 commits
  16. 24 May, 2019 1 commit
  17. 29 Apr, 2019 2 commits
  18. 23 Apr, 2019 1 commit
  19. 17 Apr, 2019 2 commits
  20. 16 Apr, 2019 1 commit
  21. 08 Apr, 2019 2 commits
  22. 03 Apr, 2019 1 commit
  23. 02 Apr, 2019 2 commits
  24. 14 Mar, 2019 2 commits
  25. 11 Mar, 2019 2 commits
  26. 07 Mar, 2019 1 commit