Skip to content

Fix for registration period set if 200 OK has expires=0 in contact hdr

Grzegorz Sluja requested to merge fix_for_registration_period into release-6.5

For the case if there is more than 1 contact header in 200 OK for REGISTER and the last Contact has expires=0 asterisk wrongly set next registration period to default value DEFAULTEXPIRY. Check all contact headers and set next registration period to last positive value for this case.

Merge request reports