[asterisk-dev] Is ast_channel->uniqueid really unique ?

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Mon Jan 22 15:39:08 MST 2007


On Monday 22 January 2007 04:45, Oded Arbel wrote:
> From what I understand, the uniqueid field in the ast_channel is
> unique for a single installation of Asterisk, and is composed of the
> unix timestamp at the creation of the channel plus some running
> counter. 
>
> The problem I'm having, is that I don't think that a channel's
> uniqueid is unique across multiple Asterisk installations - under
> some very common behaviors of a multiple Asterisk installation, some
> channels created on different Asterisk instances will have the same
> uniqueid.

Just set systemname in asterisk.conf.  The system name then becomes part
of the uniqueid.  This is new as of 1.4.

-- 
Tilghman


More information about the asterisk-dev mailing list