Displaying 1 result from an estimated 1 matches for "warn_".
Did you mean:
warn
2011 Aug 24
0
Time-limited calls -- revisited
...> pbk,1,Answer()
exten => pbk,n,ChanSpy(${WARNED_PARTY},qsW)
exten => pbk,n,Hangup()
[macro-set-1-min-warning]
exten => s,1,NoOp(Getting ready to create a callfile for timed warning on
channel ${ARG1})
exten => s,n,Set(now=${STRFTIME(${EPOCH},,%Y%m%d%H%M.%S)})
exten => s,n,Set(warn_time=${STRFTIME($[${EPOCH} + 60],,%Y%m%d%H%M.%S)})
exten => s,n,NoOp(Right now the time is ${now})
exten => s,n,NoOp(Warning will sound at ${warn_time})
exten => s,n,System(echo -e "Channel:Local/s at one-minute-warning\nContext:one-
minute-warning\nSetVar: __WARNED_PARTY=${ARG1}\nExte...