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

Sets the default class for music on hold for the current channel. When music on hold
               is activated, this class will be used to select which music is played. Classes are defined
               in the configuration file musiconhold.conf.
                   exten=s,1,Answer()
                   exten=s,2,SetMusicOnHold(default)
                   exten=s,3,WaitMusicOnHold()

               See Also
               WaitMusicOnHold(), musiconhold.conf, MusicOnHold()


               SetTransferCapability()                       Sets the ISDN transfer capability of a channel
               SetTransferCapability(transfercapability)

               This application sets the ISDN transfer capability of the current channel to a new value.
               Valid values for transfercapability are:
               SPEECH
                   0x00, speech (default, voice calls)

               DIGITAL
                   0x08, unrestricted digital information (data calls)
               RESTRICTED_DIGITAL
                   0x09, restricted digital information
               3K1AUDIO
                   0x10, 3.1kHz Audio (fax calls)
               DIGITAL_W_TONES
                   0x11, unrestricted digital information with tones/announcements
               VIDEO
                   0x18, video


                           This application is deprecated and the functionality has been replaced
                           with Set(CHANNEL(transfercapability)=transfercapability) syntax.
                              exten => 123,1,Set(CHANNEL(transfercapability)=SPEECH)


               SIPAddHeader()                                    Adds a SIP header to the outbound call
               SIPAddHeader(Header: Content)

               Adds a header to a SIP call placed with the Dial() application. A nonstandard SIP header
               should begin with X-, such as X-Asterisk-Accountcode:. Use this application with care
               —adding the wrong headers may cause any number of problems.
               For more flexibility, see the SIP_HEADER() dialplan function.


                                                                     SetTransferCapability() | 435
   458   459   460   461   462   463   464   465   466   467   468