Derek Whitten
2007-Jan-29 08:02 UTC
[asterisk-users] LookupCIDName / LookupBlacklist syntax
WARNING[8384]: app_lookupcidname.c:70 lookupcidname_exec: LookupCIDName is deprecated. Please use ${DB(cidname/${CALLERID(num)})} instead. [WARNING[8384]: app_lookupblacklist.c:104 lookupblacklist_exec: LookupBlacklist is deprecated. Please use ${BLACKLIST()} instead. I seem to be unable to find any update to the new syntax for these functions in 1.4. Does anyone have the syntax or can someone point me in the right direction for this ? Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070129/a867036c/signature.pgp
something like (AEL syntax): if (${DB_EXISTS(cidname/${CALLERID(num)})}) CALLERID(name)="${DB(cidname/${CALLERID(num)})"; Derek Whitten wrote:> WARNING[8384]: app_lookupcidname.c:70 lookupcidname_exec: LookupCIDName is deprecated. > Please use ${DB(cidname/${CALLERID(num)})} instead. > > [WARNING[8384]: app_lookupblacklist.c:104 lookupblacklist_exec: LookupBlacklist is > deprecated. Please use ${BLACKLIST()} instead. > > > > I seem to be unable to find any update to the new syntax for these functions in 1.4. Does > anyone have the syntax or can someone point me in the right direction for this ? > > Thanks > > > > ------------------------------------------------------------------------ > > _______________________________________________ > --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 >