[asterisk-users] Newbie query: how to write priority n+101

Philipp Kempgen philipp.kempgen at amooma.de
Thu Feb 5 16:19:11 CST 2009


Tilghman Lesher schrieb:
> On Thursday 05 February 2009 15:37:19 Geoff Lane wrote:

>> BTW, on a related note, I'm having some trouble with Privacy Manager
>> that I'd appreciate some insight with. In one priority, I'm calling
>> PrivacyManager(2,8). In the next priority, I've got:
>>   GotoIf($["${PRIVACYMGRSTATUS}" = "FAILURE"]?withheld,1)
>> Which I almost cribbed straight out of *TFOT.

> The correct string is "FAILED", not "FAILURE".

Whenever you experience a problem like this just have a look
at what the variable contains. Sometimes the documentation is
wrong.

	PrivacyManager(...);
	Verbose(1,### PRIVACYMGRSTATUS: ${PRIVACYMGRSTATUS});
	GotoIf(...);


   Philipp Kempgen

-- 
AMOOCON 2009, May 4-5, Rostock / Germany   ->  http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 



More information about the asterisk-users mailing list