[asterisk-users] Incremented UniqueId
Steve Edwards
asterisk.org at sedwards.com
Fri Sep 4 09:59:24 CDT 2009
> On 4 Sep 2009, at 10:36, Guillaume Yziquel wrote:
>>> Uniqueid: asterisk-1252055630.26702
>>
>> I'm really wondering how the Uniqueid works. Why is it incremented?
>> What is the dot for in the Uniqueid?
On Fri, 4 Sep 2009, Steve Howes wrote:
> The bit before the dot is a unix timestamp (Fri, 04 Sep 2009 09:13:50
> GMT in this case). The bit after the dot is.. randomish.. but
> sequential.
The bit before the dot is the number of seconds since the great Unix
Epoch.
The bit after the dot is the number of channels this instance of Asterisk
has created. See channel.c, ast_channel_alloc().
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list