How do I attached SIP headers to a Transfer (SIP Refer)? According to PJSIP_HEADER wiki, I’m probably attaching the header to the incoming channel. But Transfer doesn’t have a pre-dial handler to attach headers.
> same => n,Answer()
> same => n,Playback(transfer-message)
> same => n,Set(PJSIP_HEADER(add,_test)={test}) same => n,Transfer(PJSIP/sip:{EXTEN}@inbound)
According to the following post this functionality is not supported.
Is it supported in Asterisk 19? Is there any other way to add/update/remove headers on REINVITE and TRANSFER ?
Thanks and best,
Andreas