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

0
                   Context has been set


               SET EXTENSION

               SET EXTENSION extension

               Changes the extension for continuation upon exiting the AGI application.
               Return value:
               0
                   Extension has been set


               SET MUSIC ON
               SET MUSIC ON [on|off] [class]

               Enables/disables the music-on-hold generator. If class is not specified, the default mu-
               sic-on-hold class will be used.

               Return value:
               0
                   Always returns 0


               SET PRIORITY
               SET PRIORITY priority

               Changes the priority for continuation upon exiting the AGI application. priority must
               be a valid priority or label.

               Return value:
               0
                   Priority has been set


               SET VARIABLE

               SET VARIABLE variablename value

               Sets or updates the value for the variable name specified by variablename. If the variable
               does not exist, it is created.
               Return value:




               458 | Appendix C: AGI Reference
   481   482   483   484   485   486   487   488   489   490   491