[asterisk-users] are channel names unique

2008-05-15 Thread Benjamin Jacob
Hello ppl, 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

Re: [asterisk-users] are channel names unique

2008-05-15 Thread Russell Bryant
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

Re: [asterisk-users] are channel names unique

2008-05-15 Thread Philipp Kempgen
Benjamin Jacob schrieb: 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. ast_channel_alloc() in main/channel.c ---cut--- if (ast_strlen_zero(ast_config_AST_SYSTEM_NAME)) {

Re: [asterisk-users] are channel names unique

2008-05-15 Thread Philipp Kempgen
Philipp Kempgen schrieb: Benjamin Jacob schrieb: 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. ast_channel_alloc() in main/channel.c ---cut--- if

Re: [asterisk-users] are channel names unique

2008-05-15 Thread Benjamin Jacob
- Ben. --- On Thu, 5/15/08, Russell Bryant [EMAIL PROTECTED] wrote: From: Russell Bryant [EMAIL PROTECTED] Subject: Re: [asterisk-users] are channel names unique To: [EMAIL PROTECTED], Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Date: Thursday

Re: [asterisk-users] are channel names unique

2008-05-15 Thread Russell Bryant
Benjamin Jacob wrote: 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