diff --git a/macro.conf b/macro.conf index 6cdfbfc..537e292 100644 --- a/macro.conf +++ b/macro.conf @@ -4,19 +4,24 @@ exten => s,1,Set(tz=Europe/London) ; Change this to be your timezone, see /usr/share/zoneinfo for other options ; Check the voice parameter matches one of the voices available, default to PAT -exten => s,n,Set(VOICE=${FILTER(ABCDEFGHIJKLMNOPQRSTUVWXYZ,TOUPPER(${ARG1}))}) +exten => s,n,Set(VOICE=${FILTER(ABCDEFGHIJKLMNOPQRSTUVWXYZ,${TOUPPER(${ARG1})})}) exten => s,n,GotoIf($["${VOICE}":"GORDON"]?set_gordon) exten => s,n,GotoIf($["${VOICE}":"ETHEL"]?set_ethel) exten => s,n,GotoIf($["${VOICE}":"PAT"]?set_pat) exten => s,n,Goto(set_pat) -; Use Gordon Gow (Australia) - AUDIO NOT YET AVAILABLE +; Use Gordon Gow (Australia) exten => s,n(set_gordon),Set(VOICE="gordon_gow") exten => s,n,Goto(tim_ringtone) -; Use Ethel Cain (UK) - AUDIO NOT YET AVAILABLE -exten => s,n(set_ethel),Set(VOICE="ethel_cain") -exten => s,n,Goto(tim_ringtone) +; Use Ethel Cain (UK) - AUDIO NOT YET AVAILABLE so return congestion tone +; exten => s,n(set_ethel),Set(VOICE="ethel_cain") +; exten => s,n,Goto(tim_ringtone) +; +exten => s,n(set_ethel),Progress +exten => s,n,Playtones(congestion) +exten => s,n,Wait(10) +exten => s,n,Hangup ; Use Pat Simmons (UK) exten => s,n(set_pat),Set(VOICE="pat_simmons")