How to configure outgoing call timer?

Dear All,

I am running Asterisk 1.8.5, how to configure outgoing call timer? (when outgoing call duration exceed 3 minutes then the call should be dropped automatically before it reached the caller should hear beep alert sound)

please help

Thanks & Regards

core show application Dial

In particular the L option.


I am sorry, I am really new with this, could you please advise in detail? …
in what file should I put that command?

googling and found clue:

exten = 2xx,1,Dial(SIP/${EXTEN:2},L(180000:60000:30000))

and I will put it on extensions_custom.conf

am I correct?

please help