In my Dialplan I have something like this:
exten => 701,1,Dial(SIP/702&SIP/703&SIP/704&SIP/OutSideNumber@SipTrunk&SIP/OutsideNumber2@SipTrunk)
exten => 701,2,AGI()
What I am looking for is a variable that I can pass to an AGI Script that will tell me which of those numbers actually answered the call to extension 701. Is there such a critter?