An easy way of numbering calls sequentially?

I’m trying figure out a method for getting a short id to use for logging call sessions. I want to be able to track the session through the syslogs as they go from AGI to AGI. I know about ${UNIQUEID} but it’s a bit lengthy. Ideally, I’d like to have a 1-3 digit number incremented after each Answer(), starting again from 0 at the end of the day when it rolls over.

Have a look at SetGlobalVar() Then before you answer you could do some incrementing… [${glovarhere} + 1] Not sure about having it reset every day but that should be a good start to get you going.