My SIP provider sends OPTIONS after it has detected one of my trunks is down. Asterisk is responding with a SIP/200 OK but the provider has told me that the “Accept” header is too long. As a result, the Accept-header is truncated.
Is it possible to shorten it permanently from this:
I was thinking about doing it in the dialplan, but PJSIP_HEADER doesn’t seem to be able to remove the original one.