Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Callweaver-users] Dialplan LookupBlacklist not working in1.2.0.1 SVN branches/rel/1.2


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> CallWeaver Users
View previous topic :: View next topic  
Author Message
mjagdis at eris-associ...
Guest





PostPosted: Fri Feb 12, 2010 4:38 am    Post subject: [Callweaver-users] Dialplan LookupBlacklist not working in1. Reply with quote

On Fri, Feb 12, 2010 at 12:30:39AM -0600, Seann Clark wrote:
Quote:
[...]
I have a dial plan I am working on,
and right now it is getting very cumbersome with the blacklisting of
numbers, and the LookupBlacklist command isn't working as it is described,
at least how it is described in the description from CW and how it is set
up in Asterisk.

My Dialplan(Extract, just the LookupBlacklist part):


;Local PTSN inbound
;exten => 111,1,Zapateller(answer|nocallerid)
exten => 111,1,LookupBlacklist
exten => 111,2,Wait(1)

How were you expecting it to work?

In * LookupBlacklist became a function that returns a value so you would
use it in an expression:
e.g.
exten => <ext>,n, GotoIf($[ LookupBlacklist() ] ? <a> : <b>)

In CW LookupBlacklist is an app (although the distinction between apps
and funcs is gone in CW so it really ought to return a value as well)
and its usage is:
e.g.
exten => <ext>,n, LookupBlacklist()
exten => <ext>,n, GotoIf($[ "${BLACKLISTED}" = "TRUE" ] ? <a> : <b>)

The CW description seems clear enough - although admittedly the example
could be improved! Smile

[Description]
Looks up the Caller*ID number on the active channel in the CallWeaver database
(family 'blacklist'). Sets the variable BLACKLISTED to either TRUE if the
number was found, or FALSE otherwise.
Example: database put blacklist <name/number> 1

Mike

--
Mike Jagdis Web: http://www.eris-associates.co.uk
Eris Associates Limited Tel: +44 7780 608 368
Reading, England Fax: +44 118 926 6974
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> CallWeaver Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services