Question about transfer and call forward

Hello, I would like to ask if it is possible to detect when the user is making Transfer Call or Forward in the dialplan(extension_cutom.conf)?

Thanks for your attention and time

I find a way to detect if the context is transfer call, with the variable ${CONTEXT} and ${TRANSFER_CONTEXT}. Now I am continue to searching how to detect if the context is call forward…

I found that the ${CALLERID(rdnis)} is set only if the call forwarding is enable… I will make some tests to see if it is working.