search for: timestart

Displaying 7 results from an estimated 7 matches for "timestart".

2011 Oct 31
2
lapply and Two TimeStamps as input
Dear all, I have a function that recognizes the following format for timestamps "%Y-%m-%d %H:%M:%S" my function takes two input arguments the TimeStart and TimeEnd I would like to help me create the right list with pairs of TimeStart and TimeEnd which I can feed to lapply (I am using mclapply actually).  For every lapply I want two inputs to be fed to my function. I only know how to feed one input to the lapply Could you please help me with that?...
2010 Feb 03
1
CDR / billsec / originate / local chan
.... actionid:.1306903_89#AJ_ORIGINATE_25 timeout:.40000 exten:.s async:.true callerid:."".<61211111111> context:.campaignType_5 priority:.1 channel:.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(B...
2012 Mar 15
1
Subtract Date Between columns
Hello I have this little dataset, my goal is create one column in the data.frame with between the diference DataTime and Duration. I'm using the next code to make do this TIME_STAMP SESSIONTIME Time TimeStart 1162343932 8320 2006-10-31 19:01:34 2006-10-31 16:42:54 1162343215 592 2006-10-31 19:02:04 2006-10-31 18:52:12 1162341465 11875 2006-10-31 19:02:27 2006-10-31 15:44:32 1162339324 118 2006-10-31 19:03:01 2006-10-31 19:03:03 1162339381...
2003 Jul 11
4
module : cdr_sybase.so
...e(struct timeval tv) { struct tm tm; time_t t; t = tv.tv_sec; localtime_r(&t,&tm); return tm; } static int sybase_log(struct ast_cdr *cdr) { struct tm tm, end, start, answer; struct timeval tv; struct timezone tz; char *sqlcmd, timestr[128], timestart[128], timeend[128], timeanswer[128]; time_t t; sqlcmd = (char *)malloc(2048); memset(sqlcmd,0,2048); start = _date(cdr->start); end = _date(cdr->end); answer = _date(cdr->answer); gettimeofday(&tv,&tz); t = tv.tv_sec; localtime_r(&t,&tm); strftime(ti...
2010 Feb 08
0
originate, local channel and failure extension
...ial 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%m%d%H%M%S)}) exten = failed,5,Set(timefinished=${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}) It looks like I am now being forced to use a local exten so I can access all the CDR variables I need, with the way t...
2019 Apr 04
0
[Bug 1332] New: Time-matching extension (--match time) broken by timestamping changes in kernel 4.20 and later
...ed prebuilt kernels for Fedora, but I do not think this is a distribution specific problem. iptables is at version 1.8.0. Steps to reproduce: 1) flush/delete all iptables rules and set all chains to ACCEPT 2) add a rule with time matching (e.g, 'iptables -A OUTPUT -d example.com --match time --timestart <five minutes ago UTC> --timestop <five minutes in the future UTC> -j DROP') 3) verify that packets to example.com are correctly dropped on 4.19.6 4) verify that packets to example.com are NOT dropped on 4.20.17 5) reintroduce 'skb->tstamp = 0;' in "net/ipv4/tcp_outp...
2010 May 12
3
Asterisk core dumping on SendFax with FFA
...b-sbc01' changed to state '1' (Not in use) but we don't care because they're not a member of any queue. [May 12 22:47:09] DEBUG[22725]: pbx.c:3692 pbx_extension_helper: Launching 'Set' -- Executing [s at tbsendfax:1] Set("SIP/vltb-sbc01-00000000", "timestarted=20100512224709") in new stack [May 12 22:47:09] DEBUG[22725]: pbx.c:3692 pbx_extension_helper: Launching 'Answer' -- Executing [s at tbsendfax:2] Answer("SIP/vltb-sbc01-00000000", "") in new stack [May 12 22:47:09] DEBUG[22725]: pbx.c:3692 pbx_extension_hel...