[asterisk-dev] forking calls from friends

Raphael Jacquot sxpert at esitcom.org
Mon Aug 28 07:59:08 MST 2006


Bromont - wrote:
> Hello all...
> 
>   I had been looking for a way to isolate calls from my daughter's friends. I wanted something similar in function to lookupblacklist, where I can lookup the number in the database and send those calls to my daughter's extension and voicemail. I decided to copy app_lookupblacklist.c as app_lookupfriendlist.c and changed the "blacklist" variables to "friendlist" variables. After a compile and some additions to the friendlist database key, everything works just like lookupblacklist. I'm just curious if there's a simpler way of doing this, or if app_lookupfriendlist would possibly be a welcome addition to the program distribution.... Thanks...

the better idea here would probably make the blacklist app general, and 
allow specifying which list you are looking for things in.
for instance you could rename the app "LookupCallerList" with a 
parameter such as "black" or "friends" or something :D



More information about the asterisk-dev mailing list