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

Alex Balashov abalashov at evaristesys.com
Wed Jul 21 04:15:07 CEST 2010


On 07/20/2010 10:12 PM, Graham Wooden wrote:

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

Yep:

http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:1.4.x#unix_time_stamp

> 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...

$ci --

http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:1.4.x#call-id

-- 
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-users mailing list