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

If the options parameter is set to the letter j and the queue member can not be found,
               and there exists a priority n+101 (where n is the current priority), control of the call
               will continue at that priority
                   exten => 123,1,PauseQueueMember(myqueue,SIP/300)
                   exten => 124,1,UnpauseQueueMember(myqueue,SIP/300)

               See Also
               PauseQueueMember()


               UserEvent()                                Sends an arbitrary event to the Manager Interface
               UserEvent(eventname[,body])

               Sends an arbitrary event to the Manager Interface, with an optional body representing
               additional arguments. The format of the event is:

                   Event: UserEvent
                   UserEvent: eventname
                                  body
               If the body is not specified, only the Event and UserEvent fields will be present in the
               Manager event.
                   exten => 123,1,UserEvent(BossCalled,${CALLERID(name)} has called the boss!)
                   exten => 123,2,Dial(${BOSS})
               See Also
               manager.conf, Asterisk Manager Interface


               Verbose()                                         Sends arbitrary text to verbose output

               Verbose([level,]message)

               Sends the specified message to verbose output. The level must be an integer value. If
               not specified, level defaults to 0.
                   exten => 123,1,Verbose(Somebody called extension 123)
                   exten => 123,2,Playback(extension)
                   exten => 123,3,SayDigits(${EXTEN})
                           The optional argument level is not so optional, if you include the de-
                           limiter  |  in  your  invocation  of  Verbose().  If  the  delimiter  is  found,
                           Verbose() assumes that you meant to specify level (and chops off ev-
                           erything preceding the initial |). It is therefore probably best to get in
                           the habit of always specifying the level.






               442 | Appendix B: Application Reference
   465   466   467   468   469   470   471   472   473   474   475