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

DATABASE PUT
               DATABASE PUT family key value

               Adds or updates an entry in the Asterisk database for the specified family and key, with
               the specified value.

               Return values:
               0
                   Failure
               1
                   Success


               EXEC
               EXEC application options

               Executes the specified dialplan application, including options.
               Return values:
               -2
                   Failure to find the application
               value
                   Return value of the application


               GET DATA

               GET DATA filename [timeout] [max_digits]
               Plays the audio file specified by filename and accepts DTMF digits, up to the limit set
               by max_digits. Similar to the Background() dialplan application.
               Return value:
               value
                   Digits received from the caller


               GET FULL VARIABLE
               GET FULL VARIABLE variablename [channelname]

               If the variable indicated by variablename is set, returns its value in parentheses. This
               command understands complex variable names and built-in variable names, unlike GET
               VARIABLE.
               Return values:


                                                                          DATABASE PUT | 451
   474   475   476   477   478   479   480   481   482   483   484