mirror of
https://github.com/D-Modem/speaking-clock.git
synced 2026-11-28 20:48:04 -08:00
app_speakingclock adds SpeakingClock(), which places each announcement by sample against the system clock, so the time mark (the third pip) lands on the second it announces, as on the real machines. Voices are folders of 8 kHz WAV clips with a voice.conf; the module supports TIM-style (phrase, hour, minute, seconds, pips), talking-clock, chime and hourly voices. voices/ holds the asterisk-tim pair (Pat Simmons, Gordon Gow), garrysblog's Amy and Celine, and the Steve's Talking Clock library, converted by tools/build_voices.py from what tools/fetch-sources.sh downloads. The recordings belong to their original owners (NOTICE.md); the code is GPL-2.0-or-later. freepbx/speakingclock is a FreePBX module: clocks as destinations, with optional numbers to dial, and speakingclock.conf from its settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRVXG9MBYPxmcs9cFxs
25 lines
868 B
Plaintext
25 lines
868 B
Plaintext
; speakingclock.conf - app_speakingclock, the SpeakingClock() application
|
|
;
|
|
; In extensions.conf, for example:
|
|
;
|
|
; exten => 123,1,SpeakingClock(tim-pat-simmons,t(Europe/London))
|
|
; exten => 1194,1,SpeakingClock(tim-gordon-gow,t(Australia/Sydney))
|
|
; exten => 767,1,SpeakingClock(atandt-mike,t(America/Los_Angeles)d(300))
|
|
;
|
|
; "speakingclock show voices" lists the voices. "module reload
|
|
; app_speakingclock" rereads this file and the voices.
|
|
|
|
[general]
|
|
; Where the voice folders are. Default: <astdatadir>/sounds/speaking-clock
|
|
;voicedir=/var/lib/asterisk/sounds/speaking-clock
|
|
|
|
; The voice used when SpeakingClock() is given none.
|
|
;default_voice=tim-pat-simmons
|
|
|
|
; The time zone used when the t() option is not given. Default: the
|
|
; system's.
|
|
;timezone=Europe/London
|
|
|
|
; Hang up after this many seconds (0: never). The d() option overrides it.
|
|
;maxduration=180
|