Skip to content

sip: add Session-Expires and Min-SE headers - #335

Open
Mliviu79 wants to merge 1 commit into
emiago:mainfrom
Mliviu79:pr/rfc4028-headers
Open

sip: add Session-Expires and Min-SE headers#335
Mliviu79 wants to merge 1 commit into
emiago:mainfrom
Mliviu79:pr/rfc4028-headers

Conversation

@Mliviu79

@Mliviu79 Mliviu79 commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Fixes #334

Adds SessionExpiresHeader (uint32 delta-seconds plus optional HeaderParams) and MinSEHeader (uint32 delta). Both implement HeaderName, Value, String, StringWrite, headerClone — and SessionExpiresHeader also gets a typed Clone.

@emiago

emiago commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Move the test sto existing files, and reduce them to minimal. Just verifying that parsing and writing is enough. Header has no bigi impact on rest of lib

Session-Expires carries a delta-seconds interval plus optional params, and
Min-SE a bare delta. Both are exposed as lazy accessors over the generic
header passthrough, like Refer-To and Referred-By, so headersParsers stays
minimal and messages without session timers are unaffected. Params such as
refresher=uac|uas are kept as sent, since electing a refresher and enforcing
the Min-SE floor are negotiation policy rather than parsing.
Refs emiago#334
@Mliviu79
Mliviu79 force-pushed the pr/rfc4028-headers branch from aaae05e to c933761 Compare August 9, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sip: no typed access to Session-Expires and Min-SE

2 participants