Need to capture CDR Start Time in dialplan

${CDR(start)} is the only variable through which I can get the call start time in dialplan?

There’s probably more (and maybe better) but what about {EPOCH} or even the integer portion of {UNIQUEID}? Also take a look at the CHANNEL() function, there may be something there.

Note that EPOCH is the current second so you should grab it early :smiley:

UNIQUEID is supposed to be opaque, so you rely on its structure at your own risk. Also, it is not necessarily constant during a call.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.