[prev in list] [next in list] [prev in thread] [next in thread]
List: asterisk-dev
Subject: Re: [asterisk-dev] ast_do_masquerade, zombie channels and the ami
From: Russell Bryant <russell () digium ! com>
Date: 2008-09-17 16:08:09
Message-ID: 8B9196C4-56D7-4415-8525-3F9A0913B8CC () digium ! com
[Download RAW message or body]
On Sep 17, 2008, at 4:04 AM, Marcus Hunger wrote:
> Hi,
> I have got a minor problem with ast_do_masquerade. When this
> function renames channels, in order to mark them as zombies, it
> appends the string <ZOMBIE> to the name. This is sufficient to
> recognise these channels with AMI. The problem with this is, that
> when the length of the channel's name + the length of "<ZOMBIE>"
> exceeds AST_CHANNEL_NAME, the resulting channelname gets truncated,
> and so the channel can not be identified using AMI correctly. Trying
> to keep track of renamed/cloned channels seems difficult enough for
> me, but when this strange effect occurs, that gets even harder, if
> not impossible.
>
> I'd like to suggest changing the renaming to something, that keeps
> the "<ZOMBIE>" suffix intact, so it can be tracked correctly as what
> it is or introducing another way to track them. Maybe just
> publishing the effective renaming and omitting the masquerading
> magic would also be a good solution. A zombie channel does not seem
> so useful anyway.
How about if on your system you use really long channel names, you
increase AST_CHANNEL_NAME?
--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic