SIP attended transfers are indistinguishable from second line outgoing calls when the dialplan is running. For features transfers and SIP blind transfers, you might be able use various dialplan functions to look for hints in the SIP headers and channel variables.
There may be some channel variable set when a SIP attended transfer completes, but that would not be available for the actual call, until complete, unless you looked at it from, say, AMI. AMI should see events that may give a clue.
because in the attended case asterisk answers an employer call while in the unattended asterisk answers directly the customer, so different messages etc…
i found that:
TRANSFERERNAME variable has value after an attended transfer.
BLINDTRANSFER variable after an unattended one.