Skip to content
Snippets Groups Projects
  1. Aug 20, 2016
    • Corey Farrell's avatar
      Fix naming mismatch of allocator functions. · 8061d9f6
      Corey Farrell authored
      Allocator functions that take file/line/func parameters are prefixed
      with single-underscore when MALLOC_DEBUG is not defined,
      double-underscore when it is defined.  This change updates all
      allocators that accept file/line/func to have the same prototype in
      either ABI mode.  The parameter order of __ast_vasprintf and
      __ast_asprintf in utils.h have been changed to match that of astmm.h.
      
      End-use allocator macro's have been removed from astmm.h and moved to an
      unconditional part of utils.h.
      
      Change-Id: I823bb6ce2b5675b3a4735948f10a3b420e9a023a
      8061d9f6
  2. Aug 19, 2016
  3. Aug 18, 2016
  4. Aug 17, 2016
    • George Joseph's avatar
      res_pjsip: Add contact_user to endpoint · 534063fd
      George Joseph authored
      contact_user, when specified on an endpoint, will override the user
      portion of the Contact header on outgoing requests.
      
      Change-Id: Icd4ebfda2f2e44d3ac749d0b4066630e988407d4
      534063fd
    • Richard Mudgett's avatar
      res_pjsip_session.c: Fix unbound srv failover tests. · 0b4fa655
      Richard Mudgett authored
      Commit 1b666549 broke the srv failover
      functionality if a TCP connection gets disconnected.  Under these
      conditions, session_inv_on_state_changed() gets a
      PJSIP_EVENT_TRANSPORT_ERROR and restarts the INVITE transaction on a new
      transport.  Unfortunately, session_inv_on_tsx_state_changed() also gets
      the same PJSIP_EVENT_TRANSPORT_ERROR event and unconditionally terminates
      the session.
      
      * Made session_inv_on_tsx_state_changed() complete terminating the session
      on PJSIP_EVENT_TRANSPORT_ERROR only if the session state is still
      PJSIP_INV_STATE_DISCONNECTED.
      
      ASTERISK-26305 #close
      Reported by: Richard Mudgett
      
      Change-Id: If736e766b5c55b970fa38ca6c8a885caf27b897d
      0b4fa655
    • Alexander Traud's avatar
      BuildSystem: Detect ca_list_path capabilities in external PJProject. · 57f4e442
      Alexander Traud authored
      Since Asterisk 13.8, pj_ssl_cert_load_from_files2 got detected only in the
      bundled PJProject but not in an external PJProject. Therefore, ca_list_path
      could not be used in pjsip.conf. With this change, pj_ssl_cert_load_from_files2
      is detected again to enable ca_list_path again.
      
      ASTERISK-26303 #close
      
      Change-Id: I4a4a0cdc5cdff33730911fb4cfc0498c069043d0
      57f4e442
Loading