Skip to content

Commit

Permalink
unified sample naming scheme which matches all three clocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Seward committed Dec 24, 2015
1 parent 02d620b commit 2c25789
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions macro.conf
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ exten => s,n,set(TimMins=${IF($[ "${TimMins}" = "00"] ? "oclock" : ${TimMins})})
exten => s,n,set(TimSecs=${IF($[ "${TimSecs}" = "00"] ? "precisely" : and_${TimSecs}_seconds)})

; Announce the time...
exten => s,n,playback(TIM/${VOICE}/at_the_third_stroke_it_will_be) ; 1.5 second sample
exten => s,n,playback(TIM/${VOICE}/${TimHours}) ; 1.5 second sample
exten => s,n,playback(TIM/${VOICE}/${TimMins}) ; 1.5 second sample
exten => s,n,playback(TIM/${VOICE}/${TimSecs}) ; 2 second sample
exten => s,n,playback(TIM/${VOICE}/pips) ; 3.5 second sample - takes us to 10 seconds
exten => s,n,playback(TIM/${VOICE}/the_phrase) ; "At the third stroke"
exten => s,n,playback(TIM/${VOICE}/hour_${TimHours}) ; "it will be three"
exten => s,n,playback(TIM/${VOICE}/${TimMins}) ; "45"
exten => s,n,playback(TIM/${VOICE}/${TimSecs}) ; "and 30 seconds"
exten => s,n,playback(TIM/${VOICE}/pips) ; "pip, pip, pip"

; And go back to the start of playback
exten => s,n,GotoIf($[${EPOCH} >= ${MaxConnectTime}]?tim_hangup:tim_saytime)
Expand Down

0 comments on commit 2c25789

Please sign in to comment.