Replace extra headers in the BYE

Hello everyone. I have a concern. is there a way to replace Asterisk in the extra headers of the BYE message?
replace:
X-Asterisk-HangupCause
X-Asterisk-HangupCauseCode
with:
X-customized-HangupCause
X-customized-HangupCauseCode

can I do it in sip.conf ?

No. You would have to modify the source code.

1 Like

Also note that chan_sip was not included in the version of Asterisk released yesterday.

Thanks jcolp, I modified the source code and it worked.

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