[SR-Users] Variables for UNIX timestamps and acc/callid?

Graham Wooden graham at g-rock.net
Wed Jul 21 04:12:35 CEST 2010


Hi there,

Hopefully there are two simple answers for these. Running Kamailio 1.4.2.

1. Is there a variable that holds the current UNIX timestamp? Either when
called in a route() or method.

2. What is the variable that is equivalent to the "callid" in the ACC
module? Or better yet, what is the best way to retrieve that ACC field in
the config?  I need a unique ID for the complete call ie. From INVITE to
BYE...

I am calling out to a new external CDR "gatherer of sorts" and would like
this information to be present...

Thanks,

-graham





More information about the sr-users mailing list