[asterisk-dev] channel name uniqueness

Tim Ringenbach tim.ringenbach at gmail.com
Wed May 20 10:50:37 CDT 2009


On Mon, May 18, 2009 at 3:39 PM, Russell Bryant <russell at digium.com> wrote:

> 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.
>
>
I did recently notice that the unique ID isn't copied during a channel masq
and had been wondering if that was intentional. For what I was doing, it
would have been much more convenient if it did copy.  The way it is now, the
same channel name (e.g. SIP/foo-xxxx), representing the same actual call
leg, will change uniqueid's (because it isn't copied into the channel struct
on masq) during the lifetime of the call if certain events happen.

Is that on purpose or an oversite? If it's intentional, you might want to
add that quirk to the documentation.

--Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090520/161bca6e/attachment.htm 


More information about the asterisk-dev mailing list