[SR-Users] Variables for UNIX timestamps and acc/callid?
Graham Wooden
graham at g-rock.net
Wed Jul 21 04:32:56 CEST 2010
Ah - perfect. Thank you Alex.
-graham
On 7/20/10 9:15 PM, "Alex Balashov" <abalashov at evaristesys.com> wrote:
> 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_stam>
p
>
>> 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
More information about the sr-users
mailing list