Inbound call on Queue answered on SIP or Followme?

hi everyone.
I have a Asterisk 1.8 PBX on which I have registered an agent SIP phone with a followme number. Next I create an asterisk queue on which I login this agent. So I expect an incoming call on this queue to go to this SIP phone and if it’s not answered, it rings the follow me number.
The setup works fine, however I want find out if the incoming call was answered on the SIP or it’s followme.

Can someone please give me a pointer of how to do that.

Thanks

The terminology you are using and the lack of dialplan fragments suggests you are using a GUI. If that is the case, you need to ask on the forum for the GUI. Neither FreePBX nor Elastix are covered on this board.