1. 20 May, 2022 1 commit
  2. 18 May, 2022 1 commit
  3. 06 May, 2022 3 commits
    • François Grisez's avatar
      Fix a crash and an intempestive log error · 4c049647
      François Grisez authored
      * Crash when the PushNotification module receive MESSAGE requests
        which have iOS push notification paramters but without token
        for remote push (only VoIP token). Print an error in log instead.
      * Change the log level of a false-positive error into 'debug'.
        That was an error that was printed when the PushNotification
        module was receiving requests without push notificaiton
        parameters in their Request-URI. The normal behavior is to
        skip PushNotification module execution.
    • François Grisez's avatar
      Implement “Keep-Alive with CRLF” · 3a72e3cc
      François Grisez authored
      Implement “Keep-Alive with CRLF” from RFC5626 §4.4.1 and add
      tests for it in “Agent” tester suite.
      Test improvements:
      * Move every generic Test-based class definition into
        tester/utils/test-paterns directory.
      * Improve method to wrap Test-based classes into BcUnit test
        function by defining run<ClassT>() template function.
      * Print SofiaSip log messages when --verbose option is given
        to ./flexisip_tester.
      * Factorize “TlsConnection unit tests” test suite.
        which automatically stop the running test using an exception.
      * Update self.signed.cert.test.pem certificate to have a
        valid CN:
          + old: C = FR, ST = Some-State, O = Internet Widgits Pty Ltd, CN = https://localhost:3000/
          + new: C = FR, O = Belledonne Communications, OU = flexisip-tester, CN = localhost
    • François Grisez's avatar
      Use clang-format on a few files · b5392040
      François Grisez authored
  4. 04 May, 2022 1 commit
    • François Grisez's avatar
      Fix crash after parsing rfc8599 parameters with an unsupported provider · d6157236
      François Grisez authored
      RFC8599PushParams::parsePushParams() and RFC8599PushParams::parseLegacyPushParams()
      was returning an empty result when the provider wasn't supported. That
      was causing bad behavior in calling code because it was expecting that
      there is always at least one element, as the parsing function are to
      raise an exception instead of returning an empty map.
  5. 02 May, 2022 5 commits
  6. 27 Apr, 2022 2 commits
    • François Grisez's avatar
      Improve call push notifications for iOS clients that have no VoIP push token. · caface04
      François Grisez authored
      When an iOS client has only subscribed to push notifications by only giving
      a token for Remote push notifications, call invitation cannot be notified
      by using VoIP push notificaton. Then, Flexisip was historically notifying
      such clients by sending a single Remote PN, which allowed the client
      to display a message to the user and play a ring tone, but only for
      a few seconds. Furthermore, should the callee have several devices registered, these
      was not notified when the call was accepted or declied by another
      This commit improve the strategy of push notification in this situation.
      Instead of sending a single PNR, several PNRs are regularily sent in
      order the client be able to emulate a continuous ringing by playing
      a small ring sound on each PN reception.
      Secondly, when the call is accepeted, declined, or canceled by the caller,
      a final PN containing the reason of the call end is sent to each device.
    • François Grisez's avatar
      Apply clang-format on several files · 610e9c25
      François Grisez authored
  7. 25 Apr, 2022 3 commits
    • Anthony Gauchy's avatar
      With fork-late mode on, call are late cancelled. · 457d81a4
      Anthony Gauchy authored
      Dev + test
    • Anthony Gauchy's avatar
      Clang format · fd46a876
      Anthony Gauchy authored
    • Anthony Gauchy's avatar
      Fix a crash when a message with an empty body is restored from DB · 375b19e3
      Anthony Gauchy authored
      In production a crash occured (client side) because a message was restored (stored?)
      without body from DB. We try to repoduce the problem with the test
      [globalTestBigMessage, tester/fork-context-mysql-tester.cc] without
      success even if we used the same message that cause the problem.
      To avoid sending message with content-length != 0 and an empty body we
      added a security in the MsgSip constructor, it throw a exception if
      parsing errors are detected by sofia-sip. This lead to the deletion of
      the ForkMessage proxy (may lead to message lost).
      Fix + tests (+ reduced global tests duration)
  8. 21 Apr, 2022 2 commits
    • Anthony Gauchy's avatar
      Clang format · 4c3f3a91
      Anthony Gauchy authored
    • Thibault Lemaire's avatar
      Fix B2BUA RPM packaging · 6feaeba5
      Thibault Lemaire authored
      Restore packaging of B2BUA server and internal libmbedtls
      Fix mbedtls shared lib install (for rpm packaging)
      relay static/shared directives to mbedtls
      this fixes package dependencies: we embed our own version of mbedtls
      Fix B2BUA flexisip testsuite
      Minor refactoring
      SDK: Use video direction of local parameter to create SDP if the participant is in ScheduledForJoining state. Tester: Increase wait time for video to be established and bandwidth computed
      Disable event log in the bridging conference. The B2BUA doesn't need it
      and it interferes with media streams
      Remove B2BUA dependency on FFMPEG and V4L
      Using Mire for Trenscrypter tests
      Also adds debug asserts and increases timeouts in trenscrypter tests
      This is to fix B2BUA tests failing on CI because call operations take too long
      (in Sanitizer build)
      Co-authored-by: Andrea Gianarda's avatarAndrea Gianarda <andrea.gianarda@belledonne-communications.com>
      Co-authored-by: François Grisez's avatarFrançois Grisez <francois.grisez@belledonne-communications.com>
      Co-authored-by: johan's avatarJohan Pascal <johan.pascal@belledonne-communications.com>
  9. 20 Apr, 2022 1 commit
    • Thibault Lemaire's avatar
      Fix git describe failing on archlinux · d2bc431e
      Thibault Lemaire authored
      Rebuilding the archlinux image brought the latest git 2.35.2 with a fix
      for CVE-2022-24765.
      However, git now refuses to evaluate any command since the owner of the
      build directory isn't the user running the command.
  10. 13 Apr, 2022 1 commit
  11. 06 Apr, 2022 2 commits
  12. 05 Apr, 2022 1 commit
  13. 24 Mar, 2022 1 commit
  14. 18 Mar, 2022 4 commits
  15. 16 Mar, 2022 1 commit
  16. 13 Mar, 2022 1 commit
  17. 10 Mar, 2022 1 commit
    • Thibault Lemaire's avatar
      Add nix shell · db5f7996
      Thibault Lemaire authored
      Nix makes it easier to have a reproducible development environment on
      any Linux distribution.
      It doesn't interfere with other installed tooling, and is just an
      additional, optional way to build flexisip.
      I have pinned a version of nixpkgs as fallback in case new package versions
      would break things, and have verified it builds with a --pure shell and
      clean build folder.
      The files have been formatted with nixpkgs-fmt (which is included in the
      default shell) and should be kept that way for consistency.
  18. 08 Mar, 2022 1 commit
  19. 07 Mar, 2022 1 commit
  20. 28 Feb, 2022 1 commit
  21. 25 Feb, 2022 1 commit
  22. 24 Feb, 2022 1 commit
  23. 22 Feb, 2022 1 commit
  24. 18 Feb, 2022 1 commit
  25. 17 Feb, 2022 2 commits