[asterisk-users] are channel names unique
Benjamin Jacob
ben4asterisk at yahoo.com
Thu May 15 07:03:40 CDT 2008
So I thought!! Thanks guys.
But a query with regards to this :
I need to send hangup commands based on these channel names only. So at any given point of time, for 'n' ongoing calls, will these 'n' channel names be different/ unique?
If not, using AMI, how do we hangup a given channel?
cheers
- Ben.
--- On Thu, 5/15/08, Russell Bryant <russell at digium.com> wrote:
> From: Russell Bryant <russell at digium.com>
> Subject: Re: [asterisk-users] are channel names unique
> To: ben4asterisk at yahoo.com, "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
> Date: Thursday, May 15, 2008, 11:46 AM
> Benjamin Jacob wrote:
> > Are the channel names generated on 'Dial's
> supposed to be unique?
> > I see the channel names repeating on my asterisk box.
> I just wanted to confirm this.
> > Can anyone point me to the lines of code where the
> channel name is generated/calculated? I tried looking, but
> it looks like quite a big maze.
>
> Channel names are not guaranteed to be unique at all.
> However, all channels
> have a uniqueid associated with them. You can access it in
> the dialplan via
> ${UNIQUEID}.
>
> --
> Russell Bryant
> Senior Software Engineer
> Open Source Team Lead
> Digium, Inc.
More information about the asterisk-users
mailing list