M2 disable Q.850 Reason header

From Kolmisoft Wiki
Jump to navigationJump to search

By default M2 includes Reason header in SIP BYE responses:

BYE sip:370123456789@192.168.0.152:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.76;rport;branch=z9hG4bK3Zrv20HHeyacF
Max-Forwards: 70
From: "370123456789" <sip:370123456789@192.168.0.76>;tag=v0Ue8B69apBBm
To: <sip:370123456789@192.168.0.152:5061>;tag=1706d10c
Call-ID: 1ee7c716-c50b-1234-78a6-080027b06215
CSeq: 93950057 BYE
User-Agent: M2 Switch
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0

It is possible to remove this header by changing setting Disable Q.850 Reason in Origination Point configuration.

See also

M2 Origination Points