Announce current time as part of call flow

Hi, is there a way of having the system announce / speak the current time as part of the normal incoming call flow.


Thank you for calling XYZ company the current time is

…next step

Not that I’m aware of, but it is a cool idea.

You could probably build a “welcome” misc destination that ran through a series of steps before it deposited your calling into an IVR or something.

There is a ‘speaking clock’ feature code, the dialplan for which you could use as a basis for a Custom Destination to do what you need.


In the file extensions_custom.conf add the lines:

exten => s,1,Noop(Entering user defined context read-current-time in extensions_custom.conf)
exten => s,n,Answer
exten => s,n,SayUnixTime(${FutureTime},,IMp)    ; modify the options to suit how you want time read back
exten => s,n,return

In Admin, custom Destinations, create a new destination with a target of read-current-time,s,1, enable ‘Return’ and set the caller destination. Then send the caller to this custom destination after your announcement.

Thanks Lorne.
I’ll have a play with that code, but it looks exactly what I want.

1 Like

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