Attended Call Transfer

Hi,

I am new to asterisk.I am trying to make a attended call transfer by using *2 and typing the extension number,the call is not transfered.following is my commands

exten => 5102,1,macro(senddtmf)
exten => 5102,2,Dial(SIP/5102)
exten => 5104,1,Transfer(SIP/5104)
exten => 5104,1,macro(senddtmf)
exten => 5104,1,Dial(SIP/5104)
exten => 5104,3,Hangup()

Thanks in advance