mirror of https://github.com/asterisk/asterisk
The PJSIP outbound registration API has undocumented behavior when reconfiguring the outbound registration if the expires value being set is the same as what was previously set. In this case PJSIP will remove the Expires header entirely from subsequent outbound REGISTER requests. To eliminate this as an issue we now check the current expires value against the configured expires value and only apply it if it differs. This ensures that outbound REGISTER requests always contain an Expires header. Resolves: #1859releases/20
parent
8bb311f7c4
commit
ebb95c0cbe
Loading…
Reference in new issue