[question] how to automatically transfer the call

HI
My question is , how can the asterisk automatically transfer the call to another phone after ,say 25 seconds.
I m going to do like this in extension.conf:

exten => _XXXXX01,1,Dial(sip/one,25,rtT)
exten => _XXXXX01,2,GotoIf($[${DIALSTATUS}=NOANSWER]?3:4)
exten => _XXXXX01,3,Dial(sip/two,25,rtT)
exten => _XXXXX01,4,Hangup()

will this work?

sure, that would work - or you could look at using queues.

thanks