Asterisk 1.6 Speaking/Talking clock in my trixbox install was saying "at the sound of the tone the time will be exactly {hour} {minute}" and then hanging up.
My symptoms matched one freepbx support ticket and another freepbx support ticket as well as being commented on the freepbx forums.
Turns out the syntax of extensions_additional.conf generated by Freepbx does not match what Asterisk 1.6 is expecting.
Lines such as:
need to be written in Asterisk 1.6 as:
Otherwise the "and" and "seconds" files can not be found. Though this syntax originally matched the usage instructions of SayUnixTime, as noted by a user on the trixbox forums :
The file that generates this is /var/www/html/admin/modules/infoservices/functions.inc.php but beware Asterisk 1.4 still needs the slashes.
This was later fixed properly but trixbox has yet to release this version of freepbx as an update.
Okay so it was not a deal breaker but few people seemed to have researched this / or provided a good explanation with workaround.
For now I have just merged in the changes as per the proper fix listed above and I have updated the usage instructions on the SayUnixTime wiki page.
My symptoms matched one freepbx support ticket and another freepbx support ticket as well as being commented on the freepbx forums.
Turns out the syntax of extensions_additional.conf generated by Freepbx does not match what Asterisk 1.6 is expecting.
Lines such as:
*60,n,SayUnixTime(${FutureTime},,IM \'and\' S \'seconds\' p)
need to be written in Asterisk 1.6 as:
*60,n,SayUnixTime(${FutureTime},,IM 'and' S 'seconds' p)
Otherwise the "and" and "seconds" files can not be found. Though this syntax originally matched the usage instructions of SayUnixTime, as noted by a user on the trixbox forums :
"It (SayUnixTime) has some filenames (for playback) hardcoded in the file say.c and if they are not present, the extension exits non-zero followed by a hangup."
The file that generates this is /var/www/html/admin/modules/infoservices/functions.inc.php but beware Asterisk 1.4 still needs the slashes.
This was later fixed properly but trixbox has yet to release this version of freepbx as an update.
Okay so it was not a deal breaker but few people seemed to have researched this / or provided a good explanation with workaround.
For now I have just merged in the changes as per the proper fix listed above and I have updated the usage instructions on the SayUnixTime wiki page.
Matthew1471's ASP 


