1. Sep 14, 2023
    • Andrea Gianarda's avatar
      In the call parameters, there are 2 ways of setting the from address · 2dc884fb
      Andrea Gianarda authored
      when initiating a call;
      - from header
      - account
      These 2 parameters are dependent from each other which makes tricky for
      the core to know exactly which account to use and the correct from
      address.
      In most scenarios, the from address is the account's identity address
      but it is not always the case such as in the case of a direct call.
      Moreover, the account cannot be always deduced in a straightforward
      matter such as if the core has no default account (but it is registered
      with one or more accounts) and the call parameters have not set one.
      
      The algorithm for choosing an account is the following:
      1) search in the call parameters
      2) get the default account
      3) look up for the best guessed account based on the from (if known) or
         to address
      
      The algorithm for known the from address is the following:
      1) look for the from header in the call parameters
      2) look up for the identity address of the account (if known)
      3) get the core primary account
      
      ...
      2dc884fb
  2. Aug 02, 2023
  3. Jun 26, 2023
  4. Feb 22, 2023
  5. Jan 13, 2023
    • johan's avatar
      Rework secure chat testing · f3e7fc68
      johan authored and Andrea Gianarda's avatar Andrea Gianarda committed
      - remove useless rc files
      - clean memory leak in secure message test
      - remove useless usage of fixed filepath for zrtp db
      f3e7fc68
  6. Oct 25, 2022
  7. Jan 11, 2022
  8. Dec 07, 2021
  9. Sep 13, 2021
  10. Sep 03, 2021
    • Sylvain Berfini's avatar
      Implement synchronized ephemeral messages settings across all chat rooms participants · c5a467e3
      Sylvain Berfini authored and Andrea Gianarda's avatar Andrea Gianarda committed
      Move ephemeral lifetime setting to ChatRoomParams
      If admin force participants to use ephemeral messages, they can enable or disable ephemeral capabilities in two different ways:
      - function enableEphemeral:
        - if used to enable ephemeral messages, it will set the ephemeral time to the value stored in the core configuration if the current value is 0
        - if used to disable ephemeral messages, it will disable the feature without changing the ephemeral lifetime
      - function setEphemeralLifetime:
        - enable ephemeral if the new lifetime is different from 0, disable the feature otherwise
      c5a467e3
  11. May 26, 2021
  12. Apr 29, 2021
    • Timothée Jaussoin's avatar
      Implement FlexiAPI REST API · 0666fba9
      Timothée Jaussoin authored
      Split some common code between the XMLRPC and REST API in utils files
      Do not create local variable named mRequestCallbacks in AccountCreatorFlexiAPI constructor
      Do create objects with new and delete them using free
      Complete endpoints integration
      Add a new flexiapi_url config variable in the LinphoneCore configuration
      Split account creator tests in two, local and xmlrpc ones
      Cleanup and remove unused code
      Echap some URL parameters in FlexiAPIClient
      Rename XMLRPC specific methods
      Implement more FlexiSIP endpoints in the account manager
      Create a new Account Creator FlexiAPI test suit
      Put in common some functions of the Account Creator test suits
      Complete FlexiAPIClient and the related account creator connectors
      Load libjsoncpp properly
      Fix response parameter in FlexiAPIClient responses
      Use the new callback event system in the XMLRPC tests
      Rename a few methods
      Add comments to make some code more explicit
      Pass jsoncpp to object
      Add XCODE static/object for jsoncpp
      Move the account_creator files from coreapi to src
      Add a ENABLE_FLEXIAPI toggle
      0666fba9
  13. Mar 16, 2021
  14. Nov 19, 2020
  15. Sep 16, 2020
  16. Jul 24, 2020