Custom Query (2195 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (55 - 57 of 2195)

Ticket Resolution Summary Owner Reporter
#2211 fixed Use group lock instead of mutex for SIP dialog which is useful for B2BUA scenarios riza riza
Description

On B2BUA scenario (with 2 leg/dialog):

  1. B2BUA receive a BYE on one leg, while the other leg also receive a BYE.
  2. While holding the lock on one leg, the B2BUA will try to forward the BYE it received to the other leg. The same goes for the other leg, however the process will stuck since it's unable to obtain the other's dialog lock.

It will lead to a deadlock scenario.

For this scenario, it is useful for both dialog to use the same lock (e.g: group lock).

The patch will introduce new API which will help for the above scenario.

  • pjsip_dlg_create_uac2() and
  • pjsip_dlg_get_lock()

Thanks to Peter Koletzki for the report.

#2209 fixed Insufficient variable storage to contain Expires header field/ parameter. ming ming
Description

RFC 3261 20.19 specifies the Expires header field to be between 0 and 232-1 seconds, but currently in sip_msg, we use the value of (signed) int. This is also applicable for Min-Expires header field, and Expires parameter of Contact header.

The following struct fields and APIs will change (all changes are from signed 32-bit integer to unsigned):

  • pjsua2:
    • AccountInfo.regExpiresSec
    • OnRegStateParam.expiration
  • pjsua:
    • pjsua_acc_info.expires
  • pjsip:
    • pjsip_contact_hdr.expires
    • pjsip_generic_int_hdr.ivalue/ pjsip_expires_hdr.ivalue/ pjsip_min_expires_hdr.ivalue/ pjsip_max_fwd_hdr.ivalue
    • pjsip_regc_info.interval
    • pjsip_regc_info.next_reg
    • pjsip_regc_cbparam.expiration
    • pjsip_generic_int_hdr_create()/ pjsip_generic_int_hdr_init()/pjsip_expires_hdr_create()/ pjsip_expires_hdr_init()/ pjsip_min_expires_hdr_create()/ pjsip_min_expires_hdr_init()/ pjsip_max_fwd_hdr_create()/ pjsip_max_fwd_hdr_init()
  • pjsip-simple:
    • pjsip_sub_state_hdr.expires_param
    • pjsip_publishc_cbparam.expiration
    • pjsip_pres_initiate()
    • pjsip_mwi_initiate()
    • pjsip_evsub_initiate()

IMPORTANT! Backward compatibility issue:

  • Any sign comparison of the above expiration fields MUST be modified, for example: expires < 0 should be changed to expires == PJSIP_EXPIRES_NOT_SPECIFIED.
  • Direct setting/comparison with -1 should still work, for example: pjsip_pres_inititate(sub, -1, ...) or expires == -1. This is because PJSIP_EXPIRES_NOT_SPECIFIED == (unsigned) -1. Nevertheless, for future compatibility, it is recommended to change any -1 to PJSIP_EXPIRES_NOT_SPECIFIED.
#2208 fixed Change default arch for Android and iOS to 64-bit ming ming
Note: See TracQuery for help on using queries.