[asterisk-commits] mvanbaak: trunk r143843 - /trunk/doc/tex/privacy.tex

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Sep 21 04:53:02 CDT 2008


Author: mvanbaak
Date: Sun Sep 21 04:53:01 2008
New Revision: 143843

URL: http://svn.digium.com/view/asterisk?view=rev&rev=143843
Log:
fix privacymanager example so it shows how to use the
PRIVACYMRGSTATUS variable

Modified:
    trunk/doc/tex/privacy.tex

Modified: trunk/doc/tex/privacy.tex
URL: http://svn.digium.com/view/asterisk/trunk/doc/tex/privacy.tex?view=diff&rev=143843&r1=143842&r2=143843
==============================================================================
--- trunk/doc/tex/privacy.tex (original)
+++ trunk/doc/tex/privacy.tex Sun Sep 21 04:53:01 2008
@@ -82,13 +82,15 @@
 exten => s,3,Zapateller,nocallerid
 exten => s,4,PrivacyManager
      ;; do this if they don't enter a number to Privacy Manager
+exten => s,5,GotoIf($[ "${PRIVACYMGRSTATUS}" = "FAILED" ]?s,105)
+exten => s,6,GotoIf($[ "${CALLERID(num)}"  = "7773334444" & "${CALLERID(name)}" : "Privacy Manager" ]?callerid-liar,s,1:s,7)
+exten => s,7,Dial(SIP/yourphone)
 exten => s,105,Background(tt-allbusy)
 exten => s,106,Background(tt-somethingwrong)
 exten => s,107,Background(tt-monkeysintro)
 exten => s,108,Background(tt-monkeys)
 exten => s,109,Background(tt-weasels)
 exten => s,110,Hangup
-exten => s,5,GotoIf($[ "${CALLERID(num)}"  = "7773334444" & "${CALLERID(name)}" : "Privacy Manager" ]?callerid-liar,s,1:s,7)
 \end{verbatim}
 \end{astlisting}
 




More information about the asterisk-commits mailing list