mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Merged revisions 143843 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r143843 | mvanbaak | 2008-09-21 11:53:01 +0200 (Sun, 21 Sep 2008) | 3 lines fix privacymanager example so it shows how to use the PRIVACYMRGSTATUS variable ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@143845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -82,13 +82,15 @@ exten => s,2,SetVar,repeatcount=0 | ||||
| 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} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user