Skip to content
Snippets Groups Projects
  1. Sep 06, 2024
    • Yalu Zhang's avatar
      Update the implementation of early media support · bbc11efe
      Yalu Zhang authored
      The following changes are made in this commit since only backward (from UAS to UAC) early media
      needs to be supported.
      - Always include "P-Early-Media: supported" in a transmitted INVITE regardless the configuration
      - Always include "P-Early-Media: sendonly" in PRACK to an incoming 18x response which includs
        "P-Early-Media" regardless the configuration
      - Don't include "P-Early-Media" header in any responses to an incoming INVITE
      - Always play early media if any in an outgoing call
      bbc11efe
  2. Jun 25, 2024
  3. Jun 05, 2024
  4. May 15, 2024
  5. Apr 25, 2024
  6. Apr 16, 2024
  7. Apr 10, 2024
  8. Mar 21, 2024
  9. Mar 08, 2024
  10. Mar 07, 2024
  11. Feb 28, 2024
  12. Feb 20, 2024
    • Yalu Zhang's avatar
      Fix a crash during attended transfer · 5fccc44b
      Yalu Zhang authored
      Asterisk can crash if two FXS ports on the same device act as transferor and
      transfer target when asterisk.tel_options.hold_target_before_refer='yes',
      which is the default config. The issues happens after a couple of calls.
      
      The solution is to revert d38e42d8 about
      reference count decreasing.
      Some validation check is also added to chan_pjsip_hangup().
      
      TODO: After this commit, there will be issues if
      asterisk.tel_options.hold_target_before_refer='no'.
      - Remaining pjsip channels after a couple of attended transfers in the above
        scenario
      - Transferor might not be able to call transfer target because the maximum
        sessions per line exceed the specified number
      These issues will be solved in a new commit.
      5fccc44b
  13. Feb 06, 2024
  14. Feb 02, 2024
  15. Jan 31, 2024
  16. Jan 25, 2024
  17. Jan 24, 2024
  18. Jan 23, 2024
  19. Jan 10, 2024
  20. Dec 27, 2023
  21. Dec 07, 2023
  22. Nov 10, 2023
    • Wenpeng Song's avatar
      Fix a crash due to wrong handling of 200 OK to REGISTER · 692264c9
      Wenpeng Song authored and Yalu Zhang's avatar Yalu Zhang committed
      When SIP un-registration request got an 200 OK with expiration value which is not 0 (due to the
      server setting and network), it is treated as registration success based on the non zero expiration value. This made the other procedures following and it went into an uncontrollable
      stage, i.e. unstoppable loop of the un-registration requests until crash.
      
      Solution
      Retrieve the requested expiration if possible, and check it together with the received expiration
      in response to identify if the 200 OK is to register or unregister.
      692264c9
  23. Nov 09, 2023
  24. Nov 02, 2023
    • Grzegorz Sluja's avatar
      Fix sequence number used by asterisk for outgoing RTP packets · 59f9c7ce
      Grzegorz Sluja authored and Yalu Zhang's avatar Yalu Zhang committed
      There was no audio for 3-way conference when sRTP is used.
      For 2-way calls frame->seqno is taken from DSP and is used by asterisk for the sequence number
      in RTP headers. However for 3-way conference the sequence number is generated by asterisk and
      it has to be greater than the previous value, otherwise libsrtp refuses to forward 'too old'
      RTP packets.
      59f9c7ce
  25. Oct 31, 2023
    • Wenpeng Song's avatar
      627a1902
    • George Joseph's avatar
      res_pjsip_exten_state,res_pjsip_mwi: Allow unload on shutdown · a659b358
      George Joseph authored and Wenpeng Song's avatar Wenpeng Song committed
      Commit f66f77fa last year prevents the res_pjsip_exten_state and
      res_pjsip_mwi modules from unloading due to possible pjproject
      asserts if the modules are reloaded. A side effect of the
      implementation is that the taskprocessors these modules use aren't
      being released. When asterisk is doing a graceful shutdown, it
      waits AST_TASKPROCESSOR_SHUTDOWN_MAX_WAIT seconds for all
      taskprocessors to stop but since those 2 modules don't release
      theirs, the shutdown hangs for that amount of time.
      
      This change allows the modules to be unloaded and their resources to
      be released when ast_shutdown_final is true.
      
      Resolves: #379
      a659b358
  26. Oct 25, 2023
  27. Oct 23, 2023
  28. Oct 21, 2023
  29. Oct 16, 2023
  30. Oct 13, 2023
  31. Oct 11, 2023
  32. Oct 09, 2023
    • Lukasz Kotasa's avatar
      Fix a session reference counting error · 56eb1774
      Lukasz Kotasa authored and Yalu Zhang's avatar Yalu Zhang committed
      The ast_sip_dialog_get_session function returns the session with reference count
      increased. This was not taken into account and was causing sessions to remain
      around when they should not be.
      56eb1774
  33. Oct 04, 2023
    • Wenpeng Song's avatar
      Update the SIPIPAddress for CallLog on outgoing calls · cd8854bb
      Wenpeng Song authored and Yalu Zhang's avatar Yalu Zhang committed
      Session invitation is not ready (NULL) on "session_on_tx_request" (before sending the request)
      when the function for setting SIPIPAdress is called in the current version.
      Call the function under "session_inv_on_tsx_state_changed" (just after the request be sent) 
      instead.
      cd8854bb
  34. Oct 03, 2023
  35. Sep 20, 2023
Loading