Capture SIP Header Info

When a call hits the welcome flow, the user message received “welcome” contains additional information like the SIP header. What is the correct path (variable) to use that data in a function?