In article <[EMAIL PROTECTED]>,
Vieri <[EMAIL PROTECTED]> wrote:
> What is the format of the UNIQUEID variable?
>
> It seems to be something like:
> 40651204817492.56
>
> Does it always have the pattern
> <long_number>.<short_number>?
If the system has been running a long time with many calls, it could
be <long_number>.<long_number> :-)
The first ("long") number is the Unix time_t timestamp (number of seconds
since 00:00:00 GMT on 1 Jan 1970) of when the channel was created.
The second ("short") number is a sequence number, starting at 0 for the
first created channel since Asterisk started up, and incrementing by 1
for each subsequent channel.
In Asterisk 1.4 or later, an optional system name can be defined in
asterisk.conf, and if defined, the unique ID becomes:
<system_name>-<timestamp>.<seq_num>
Cheers
Tony
--
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users