Displaying 1 result from an estimated 1 matches for "answermod".
Did you mean:
answermode
2007 Aug 10
2
Dialplan loop
...TIMEOUT(response)=20)
exten => s,n,Set(loop = 0)
exten => s,n,GotoIfTime(*|sun|*|*?night)
exten => s,n,GotoIfTime(17:00-23:59|mon-fri|*|*?night)
exten => s,n,GotoIfTime(12:00-23:59|sat|*|*?night)
exten => s,n,GotoIfTime(00:00-07:59|mon-sat|*|*?night)
exten => s,n,GosubIf($["${answermode}" = "holiday"]?holiday)
exten => s,n,Gosub(day)
exten => s,n(night),Background(silence/1)
exten => s,n,Background(welcome)
exten => s,n,Background(our-business-hours-are)
...
exten => s,n,Set(loop = $[${loop} + 1])
exten => s,n,GotoIf(${loop} = 1 ?night)
exten =&g...