Asterisk拨号方案常用函数(2)

2019-08-31 18:03

WaitForSilence: Waits for a specified amount of silence WaitMusicOnHold: Wait, playing Music On Hold While: Start a while loop

Zapateller: Block telemarketers with SIT ZapBarge: Barge in (monitor) Zap channel

ZapRAS: Executes Zaptel ISDN RAS application ZapScan: Scan Zap channels to monitor calls ZapSendKeypadFacility: Send digits out of band over a PRI

AddQueueMember: Dynamically adds queue members ADSIProg: Load Asterisk ADSI Scripts into phone AGI: Executes an AGI compliant application AMD: Attempts to detect answering machines Answer: Answer a channel if ringing

AppendCDRUserField: Append to the CDR user field Authenticate: Authenticate a user

BackGround: Play an audio file while waiting for digits of an extension to go to. BackgroundDetect: Background a file with talk detect Busy: Indicate the Busy condition

ChangeMonitor: Change monitoring filename of a channel ChanIsAvail: Check channel availability

ChannelRedirect: Redirects given channel to a dialplan target. ChanSpy: Listen to a channel, and optionally whisper into it Congestion: Indicate the Congestion condition ContinueWhile: Restart a While loop

ControlPlayback: Play a file with fast forward and rewind DAHDIBarge: Barge in (monitor) DAHDI channel DAHDIRAS: Executes DAHDI ISDN RAS application DAHDIScan: Scan Zap channels to monitor calls

DAHDISendKeypadFacility: Send digits out of band over a PRI DateTime: Says a specified time in a custom format DBdel: Delete a key from the database

DBdeltree: Delete a family or keytree from the database DeadAGI: Executes AGI on a hungup channel

Dial: Place a call and connect to the current channel Dictate: Virtual Dictation Machine

Directory: Provide directory of voicemail extensions DISA: DISA (Direct Inward System Access)

DumpChan: Dump Info About The Calling Channel EAGI: Executes an EAGI compliant application

Echo: Echo audio, video, or DTMF back to the calling party EndWhile: End a while loop

Exec: Executes dialplan application

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 Call Data Record GetCPEID: Get ADSI CPE ID

Gosub: Jump to label, saving return address

GosubIf: Conditionally jump to label, saving return address 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

HasNewVoicemail: Conditionally branches to priority + 101 with the right options set HasVoicemail: Conditionally branches to priority + 101 with the right options set 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 Log: Send arbitrary text to a selected log level

LookupBlacklist: Look up Caller*ID name/number from blacklist database LookupCIDName: Look up CallerID Name from local database Macro: Macro Implementation

MacroExclusive: Exclusive Macro Implementation MacroExit: Exit From Macro

MacroIf: Conditional Macro Implementation

MailboxExists: Check to see if Voicemail mailbox exists MeetMe: MeetMe conference bridge

MeetMeAdmin: MeetMe conference Administration MeetMeCount: MeetMe participant count

Milliwatt: Generate a Constant 1004Hz tone at 0dbm (mu-law) MixMonitor: Record a call and mix the audio during the recording Monitor: Monitor a channel Morsecode: Plays morse code

MP3Player: Play an MP3 file or stream

MusicOnHold: Play Music On Hold indefinitely NBScat: Play an NBS local stream

NoCDR: Tell Asterisk to not maintain a CDR for the current call NoOp: Do Nothing Page: Pages phones Park: Park yourself

ParkAndAnnounce: Park and Announce ParkedCall: Answer a parked call

PauseMonitor: Pause monitoring of a channel PauseQueueMember: Pauses a queue member Pickup: Directed Call Pickup Playback: Play a file

PlayTones: Play a tone list

PrivacyManager: Require phone number to be entered, if no CallerID sent Progress: Indicate progress

Queue: Queue a call for a call queue QueueLog: Writes to the queue_log

Random: Conditionally branches, based upon a probability Read: Read a variable

ReadFile: ReadFile(varname=file,length) RealTime: Realtime Data Lookup

RealTimeUpdate: Realtime Data Rewrite Record: Record to a file

RemoveQueueMember: Dynamically removes queue members ResetCDR: Resets the Call Data Record

RetryDial: Place a call, retrying on failure allowing optional exit extension. Return: Return from gosub routine Ringing: Indicate ringing tone SayAlpha: Say Alpha SayDigits: Say Digits

SayNumber: Say Number SayPhonetic: Say Phonetic

SayUnixTime: Says a specified time in a custom format SendDTMF: Sends arbitrary DTMF digits SendImage: Send an image file SendText: Send a Text Message SendURL: Send a URL

Set: Set channel variable(s) or function value(s) SetAMAFlags: Set the AMA Flags SetCallerID: Set CallerID

SetCallerPres: Set CallerID Presentation SetCDRUserField: Set the CDR user field

SetGlobalVar: Set a global variable to a given value SetMusicOnHold: Set default Music On Hold class SetTransferCapability: Set ISDN Transfer Capability SIPAddHeader: Add a SIP header to the outbound call SIPDtmfMode: Change the dtmfmode for a SIP call SLAStation: Shared Line Appearance Station SLATrunk: Shared Line Appearance Trunk

SMS: Communicates with SMS service centres and SMS capable analogue phones SoftHangup: Soft Hangup Application

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

StopMixMonitor: Stop recording a call through MixMonitor 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

UnpauseMonitor: Unpause monitoring of a channel UnpauseQueueMember: Unpauses a queue member

UserEvent: Send an arbitrary event to the manager interface Verbose: Send arbitrary text to verbose output

VMAuthenticate: Authenticate with Voicemail passwords VoiceMail: Leave a Voicemail message VoiceMailMain: Check Voicemail messages Wait: Waits for some time

WaitExten: Waits for an extension to be entered WaitForRing: Wait for Ring Application

WaitForSilence: Waits for a specified amount of silence WaitMusicOnHold: Wait, playing Music On Hold While: Start a while loop

Zapateller: Block telemarketers with SIT ZapBarge: Barge in (monitor) Zap channel ZapRAS: Executes Zaptel ISDN RAS application ZapScan: Scan Zap channels to monitor calls

ZapSendKeypadFacility: Send digits out of band over a PRI

你可以得到当前系统可用的App 命令集合通过在CLI里面输入\和\application \在1.6版本之前,或者使用\和\application \在版本1.4中 注意:

标题特殊字符含义

标题特殊字符或文字颜色代表了不同含义 + 绿色:是增加的/功能的函数 ~ 黄色:表示弃用的函数

- 红色:移处或不在原先版本中使用的函数

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

ADSI 相关命令

DAHDI (was ZAP)相关命令 SIP命令 SMS短消息命令 vISDN 命令

主叫来电演示命令(Caller presentation (ID, Name etc) ) 呼叫控制命令 声音处理命令 外部应用命令

字符串及变量处理命令 常规命令

录音及监听功能命令 扩展应用集成命令 控制流程和超时命令 数据库处理命令

无线电技术及中继链接(Amateur Radio/Repeater Linking ) 警告监控及总站(Alarm Monitoring/Central Station ) 计费相关的命令

语音信箱及会议相关命令 队列及ACD管理相关命令

http://www.asteriskcn.com/index.php?q=content/asterisk-??¨??·??1???dialplan?????¤??????


Asterisk拨号方案常用函数(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:高三中国古代史单元复习资料

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: