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

FAILURE
                   The specified command could not be executed.
               SUCCESS
                   The specified command executed successfully.
               APPERROR
                   The specified command executed, but returned an error code.

               This application is very similar to the System() application, except that it always returns
               normally, whereas the System() application will return abnormally if it is unable to
               execute the system command.

                   exten => 123,1,TrySystem(echo hello > /tmp/hello.txt)
               See Also
               System()


               UnpauseMonitor()                                     Resumes monitoring of a channel

               UnpauseMonitor()
               Resumes monitoring a channel, after being suspended by PauseMonitor().

                   exten => 123,1,Answer()
                   exten => 123,n,Monitor(wav,monitor_test)
                   exten => 123,n,Playback(demo-congrats)
                        ; temporarily pause the monitoring while we gather some secret info
                   exten => 123,n,PauseMonitor()
                   exten => 123,n,Read(NEWPASS,vm-newpassword)
                   exten => 123,n,SayDigits(${NEWPASS})
                        ; unpause the recording and continue recording the call
                   exten => 123,n,UnpauseMonitor()
                   exten => 123,n,Dial(${JOHN})
               See Also
               Monitor(), StopMonitor(), Page()


               UnpauseQueueMember()                                    Unpauses a queue member
               UnpauseQueueMember([queuename,]interface[,options])

               Unpauses (resumes calls to) a queue member. This is the counterpart to PauseQueue
               Member(), and it operates exactly the same way, except it unpauses instead of pausing
               the given interface.
               Upon completion, this application sets a channel variable named UPQMSTATUS to either
               UNPAUSED or NOTFOUND.




                                                                        UnpauseMonitor() | 441
   464   465   466   467   468   469   470   471   472   473   474