Difference between revisions of "Command"

From FusionPBX
Jump to: navigation, search
(Created page with "Allows you to interactively submit: <br/> '''Shell''' ( any shell command supported by your operating system ) ,<br/> '''PHP''' ( any php command supported by your php interpre...")
 
m
Line 1: Line 1:
 
Allows you to interactively submit: <br/>  
 
Allows you to interactively submit: <br/>  
'''Shell''' ( any shell command supported by your operating system ) ,<br/>  
+
* '''Shell''' - any shell command supported by your operating system ,<br/>  
'''PHP''' ( any php command supported by your php interpreter ) and <br/>  
+
* '''PHP''' - any php command supported by your php interpreter ) and <br/>  
'''FreeSWITCH''' ( any FreeSWITCH api command available on FreeSWITCH CLI ) commands to your server.
+
* '''FreeSWITCH''' - any FreeSWITCH api command available on FreeSWITCH CLI
 +
commands to your server.
  
Ex: Advanced/'''Command''':
 
 
----
 
----
'''Shell command:''' uname <br/>
 
'''PHP command:''' echo "Hello from FusionPBX"; <br/>
 
'''Switch Command:''' reloadxml<br/>
 
  
 +
Ex: Advanced::'''Command''':
 +
'''Shell command:''' uname <br/>
 +
'''PHP command:''' echo "Hello from FusionPBX"; <br/>
 +
'''Switch Command:''' reloadxml<br/>
  
 
The Output will be:
 
The Output will be:
----
+
'''shell command:'''
'''shell command:'''
+
Linux
 
 
Linux
 
 
 
'''php command:'''
 
 
 
Hello from FusionPBX
 
  
'''switch command:'''
+
'''php command:'''
 +
Hello from FusionPBX
  
+OK [Success]
+
'''switch command:'''
 +
+OK [Success]

Revision as of 16:12, 27 October 2010

Allows you to interactively submit:

  • Shell - any shell command supported by your operating system ,
  • PHP - any php command supported by your php interpreter ) and
  • FreeSWITCH - any FreeSWITCH api command available on FreeSWITCH CLI

commands to your server.


Ex: Advanced::Command:

Shell command: uname 
PHP command: echo "Hello from FusionPBX";
Switch Command: reloadxml

The Output will be:

shell command:
Linux
php command:
Hello from FusionPBX
switch command:
+OK [Success]