Hello, The variable session.callid has these struct: "From_[ani]_To_[dnis]_Menu_[dnis]_#0/147" But my doubt is: How i could link the last number showed (in this case 147) with my others tables? Like callhistory3 and calldetails. I need this information because I need to see what extension did transfered the caller to the IVR. I thought that the variable "callchain" in callhistory3 could give me that answer, but first i need to find that call in the table. Thanks!