Skip to content
Snippets Groups Projects
  1. Apr 16, 2025
    • Lukasz Kotasa's avatar
      Intersect codec sets for local_merge strategy, REF 16784 · 0e6cfbf8
      Lukasz Kotasa authored
      Here is our pjsip_endpoint.conf:
      outgoing_call_offer_pref = local_merge
      incoming_call_offer_pref = remote_first
      
      For outgoing calls we use local_merge (UNION) which means "Merge the lists with the preferred
      codecs first"
      For incomming calls we use remote_first (INTERSECT) which means "Only common codecs with the
      preferred codecs first"
      
      When UPDATE was received for incoming call, device responded with
      488 Not Acceptable Here with Reason:Q.850;cause=16
      When UPDATE was received for outgoing call, device responded with
      488 Not Acceptable Here with Reason:Q.850;cause=58 
      BYE
       
      After this commit we have the same behaviour for UPDATE during both incoming and outgoing call.
      
      Incoming calls were fixed in similar way before in fb501964.
      0e6cfbf8
  2. Apr 15, 2025
    • Grzegorz Sluja's avatar
      Unblock incoming RTP media after SDP is applied, REF 15849 · 1ca8fec1
      Grzegorz Sluja authored
      The workaround is to send one CNG packet to the negotiated remote address and port. Why
      asterisk refuses to receive/accept incoming RTP packets until at least one RTP packet
      is sent remains unknown.
      1ca8fec1
    • Grzegorz Sluja's avatar
      Fix the authorization header for re-REGISTER, REF 14600 · e28a65c8
      Grzegorz Sluja authored
      The commit contains 2 fixes making the authorization header is cached during initial registration
      and then reused for further re-REGISTER requests.
      - Enable flags in pjproject so the authorization header is cached and then automatically included
        in next re-REGISTER requests.
      - Set initial registration outbound authentication credentials properly so the following error in
        pjproject is fixed and authorization header is cached properly:
        pjproject: <?>: sip_auth_clien ...Unable to set auth for tdta0x: can not find credential for
        X.X.X.X/Digest
      e28a65c8
  3. Apr 10, 2025
  4. Mar 31, 2025
  5. Mar 26, 2025
  6. Mar 24, 2025
  7. Mar 20, 2025
  8. Mar 14, 2025
  9. Mar 13, 2025
  10. Mar 12, 2025
    • Wenpeng Song's avatar
      Update for INVITE getting 504 with XML triggering re-register, REF 14826 · 6b8544b8
      Wenpeng Song authored
      - Update the flag endpoint->failover_reg_addr with 3 states, 0/1/2 ->
        none/504-register-ongoing/504-registerfailed
      - Add the 504_flag into the pjsip show registrations which will be used by
        chan-voicemngr to decide if an INVITE should be sent after 504.
      - Restore the original client_state->registration_expires if 504-register failed.
      6b8544b8
  11. Mar 05, 2025
  12. Mar 03, 2025
    • Wenpeng Song's avatar
      Fix issues in registration retry mechanism, REF 15851 · 1bb45e28
      Wenpeng Song authored
      * 408 response received from the server should be handled the same as other codes like 503
      * Introduce response code 444 from pjsip while no response been received to differentiate
        it with 408 which is from the server
      * there should have no retry during recovery flow if no retry-after, retry should only
        happened during the first round if no retry-after.
      1bb45e28
  13. Feb 27, 2025
  14. Feb 26, 2025
  15. Feb 20, 2025
  16. Feb 18, 2025
    • Wenpeng Song's avatar
      Add latest registration address:port in CLI "pjsip show registrations", REF 16375 · 578e9447
      Wenpeng Song authored
      * Add actual registration address:port into debug log
      * Add latest registration address:port into `pjsip show registrations` CLI to avoid
        confusion
      
      The CLI shows below before the changes, while TLS(failed) falls back to UDP(registered).
      
      <Registration/ServerURI>             <Auth>  <Status>
      =======================================================================================
       sip0/sip:tel.t-online.de:5061       sip0    Registered     (exp. 376s)
      
      After the changes.
      
      <Registration/ServerURI(Primarily)>  <Auth>  <Latest Registration>  <Status>
      =======================================================================================
       sip0/sip:tel.t-online.de:5061       sip0    192.168.2.150:5060     Registered
      578e9447
    • Wenpeng Song's avatar
      Emergency Registration failover fix, REF 16302 · 38a2de03
      Wenpeng Song authored
      * fix the invite sent to wrong address other than the registered one
      * fix the un-registration issue after failover during emergency registration
      
      Rebuild the structure of E-reg flags and un-reg states, skipped unwanted request
      message while hangup before registered.
      38a2de03
  17. Feb 12, 2025
    • Grzegorz Sluja's avatar
      Fix the mechanism of checking the incoming SIP INVITE, REF 16274 · 156c66fa
      Grzegorz Sluja authored
      If the 'endpoint->fromdomain' config is an IPv4 or IPv6 address then each
      incoming request is checked if it is from this address.
      If the 'endpoint->fromdomain' is a host name then we are checking the
      DNS cache list and allow only incoming requests from the address in this
      list to be accepted.
      156c66fa
  18. Feb 05, 2025
  19. Feb 03, 2025
  20. Jan 27, 2025
  21. Jan 24, 2025
  22. Jan 20, 2025
    • Grzegorz Sluja's avatar
      Fix for sending multiple '180 Ringing' messages, REF 15988 · 05600265
      Grzegorz Sluja authored and Yalu Zhang's avatar Yalu Zhang committed
      It occured that changing the condition for AST_CONTROL_RINGING
      in a fix for REF 15850 introduced a degrade so the '180 RINGING'
      SIP event is sent many times for the incoming call processed to DUT.
      Restore the previous condition and fix the issue of early-media with
      reset the flag 'pa->sentringing' in other place makes the issue of
      early-media REF 15850 is fixed and there is no longer multiple
      '180 Ringing' SIP messages sent to the Caller.
      05600265
    • Yalu Zhang's avatar
      Add the rejected media stream and its attributes in the local SDP for answer, REF 14613 · b903f1c0
      Yalu Zhang authored
      The attributes of the rejected media stream were missing in SDP answer before. With this
      commit, all attributes from the SDP offer for the rejected media stream are kept in the
      SDP answer. 
      b903f1c0
  23. Jan 15, 2025
    • Wenpeng Song's avatar
      Add max sessions support per client config, REF 12409 · 553bb13f
      Wenpeng Song authored
      Add and support max_sessions to the pjsip endpoint config, which reflect as `VoiceService.
      {i}.SIP.Client.{i}.MaxSessions`.
      
      No actual behavior changes have been done, just followed the same behavior and add an extra
      condition check after max session per line as the line_calls count was calculated per
      endpoint.
      553bb13f
  24. Jan 10, 2025
  25. Jan 08, 2025
  26. Dec 19, 2024
  27. Dec 16, 2024
  28. Dec 11, 2024
Loading