Combine Asterisk r and S(n) dial parameters

Hi,

I will love to issue a dial command in my asterisk extensions that will make the call hangup after a maximum of 3600 Secs == S(3600). i.e. 1 hr and at thesame time pass no audio from the called channel(s) until one answers i.e. the r flag.
Can anyone please indicate the right way to do this? I have tried the following so far and none works:
exten => _00.,1,Dial(IAX2/myaccount@someprovider${EXTEN},r||S(3600))
exten => _00.,1,Dial(IAX2/myaccount@someprovider${EXTEN},r|S(3600))
exten => _00.,1,Dial(IAX2/myaccount@someprovider${EXTEN},r,S(3600))
exten => _00.,1,Dial(IAX2/myaccount@someprovider${EXTEN},r,S(3600))

I am tired of my trial and error and I occasionaly get a “Invalid Timeout Specified” :imp:

Thanks 4 ur help,
Pedros.

Have you tried this?

exten => _00.,1,Dial(IAX2/myaccount@someprovider${EXTEN},rS(3600))

Thanks very much Willkemp… it works!!!