Connection time limit for Talking Clock?


(John) #1

Is it possible to have a limit on the length of time a caller is connected to the “talking clock”? We have it attached to a toll free number right now and so far haven’t had a problem but would like to prevent abuse if possible.

Also any ideas how to add an announcement before the application runs? ie “The time is being brought to you by Bob’s BBQ”


(Simon Telephonics) #2

You can copy the Speaking Clock dialplan and customize it as I have done in the linked post.

https://community.freepbx.org/t/speaking-clock/73276

edit: Lorne’s suggestion below is better.


(Lorne Gaetz) #3

Set up your call flow to a Custom Destination that sets TIMEOUT(absolute) to a max value in seconds, then to an announcement that plays your ad, then to the speaking clock.

See this post: https://community.freepbx.org/t/limiting-maximum-call-duration-have-the-call-end-4-minutes-after-the-agent-accepts-the-call-set-timeout-absolute-240/44495/2?u=lgaetz


#4

By default, the speaking clock hangs up after ~90 seconds. If that’s too long, modify it, or do as @lgaetz suggested.