How do I limit maximum call duration?

I need to use Gosub. Apparently this is how you can do it using Macro

On Freepbx in extensions_custom.conf

[from-pstn-custom]
exten => _X.,1,noop(Limiting maximum call duration)
exten => _X.,n,Set(TIMEOUT(absolute)=900)

I think this just limits inbound, which is a good start. However, I would like to try limit outbound as well.

Your question is really, how to limit such things with FreePBX. While you are free to ask here, knowledge is limited and thus the FreePBX forum is probably a better place for such a question - https://community.freepbx.org/

Which for anyone reading this, they did at https://community.freepbx.org/t/how-do-i-limit-maximum-call-duration-on-v17/102012

I’m very sorry if I misunderstood your point, but to limit the duration of regular calls, I used the ‘L’ option in the Dial application, which is already supported. You can set the maximum allowed call duration.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.