Displaying 2 results from an estimated 2 matches for "timefinish".
Did you mean:
timefish
2010 Feb 03
1
CDR / billsec / originate / local chan
...hannel:.SIP/trunk1/61212142321
And the campaignType_5 context looks similar to:
[campaignType_5_]
exten = s,1,Answer()
exten = s,n,Set(timestarted=${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)})
exten = s,n,Set(CALLSTATUS=0)
exten = s,n,Background(lyrics-louie-louie)
exten = s,n,WaitExten(5)
exten = s,n,Set(timefinished=${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)})
exten = s,n,Set(DIGITPRESSED=99)
exten = s,n,Set(TIMETOPRESS=${timestarted)})
exten = s,n,NoOp(Billsec is: ${CDR(billsec)})
exten = s,n,Hangup
exten = 1,1,Set(DIGITPRESSED=${EXTEN})
exten = 1,n,Set(TIMETOPRESS=${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)})
exten = 1,3,...
2010 Feb 08
0
originate, local channel and failure extension
...e
callerid:."".<61211111111>
context:.campaignType_5
priority:.1
channel:.SIP/trunk1/61212142321
And the campaignType_5 context would handle the call processing,
capturing a failed dial attempt in the failed exten :
[campaignType_5_]
exten = s,1,Answer()
...
exten = h,1,Set(timefinished=${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)})
exten = h,2,GotoIf($["${TIMETOPRESS}foo" = "foo"]?h,20)
...
exten = failed,1,Set(DIGITPRESSED=98)
exten = failed,2,Set(TIMETOPRESS=${timestarted})
exten = failed,3,Set(CALLSTATUS=6)
exten = failed,4,Set(timestarted=${STRFTIME(${EPOCH},,%Y%...