Summary: | ASTERISK-07619: [patch][post 1.4] app_lookuplist - Match a number from the specified database family | ||
Reporter: | Marc Purdon (bromont) | Labels: | |
Date Opened: | 2006-08-29 08:23:45 | Date Closed: | 2006-09-21 17:48:04 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) app_lookuplist.c | |
Description: | This is basically app_lookupblacklist modified to allow any database family to be specified. It can be used to match your blacklist or friendlist/whitelist etc. | ||
Comments: | By: Serge Vecher (serge-v) 2006-08-29 08:31:29 I guess this is related to the following discussion on the mailing list ... http://lists.digium.com/pipermail/asterisk-dev/2006-August/022641.html By: Tilghman Lesher (tilghman) 2006-08-29 11:39:58 Why not just use the dialplan function ${DB()} directly? By: Marc Purdon (bromont) 2006-08-29 12:55:57 I was looking for the application to act the same way the current lookupblacklist works but with the added flexibility of being able to specify what db family to use. Although I see now that app_lookupblacklist is deprecated anyway and replaced by ${BLACKLIST()} I can use DB_EXISTS to achieve what I want, however the blacklist lookup can be done the same way as well: exten => 627,1,GotoIf(${DB_EXISTS(blacklist/${CALLERIDNUM})}?102) By: Tilghman Lesher (tilghman) 2006-09-21 17:48:04 The *lookup apps are all now removed in trunk, in favor of their dialplan function equivalents. |