Reading REFER header

Hello,

Is there any way to read REFER headers in dialplan, or any other place, like AGI, for that matter?

I have tried with following but does not seem to work:

same => n,Set(GET_TRANSFERRER_DATA=X-)
same => n,Set(UserID=${HASH(TRANSFER_DATA,X-User-ID)}

If you’re referring to PJSIP, then no. I only recently became aware that it was possible in chan_sip when an issue was filed[1] but noone has looked into it.

[1] [ASTERISK-29918] res_pjsip_refer: Can not get custom headers from REFER - Digium/Asterisk JIRA

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