[asterisk-users] deprecated - CLI help vs. source code

2007-02-26 Thread Philipp Kempgen
Could someone with inside knowledge comment on that? If the
source code says deprecated but the CLI help does not mention
that - whom do I trust?


 Original message 
Subject: Re: [asterisk-users] Ex-Girlfriend syntax and RealTime Extensions
From: Philipp Kempgen [EMAIL PROTECTED]

Thomas Kenyon wrote:
 Philipp Kempgen wrote:
 You might use the Blacklist() application in 1.2 (deprecated!).
 Using AstDB is an option:

 
 Is it really deprecated? I use LookupBlacklist (tested as working) in 
 1.4, and show application LookupBlacklist doesn't mention it.

But the source code (app_lookupblacklist.c) has this line:
ast_log(LOG_WARNING, LookupBlacklist is deprecated.  Please use
${BLACKLIST()} instead.\n);

So I'm not sure if it's deprecated or not. But this points us
to a new function: BLACKLIST()
[...]



Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
 Let's use IT to solve problems and not to create new ones.
   Asterisk - http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] deprecated - CLI help vs. source code

2007-02-26 Thread Bala Neelakantan
Usage of LookupBlackList is deprecated.  This means, the usage will work,
but there is no guarantee that it will work in future.  You might want to
try using BLACKLIST() instead.

Thanks,
Neel


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philipp
Kempgen
Sent: Monday, February 26, 2007 3:07 PM
To: asterisk-dev@lists.digium.com
Cc: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] deprecated - CLI help vs. source code

Could someone with inside knowledge comment on that? If the
source code says deprecated but the CLI help does not mention
that - whom do I trust?


 Original message 
Subject: Re: [asterisk-users] Ex-Girlfriend syntax and RealTime Extensions
From: Philipp Kempgen [EMAIL PROTECTED]

Thomas Kenyon wrote:
 Philipp Kempgen wrote:
 You might use the Blacklist() application in 1.2 (deprecated!).
 Using AstDB is an option:

 
 Is it really deprecated? I use LookupBlacklist (tested as working) in 
 1.4, and show application LookupBlacklist doesn't mention it.

But the source code (app_lookupblacklist.c) has this line:
ast_log(LOG_WARNING, LookupBlacklist is deprecated.  Please use
${BLACKLIST()} instead.\n);

So I'm not sure if it's deprecated or not. But this points us
to a new function: BLACKLIST()
[...]



Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
 Let's use IT to solve problems and not to create new ones.
   Asterisk - http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users