Custom SIP REFER header support in redirect ARI method

Hi,

I’m using ARI to manage my call flow. Inside ARI there is a method called channel redirection:
/channels/{channelId}/redirect

This method is using SIP REFER method under the hood. I’m wondering how I can add custom header to SIP REFER method?

I’m using Asterisk v22.1.0 & pjsip
I searched official docs and this community, but I wasn’t able to find any related topic

You can’t. There is no ability to do so.

Is there any other approach to perform SIP REFER for single call with custom headers using any Asterisk feature?

No, there is fundamentally no support for doing such a thing in Asterisk.

Thank You for quick answer!