Hello my friends , i have a dialplan that transfer to an AGI that captures callerid and channel , but i need to get the sip agente that makes the transfer , is there a way to do that ?
exten => s,1,Answer
exten => s,2,Background(encuesta)
exten => 2,1,Wait(1)
exten => 2,n,AGI(/root/test.php)
Thank you very much