Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer...
[asterisk/asterisk.git] / pbx / ael / ael-test / ael-test2 / apptest.ael2
1 // this is a quick test to see how many of the apps we can spot j options in
2 // include this in a macro or extension
3 // at this moment, there are 18 apps that accept the j option.
4
5         AddQueueMember(zork,iface,20,j);
6         ADSIProg(sfile);
7         AgentCallbackLogin(agent,s,30@cont);
8         AgentLogin(agent,s);
9         AgentMonitorOutgoing(dcn);
10         AGI(whatever);
11         AlarmReceiver();
12         Answer(2);
13         AppendCDRUserField(value);
14         Authenticate(pword,adjmr);
15         BackGround(filename,snm,eng);
16         BackgroundDetect(filename,20,2,10);
17         Busy(10);
18         ChangeMonitor(fnamebase);
19         ChanIsAvail(Zap/5,sj);
20         ChanSpy(prefix,bg()qrv);
21         Congestion(5);
22         ControlPlayback(filename,10,6,4,0,5,7,j);
23         DateTime(unixtime,tz,fmt);
24         DBdel(fam/key);
25         DBdeltree(fam);
26         DeadAGI(command);
27         Dial(zap/1,45,A()CdD()fgG()hHjL()m()M()nNoprS()tTwW);
28         Dictate(basedir);
29         Directory(cont,dcont,f);
30         DISA(68986869876,context);
31         DumpChan(verblev);
32         DUNDiLookup(90709780978,context,bj);
33         EAGI(command);
34         Echo();
35         EndWhile();
36         Exec(appname,args);
37         ExecIf(expr,app,data);
38         ExecIfTime(*,*,*,*,appname);
39         ExternalIVR(command,arg1);
40         Festival(text);
41         Flash();
42         ForkCDR(v);
43         GetCPEID();
44         Gosub(cont,exten,priority);
45         GosubIf(cond?label);
46         Goto(cont,exten,prior);
47         GotoIf(cond?t:f);
48         GotoIfTime(*,*,*,*?cont,ext,prior);
49         Hangup();
50         HasNewVoicemail(vmbox,var,j);
51         HasVoicemail(vmbox,var,j);
52         IAX2Provision(template);
53         ICES(xmlconfig);
54         ImportVar(nevar@chann,var);
55         Log(NOTICE,message);
56         LookupBlacklist(j);
57         LookupCIDName();
58         Macro(macro,arg1);
59         MacroExit();
60         MacroIf(expr?etc);
61         MailboxExists(mbox@cont,j);
62         Math(v,2+2);
63         MeetMe(5555,aAbcdDeimMpPqrstTovwxX);
64         MeetMeAdmin(5555,e,user);
65         MeetMeCount(5555,var);
66         Milliwatt();
67         MixMonitor(filename,abv()V()W(),command);
68         Monitor(file.fmt,base,mb);
69         MP3Player(location);
70         MusicOnHold(class);
71         NBScat();
72         NoCDR();
73         NoOp(ignored);
74         Page(Zap/1,dq);
75         Park(exten);
76         ParkAndAnnounce(template,5,238,retcont);
77         ParkedCall(exten);
78         PauseQueueMember(queue,zap,j);
79         Pickup(ext@cont);
80         Playback(file,j);
81         PlayTones(arg);
82         PrivacyManager(3,4,j);
83         Progress();
84         Queue(queuename,dhHnrtTwW,http://www.where.what,over,5);
85         Random(30,cont,ext,pri);
86         Read(var,fname,10,skip,2,5);
87         ReadFile(var=file,10);
88         RealTime(fam,2,val,prefix);
89         RealTimeUpdate(fam,2,val,2,newval);
90         Record(file,2,10,anqst);
91         RemoveQueueMember(queuename,iface,j);
92         ResetCDR(wav);
93         RetryDial(annound,4,2);
94         Return();
95         Ringing();
96         RxFAX(fname,caller);
97         SayAlpha(string);
98         SayDigits(string);
99         SayNumber(digits);
100         SayPhonetic(string);
101         SayUnixTime(unixtime,tz,fmt);
102         SendDTMF(digits,10);
103         SendImage(filename);
104         SendText(text,j);
105         SendURL(URL);
106         Set(a=b);
107         SetAMAFlags();
108         SetCallerID(clid,a);
109         SetCallerPres(allowed_passed_screen);
110         SetCDRUserField(value);
111         SetGlobalVar(var=val);
112         SetMusicOnHold(class);
113         SetTransferCapability(SPEECH);
114         SIPAddHeader(header);
115         SIPDtmfMode(inband,info,rfc);
116         SIPGetHeader(var@headername);
117         SMS(name);
118         SoftHangup(zap/1,a);
119         StackPop();
120         StartMusicOnHold(class);
121         StopMonitor();
122         StopMusicOnHold();
123         StopPlayTones();
124         System(command);
125         TestClient(testid);
126         TestServer();
127         Transfer(zap/1,j);
128         TrySystem(command);
129         TxFAX(filename,caller,debug);
130         UnpauseQueueMember(queuename,iface,j);
131         UserEvent(eventanme,body);
132         Verbose(5,message);
133         VMAuthenticate(mailbox@cont,s);
134         VoiceMail(mailbox@cont,bg()suj);
135         VoiceMailMain(mailbox@cont,pg()s);
136         Wait(2);
137         WaitExten(3,m());
138         WaitForRing(2);
139         WaitForSilence(2,y);
140         WaitMusicOnHold(2);
141         While(expr);
142         Zapateller(answer,5);
143         ZapBarge(channel);
144         ZapRAS(arg);
145         ZapScan(group);
146         ZapSendKeypadFacility();