mirror of https://github.com/asterisk/asterisk
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							147 lines
						
					
					
						
							3.4 KiB
						
					
					
				
			
		
		
	
	
							147 lines
						
					
					
						
							3.4 KiB
						
					
					
				| // this is a quick test to see how many of the apps we can spot j options in
 | |
| // include this in a macro or extension
 | |
| // at this moment, there are 18 apps that accept the j option.
 | |
| 
 | |
| 	AddQueueMember(zork,iface,20,j);
 | |
| 	ADSIProg(sfile);
 | |
| 	AgentCallbackLogin(agent,s,30@cont);
 | |
| 	AgentLogin(agent,s);
 | |
| 	AgentMonitorOutgoing(dcn);
 | |
| 	AGI(whatever);
 | |
| 	AlarmReceiver();
 | |
| 	Answer(2);
 | |
| 	AppendCDRUserField(value);
 | |
| 	Authenticate(pword,adjmr);
 | |
| 	BackGround(filename,snm,eng);
 | |
| 	BackgroundDetect(filename,20,2,10);
 | |
| 	Busy(10);
 | |
| 	ChangeMonitor(fnamebase);
 | |
| 	ChanIsAvail(Zap/5,sj);
 | |
| 	ChanSpy(prefix,bg()qrv);
 | |
| 	Congestion(5);
 | |
| 	ControlPlayback(filename,10,6,4,0,5,7,j);
 | |
| 	DateTime(unixtime,tz,fmt);
 | |
| 	DBdel(fam/key);
 | |
| 	DBdeltree(fam);
 | |
| 	DeadAGI(command);
 | |
| 	Dial(zap/1,45,A()CdD()fgG()hHjL()m()M()nNoprS()tTwW);
 | |
| 	Dictate(basedir);
 | |
| 	Directory(cont,dcont,f);
 | |
| 	DISA(68986869876,context);
 | |
| 	DumpChan(verblev);
 | |
| 	DUNDiLookup(90709780978,context,bj);
 | |
| 	EAGI(command);
 | |
| 	Echo();
 | |
| 	EndWhile();
 | |
| 	Exec(appname,args);
 | |
| 	ExecIf(expr,app,data);
 | |
| 	ExecIfTime(*,*,*,*,appname);
 | |
| 	ExternalIVR(command,arg1);
 | |
| 	Festival(text);
 | |
| 	Flash();
 | |
| 	ForkCDR(v);
 | |
| 	GetCPEID();
 | |
| 	Gosub(cont,exten,priority);
 | |
| 	GosubIf(cond?label);
 | |
| 	Goto(cont,exten,prior);
 | |
| 	GotoIf(cond?t:f);
 | |
| 	GotoIfTime(*,*,*,*?cont,ext,prior);
 | |
| 	Hangup();
 | |
| 	HasNewVoicemail(vmbox,var,j);
 | |
| 	HasVoicemail(vmbox,var,j);
 | |
| 	IAX2Provision(template);
 | |
| 	ICES(xmlconfig);
 | |
| 	ImportVar(nevar@chann,var);
 | |
| 	Log(NOTICE,message);
 | |
| 	LookupBlacklist(j);
 | |
| 	LookupCIDName();
 | |
| 	Macro(macro,arg1);
 | |
| 	MacroExit();
 | |
| 	MacroIf(expr?etc);
 | |
| 	MailboxExists(mbox@cont,j);
 | |
| 	Math(v,2+2);
 | |
| 	MeetMe(5555,aAbcdDeimMpPqrstTovwxX);
 | |
| 	MeetMeAdmin(5555,e,user);
 | |
| 	MeetMeCount(5555,var);
 | |
| 	Milliwatt();
 | |
| 	MixMonitor(filename,abv()V()W(),command);
 | |
| 	Monitor(file.fmt,base,mb);
 | |
| 	MP3Player(location);
 | |
| 	MusicOnHold(class);
 | |
| 	NBScat();
 | |
| 	NoCDR();
 | |
| 	NoOp(ignored);
 | |
| 	Page(Zap/1,dq);
 | |
| 	Park(exten);
 | |
| 	ParkAndAnnounce(template,5,238,retcont);
 | |
| 	ParkedCall(exten);
 | |
| 	PauseQueueMember(queue,zap,j);
 | |
| 	Pickup(ext@cont);
 | |
| 	Playback(file,j);
 | |
| 	PlayTones(arg);
 | |
| 	PrivacyManager(3,4,j);
 | |
| 	Progress();
 | |
| 	Queue(queuename,dhHnrtTwW,http://www.where.what,over,5);
 | |
| 	Random(30,cont,ext,pri);
 | |
| 	Read(var,fname,10,skip,2,5);
 | |
| 	ReadFile(var=file,10);
 | |
| 	RealTime(fam,2,val,prefix);
 | |
| 	RealTimeUpdate(fam,2,val,2,newval);
 | |
| 	Record(file,2,10,anqst);
 | |
| 	RemoveQueueMember(queuename,iface,j);
 | |
| 	ResetCDR(wav);
 | |
| 	RetryDial(annound,4,2);
 | |
| 	Return();
 | |
| 	Ringing();
 | |
| 	RxFAX(fname,caller);
 | |
| 	SayAlpha(string);
 | |
| 	SayDigits(string);
 | |
| 	SayNumber(digits);
 | |
| 	SayPhonetic(string);
 | |
| 	SayUnixTime(unixtime,tz,fmt);
 | |
| 	SendDTMF(digits,10);
 | |
| 	SendImage(filename);
 | |
| 	SendText(text,j);
 | |
| 	SendURL(URL);
 | |
| 	Set(a=b);
 | |
| 	SetAMAFlags();
 | |
| 	SetCallerID(clid,a);
 | |
| 	SetCallerPres(allowed_passed_screen);
 | |
| 	SetCDRUserField(value);
 | |
| 	SetGlobalVar(var=val);
 | |
| 	SetMusicOnHold(class);
 | |
| 	SetTransferCapability(SPEECH);
 | |
| 	SIPAddHeader(header);
 | |
| 	SIPDtmfMode(inband,info,rfc);
 | |
| 	SIPGetHeader(var@headername);
 | |
| 	SMS(name);
 | |
| 	SoftHangup(zap/1,a);
 | |
| 	StackPop();
 | |
| 	StartMusicOnHold(class);
 | |
| 	StopMonitor();
 | |
| 	StopMusicOnHold();
 | |
| 	StopPlayTones();
 | |
| 	System(command);
 | |
| 	TestClient(testid);
 | |
| 	TestServer();
 | |
| 	Transfer(zap/1,j);
 | |
| 	TrySystem(command);
 | |
| 	TxFAX(filename,caller,debug);
 | |
| 	UnpauseQueueMember(queuename,iface,j);
 | |
| 	UserEvent(eventanme,body);
 | |
| 	Verbose(5,message);
 | |
| 	VMAuthenticate(mailbox@cont,s);
 | |
| 	VoiceMail(mailbox@cont,bg()suj);
 | |
| 	VoiceMailMain(mailbox@cont,pg()s);
 | |
| 	Wait(2);
 | |
| 	WaitExten(3,m());
 | |
| 	WaitForRing(2);
 | |
| 	WaitForSilence(2,y);
 | |
| 	WaitMusicOnHold(2);
 | |
| 	While(expr);
 | |
| 	Zapateller(answer,5);
 | |
| 	ZapBarge(channel);
 | |
| 	ZapRAS(arg);
 | |
| 	ZapScan(group);
 | |
| 	ZapSendKeypadFacility();
 |