Limit duration of a incoming call

Hi, I need to setup a duration time for certain incoming call.

I found some tips for outbound calls, how can I make the same for incoming calls?

Using freepbx 2.11


make a context

exten => _.,1,Set(TIMEOUT(absolute)=120)
exten => _.,n,GOTO(from-pstn,{EXTEN},1)

and send the inbound calls top that context