PJSIP Compact headers

We have a feature request to add GUI support to enable compact headers globally for pjsip:

https://issues.freepbx.org/browse/FREEPBX-23492

It looks like @billsimon is possibly using this feature, but since I don’t recall seeing it discussed before, I thought I would raise the topic to see who is currently doing this or sees value in it for their setups?

I gave it a quick test, this might be the second time in my career when I’ve looked at a SIP trace with compact headers. Looks weird to me

v: SIP/2.0/UDP <redacted>:5060;rport;branch=z9hG4bKPjf0494084-0864-43da-9256-180acf1daddb
f: "P310" <sip:6006@<redacted>>;tag=3e7e5c67-2d9d-460f-8577-b5ad70aabbbb
t: <sip:6006@<redacted>;ob>
m: <sip:asterisk@<redacted>:5060>
i: a1fbfb17-b5f2-4b84-b293-236124774984
CSeq: 31384 INVITE
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
k: 100rel, timer, replaces, norefersub, histinfo
x: 1800
Min-SE: 90
P-Asserted-Identity: "P310" <sip:6006@<redacted>>
Max-Forwards: 70
User-Agent: FPBX-15.0.23.9(18.12.1)
c: application/sdp
l:   223
1 Like

The m: line (short form of Contact:) always throws me off because I am used to looking for m= lines in SDPs.

One provider that I know of that uses compact form is CallCentric. Telnyx allows you to toggle the feature for your SIP trunks.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.