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

Example
                   Action: ZapDNDon
                   ZapChannel: 1
                   ActionID: 98765432100123456789

                   Response: Success
                   ActionID: 98765432100123456789
                   Message: DND Enabled


               ZapDialOffhook                                    Dials over Zap channel while off-hook

               Dials the specified number on the Zap channel while the phone is off-hook.

               Parameters
               ZapChannel
                   [required] The Zap channel on which to dial the number.
               Number
                   [required] The number to dial.
               ActionID
                   [optional] A unique identifier to help you identify responses to this command.
               Privilege

               none
               Example
                   Action: ZapDialOffhook
                   ZapChannel: 1
                   Number: 543215432154321
                   ActionID: 5676

                   Response: Success
                   ActionID: 5676
                   Message: ZapDialOffhook

               ZapHangup                                                  Hangs up Zap channel


               Hangs up the specified Zap channel.
               Parameters

               ZapChannel
                   [required] The Zap channel to hang up.
               ActionID
                   [optional] A unique identifier to help you identify responses to this command.


               548 | Appendix F: Asterisk Manager Interface Actions
   571   572   573   574   575   576   577   578   579   580   581