Hi there,
I am trying to read the SIP headers (Refer-To and Referred-By) when someone REFER to Asterisk.
Asterisk version: Asterisk 16.24.0
When my SIP client REFERs to Asterisk i can see REFER request in the transfer context with Refer-To and Referred-By headers but when i try to read them in the transfer context like ${SIP_HEADER(Refer-To)} - ${SIP_HEADER(Referred-By)} i don’t see anything there. Not able to read.
Transfer seems to be working fine though.
The process is- client sends REFER, asterisk reply with SIP/2.0 202 Accepted and also NOTIFY