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

Sets the CDR user field to the specified value. The CDR user field is an extra field that
               you can use for data not stored anywhere else in the record. CDR records can be used
               for billing purposes or for storing other arbitrary data about a particular call.
                   exten => 123,1,SetCDRUserField(testing)
                   exten => 123,2,Playback(tt-monkeys)

                           This application has been deprecated in favor of the CDR() function.

                              exten => 123,1,Set(CDR(userfield)=54321)


               See Also
               AppendCDRUserField(), SetAMAFlags()


               SetGlobalVar()                                 Sets a global variable to the specified value
               SetGlobalVar(n=value)



                           This application has been deprecated in favor of:

                              Set(GLOBAL(var)=...)


               Sets a global variable called n to the specified value. Global variables are available across
               channels.
                   ; set the NUMRINGS global variable to 3
                   exten => 123,1,SetGlobalVar(NUMRINGS=3)
               See Also

               Set()


               SetMusicOnHold()                     Sets the default music-on-hold class for the current channel
               SetMusicOnHold(class)



                           This application has been deprecated in favor of:
                              Set(CHANNEL(musicclass)=...)







               434 | Appendix B: Application Reference
   457   458   459   460   461   462   463   464   465   466   467