[asterisk-dev] channel name uniqueness

Olle E. Johansson oej at edvina.net
Tue May 19 01:44:54 CDT 2009


18 maj 2009 kl. 22.39 skrev Russell Bryant:

> Paul Albrecht wrote:
>> I have a question about the channel name. Specifically, is it  
>> guaranteed
>> to be unique? The reason I'm asking is because sip channels use the
>> pointer to their private block in their channel name, but that only
>> ensures uniqueness if asterisk is compiled 32 bit.
>
> Channel names are not guaranteed to be unique throughout system
> lifetime.  There will (should!) never be more than one channel with  
> the
> same name at the same time, though.
>
> The unique ID field on a channel is what uniquely identifies it from
> others that had the same name.  The unique ID field is a monotonically
> increasing integer, a timestamp, and optionally, a system name.
>
We should propably add some documentation on channel name and UniqueID
uniqueness to Doxygen docs...

/O



More information about the asterisk-dev mailing list