Page 547 - Asterisk™: The Future of Telephony
P. 547

Privilege
               call, all

               Example
                   Action: ChangeMonitor
                   Channel: SIP/linksys-084c63c0
                   File: new-test-recording
                   ActionID: 555544443333

                   Response: Success
                   ActionID: 555544443333
                   Message: Changed monitor filename


               Command                                             Executes an Asterisk CLI command

               Runs an Asterisk CLI command as if it had been run from the CLI.

               Parameters
               Command
                   [required] Asterisk CLI command to run.
               ActionID
                   [optional]  An  action  identifier  that  can  be  used  to  identify  the  response  from
                   Asterisk.
               Privilege

               command, all
               Example
                   Action: Command
                   Command: core show version
                   ActionID: 0123456789abcdef

                   Response: Follows
                   Privilege: Command
                   ActionID: 0123456789abcdef
                   Asterisk SVN-branch-1.4-r55869 built by jsmith @ hockey on a ppc running Linux
                    on 2007-02-21 16:55:26 UTC
                   --END COMMAND--


               DBGet                                                          Gets AstDB entry

               This action retrieves a value from the AstDB database.






                                                                            Command | 519
   542   543   544   545   546   547   548   549   550   551   552