Команды диалплана Asterisk
В данном документе приведен список команд, которые Вы можете использовать в плане набора (extensions.conf). Получить список и описание приложений, доступных на вашем сервере Asterisk Вы можете командами CLI:
core show applicationsи core show application <name>.
Asterisk Dialplan Applications
- Команда Asterisk: AddQueueMember: Динамическое добавление агента для очереди.
- Asterisk app: ADSIProg: Загрузка ADSI скрипта Asterisk в телефон.
- Asterisk app: AELSub: Перейти в AEL (asterisk extension Language) подпрограмму.
- Asterisk app: AGI: Выполнить AGI приложение.
- Asterisk app: Answer: Ответить на вызов.
- Asterisk app: Authenticate: Авторизовать пользователя
- Asterisk app: BackGround: Проиграть аудио файл с возможностью посылки DTMFкоманд
- Asterisk app: BackgroundDetect: Распознавать речь при проигрывании аудио файла
- Asterisk app: Bridge: Соединить два канала
- BridgeWait: Поместить вызов на удержание.
- Busy: Установить состояние занято.
- CallCompletionCancel: Отмена ожидающего вызова. см. ccss.conf
- CallCompletionRequest: Запрос ожидающего вызова для предыдущего звонка.
- CELGenUserEvent: Генерировать пользовательские события в CELлог.
- Asterisk: ChangeMonitor: Изменения имени файла для записи разговора.
- ChanIsAvail: Проверка доступности канала связи.
- ChannelRedirect: Переадресация существующего канала в другую точку плана набора
- ChanSpy: Прослушивание канала.
- ClearHash: Clear the keys from a specified hashname.
- Asterisk app: ConfBridge: Приложение конференц-моста.
- Congestion: Indicate the Congestion condition.
- ContinueWhile: Перезапустить цикл команды Команда Asterisk: Whileс новыми условиями.
- ControlPlayback: Воспроизведение звукового файла с функцией перемотки.
- DAHDIRAS: Executes DAHDI ISDN RAS application.
- DAHDIScan: Scan DAHDI channels to monitor calls.
- DAHDISendCallreroutingFacility: Send an ISDN call rerouting/deflection facility message.
- DAHDISendKeypadFacility: Send digits out of band over a PRI.
- DateTime: Says a specified time in a custom format.
- Asterisk app: DBdel: Удалить ключ из внутренней Базы Данных Asterisk.
- Asterisk app: DBdeltree: Удалить семейство из внутренней БД Asterisk.
- DeadAGI: Выполнить скрипт AGI в мертвом канале.
- Asterisk application: Dial: Пытается установить соединение, одного устройства с другим..
- Dictate: Virtual Dictation Machine.
- Directory: Provide directory of voicemail extensions.
- DISA: Прямой доступ к системе. Direct Inward System Access.
- Asterisk app: DumpChan: Вывести полную информацию о канале вызова.
- EAGI: Executes an EAGI compliant application
- Echo: Echo media, DTMF back to the calling party
- EndWhile: Завершение цикла команды While().
- Exec: Выполнить указанную команду диалплана.
- ExecIf: Executes dialplan application, conditionally.
- ExecIfTime: Conditional application execution based on the current time.
- ExitWhile: End a While loop.
- ExtenSpy: Listen to a channel, and optionally whisper into it.
- ExternalIVR: Interfaces with an external IVR application.
- Flash: Flashes a DAHDI Trunk.
- ForkCDR: Forks the current Call Data Record for this channel.
- GetCPEID: Get ADSI CPE ID.
- Asterisk app: Gosub: Jump to label, saving return address.
- Asterisk app:GosubIf: Conditionally jump to label, saving return address.
- Asterisk app: Goto: Jump to a particular priority, extension, or context.
- GotoIf: Conditional goto.
- GotoIfTime: Conditional Goto based on the current time.
- Hangup: Hang up the calling channel.
- HangupCauseClear: Clears hangup cause information from the channel that is available through HANGUPCAUSE.
- IAX2Provision: Provision a calling IAXy with a given template.
- ICES: Encode and stream using 'ices'.
- ImportVar: Import a variable from a channel into a new variable
- Incomplete: Returns AST_PBX_INCOMPLETE value.
- Log: Send arbitrary text to a selected log level.
- Asterisk app Macro: Macro Implementation.
- MacroExclusive: Exclusive Macro Implementation.
- MacroExit: Exit from Macro
- MacroIf: Conditional Macro implementation
- MailboxExists: Check to see if Voicemail mailbox exists.
- MessageSend: Send a text message.
- Milliwatt: Generate a Constant 1004Hz tone at 0dbm (mu-law).
- MinivmAccMess: Record account specific messages.
- MinivmDelete: Delete Mini-Voicemail voicemail messages.
- MinivmGreet: Play Mini-Voicemail prompts.
- MinivmMWI: Send Message Waiting Notification to subscriber(s) of mailbox.
- MinivmNotify: Notify voicemail owner about new messages.
- MinivmRecord: Receive Mini-Voicemail and forward via e-mail.
- Asterisk: MixMonitor: Record a call and mix the audio during the recording. Use of StopMixMonitor is required to guarantee the audio file is available for processing during dialplan execution.
- Asterisk: Monitor: Monitor a channel.
- Morsecode: Plays morse code.
- MP3Player: Play an MP3 file or M3U playlist file or stream.
- Asterisk app: MSet: Set channel variable(s) or function value(s).
- MusicOnHold: Play Music On Hold indefinitely.
- MYSQL: Do several mySQLy things
- NBScat: Play an NBS local stream.
- NoCDR: Tell Asterisk to not maintain a CDR for this channel.
- NoOp: Do Nothing (No Operation).
- Originate: Originate a call.
- Page: Page series of phones
- Asterisk: PauseMonitor: Pause monitoring of a channel.
- Asterisk: PauseQueueMember: Pauses a queue member.
- Pickup: Directed extension call pickup.
- PickupChan: Pickup a ringing channel.
- Playback: Play a file.
- PlayTones: Play a tone list.
- PrivacyManager: Require phone number to be entered, if no CallerID sent
- Proceeding: Indicate proceeding.
- Progress: Indicate progress.
- Asterisk app: Queue: Queue a call for a call queue.
- Asterisk: QueueLog: Writes to the queue_log file
- RaiseException: Handle an exceptional condition.
- Asterisk app: Read: Read a variable.
- ReadExten: Read an extension into a variable.
- ReceiveFAX: Receive a FAX and save as a TIFF/F file.
- Record: Record to a file.
- Asterisk: RemoveQueueMember: Dynamically removes queue members.
- ResetCDR: Resets the Call Data Record.
- RetryDial: Place a call, retrying on failure allowing an optional exit extension.
- Return: Return from gosub routine.
- Ringing: Indicate ringing tone.
- SayAlpha: Say Alpha.
- SayAlphaCase: Say Alpha.
- SayCountPL: Say Polish counting words.
- SayDigits: Say Digits.
- SayNumber: Say Number.
- SayPhonetic: Say Phonetic.
- SayUnixTime: Says a specified time in a custom format.
- Asterisk app: SendDTMF: Sends arbitrary DTMF digits
- SendFAX: Sends a specified TIFF/F file as a FAX.
- SendImage: Sends an image file.
- SendText: Send a Text Message.
- SendURL: Send a URL.
- Set: Set channel variable or function value.
- SetAMAFlags: Set the AMA Flags.
- SetMusicOnHold: Set default Music On Hold class.
- SIPAddHeader: Add a SIP header to the outbound call.
- SIPDtmfMode: Change the dtmfmode for a SIP call.
- SIPRemoveHeader: Remove SIP headers previously added with SIPAddHeader
- SMS: Communicates with SMS service centres and SMS capable analogue phones.
- SoftHangup: Hangs up the requested channel.
- SpeechActivateGrammar: Activate a grammar.
- SpeechBackground: Play a sound file and wait for speech to be recognized.
- SpeechCreate: Create a Speech Structure.
- SpeechDeactivateGrammar: Deactivate a grammar.
- SpeechDestroy: End speech recognition.
- SpeechLoadGrammar: Load a grammar.
- SpeechProcessingSound: Change background processing sound.
- SpeechStart: Start recognizing voice in the audio stream.
- SpeechUnloadGrammar: Unload a grammar.
- StackPop: Remove one address from gosub stack.
- StartMusicOnHold: Play Music On Hold.
- Stasis: Invoke an external Stasis application.
- Asterisk: StopMixMonitor: Stop recording a call through MixMonitor, and free the recording's file handle.
- Asterisk: StopMonitor: Stop monitoring a channel.
- StopMusicOnHold: Stop playing Music On Hold.
- StopPlayTones: Stop playing a tone list.
- System: Execute a system command.
- TestClient: Execute Interface Test Client.
- TestServer: Execute Interface Test Server.
- Transfer: Transfer caller to remote extension.
- TryExec: Executes dialplan application, always returning.
- TrySystem: Try executing a system command.
- Asterisk: UnpauseMonitor: Unpause monitoring of a channel.
- Asterisk: UnpauseQueueMember: Unpauses a queue member.
- UserEvent: Send an arbitrary user-defined event to parties interested in a channel (AMI users and relevant res_stasis applications).
- Verbose: Send arbitrary text to verbose output.
- VMAuthenticate: Authenticate with Voicemail passwords.
- VMSayName: Play the name of a voicemail user
- VoiceMail: Leave a Voicemail message.
- VoiceMailMain: Check Voicemail messages.
- VoiceMailPlayMsg: Play a single voice mail msg from a mailbox by msg id.
- Wait: Waits for some time.
- Asterisk app: WaitExten: Waits for an extension to be entered.
- WaitForNoise: Waits for a specified amount of noise.
- WaitForRing: Wait for Ring Application.
- WaitForSilence: Waits for a specified amount of silence.
- WaitMusicOnHold: Wait, playing Music On Hold.
- WaitUntil: Wait (sleep) until the current time is the given epoch.
- Команда Asterisk: While: Start a while loop.
- Команда Asterisk: Zapateller: Block telemarketers with SIT.