[asterisk-dev] ast_do_masquerade, zombie channels and the ami

Marcus Hunger hunger at sipgate.de
Wed Sep 17 06:04:13 CDT 2008


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.

Best regards, Marcus


-- 
Marcus Hunger - hunger at sipgate.de
Telefon: +49 (0)211-63 55 55-61
Telefax: +49 (0)211-63 55 55-22

sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106 / 5724 / 7147, Umsatzsteuer-ID: DE219349391

www.sipgate.de - www.sipgate.at - www.sipgate.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20080917/2f731aa4/attachment.htm 


More information about the asterisk-dev mailing list