[asterisk-users] format of UNIQUEID variable
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Thu Mar 6 10:50:07 CST 2008
On Thursday 06 March 2008 10:07:26 Vieri 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>?
UniqueID is composed of the epoch when a call starts, plus a monotonically
incrementing integer. Together, they will be unique for all calls originating
from a single machine, as long as they are treated as a string and not as a
float. Note that you can set asterisk to prefix the hostname to a uniqueid
from asterisk.conf, which should make uniqueIDs globally unique (as long as
you aren't repeating hostnames).
--
Tilghman
More information about the asterisk-users
mailing list