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

File
                   [optional] The name of the file in which to record the channel. The path defaults
                   to   the   Asterisk   monitor   spool   directory,   which   is   usual-
                   ly /var/spool/asterisk/monitor. If no filename is specified, the filename will be the
                   name of the channel, with slashes replaced with dashes.
               Format
                   [optional] The audio format in which to record the channel. Defaults to wav.
               Mix
                   [optional] A Boolean flag specifying whether or not Asterisk should mix the in-
                   bound and outbound audio from the channel in to a single file.
               ActionID
                   [optional] An identifier that can be used to identify the response to this action.
               Privilege
               call, all

               Example
                   Action: Monitor
                   Channel: SIP/linksys2-10216e38
                   Filename: test-recording
                   Format: gsm
                   Mix: true

                   Response: Success
                   Message: Started monitoring channel


               Originate                                                       Originates call

               Generates  an  outbound  call  from  Asterisk,  and  connect  the  channel  to  a  context/
               extension/priority combination or dialplan application.

               Parameters

               Channel
                   [required] Channel name to call. Once the called channel has answered, the control
                   of the call will be passed to the specified Exten/Context/Priority or Application.

               Exten
                   [optional] Extension to use (requires Context and Priority).
               Context
                   [optional] Context to use (requires Exten and Priority).

               Priority
                   [optional] Priority to use (requires Exten and Context).
               Application
                   [optional] Application to use.


                                                                             Originate | 529
   552   553   554   555   556   557   558   559   560   561   562