I am creating a simple IVR menu at the moment and one of the option would be to get the current local time. I know there is a talking clock example script
some where on the system but could some one tell me where this file is located, so that I can have a look at the code and try and get a understanding of how custom scripts work under Asterisk.
I know I could just point the IVR script to the Talking clock default script but I want to get the user back after hearing the time rather than just stick them through to the talking Clock and leaving them there until the hang up.
The reason why I am trying to get the time and possible the date is that I will have overseas callers calling in to the system and they have no idea some times what the local time zone is. May be there might be a better way of doing this rather that having some thing like Press 1 for the local time.
Maybe I could have some thing like
Good Morning and welcome to ABC Company the local time is now 3am
To be put through to Sales Press 1 to be put through to Tech support press 2.