`
sun4love
  • 浏览: 230669 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

asterisk application commands

    博客分类:
  • VOIP
阅读更多

Asterisk - documentation of application commands
Page Contents
Asterisk Dialplan Commands
General commands
Billing
Call management (hangup, answer, dial, etc)
Caller presentation (ID, Name etc)
ADSI
Database handling
Application integration
Control flow & timeouts
String & variable manipulation
Sounds: Playback
Sounds: Recording and monitoring (listening-in)
SIP commands
DAHDI (was ZAP) commands
Voicemail and conferencing
Queue and ACD management
Short Message Service (SMS)
Alarm Monitoring/Central Station
Amateur Radio/Repeater Linking
External applications - not in the Digium distribution (svn or http tarballs)
Bristuff application
vISDN applications
Applications for Sirrix channels
Alphabetical list
See Also


Asterisk Dialplan Commands
Here is a list of all the commands that you can use in your Dialplan (extensions.conf). You can obtain your Asterisk's list of available applications at the CLI by typing "show applications" and "show application <name>" in versions before 1.6, or "core show applications" and "core show application <name>" in versions from 1.4.

Notes:
An alphabetical list can be found at the end of this page
Please only list applications integrated in the Asterisk releases or CVS versions, with notes about version where it is included. Third party add-ons is listed in a separate section.
Colors:
Green - Added/functional version
Orange - Deprecated version
Red - Removed/no longer in present version

General commands
Authenticate: Authenticate a user. (1.0)
Bridge: Connect two arbitrary callers. (1.6)
ChannelRedirect: Redirect an existing channel to the dialplan. (1.4)
CheckGroup: Checks if the total # of channels exceeds max. Deprecated in favor of GROUP_COUNT. (1.2, 1.4)
ClearHash: Clear the keys from a specified hashname (1.6)
Curl: Allows for the retrieval of external URLs. Also supports POSTing. Deprecated in favor of CURL. (1.2, 1.4).
DUNDiLookup: Look up a number with DUNDi. Deprecated in favor of DUNDILOOKUP. (1.2, 1.4)
GetGroupCount: Group count for specified group or channel is in. Deprecated in favor of GROUP_COUNT (1.2, 1.4)
GetGroupMatchCount: Calculates group count for all groups that match pattern. Deprecated in favor of GROUP_MATCH_COUNT (1.2, 1.4)
KeepAlive: Returns AST_PBX_KEEPALIVE value (1.6)
Log: Append text to the Asterisk log file(s) (1.4)
Page: Page multiple endpoints at once. (1.2)
Asterisk cmd PickupChan: Pickup a ringing channel (1.6)
SendDTMF: Sends arbitrary DTMF digits. (1.0)
SendImage: Send an image file. (1.0)
SendText: Send client a text message. (1.0)
SendURL: Send a client a URL to display. (1.0)
SetGroup: Sets the group for the current channel. Deprecated in favor of GROUP (1.2, 1.4)
System: Execute a system command. (1.0)
Transfer: Transfer caller to remote extension. (1.0)
TrySystem: Execute a system command with always 0 returned. (1.0)
VMAuthenticate: Authenticate a user based on voicemail.conf. (1.2)
Wait: Waits for some time. (1.0)
WaitExten: Waits for some time for caller to dial a new extension. (1.0)
WaitForRing: Wait for Ring Application. (1.0)
WaitMusicOnHold: Wait, playing Music On Hold. Deprecated in favor of extended MusicOnHold. (1.6)




Billing
AppendCDRUserField: Append data to CDR User field. Deprecated in favor of CDR(userfield) (1.4, 1.6)
ForkCDR: Fork The CDR into 2 seperate entities. (1.0)
NoCDR: Make sure asterisk doesn't save CDR for a certain call. (1.0)
ResetCDR: Reset CDR data. (1.0)
SetAccount: Sets account code. Deprecated in favor of CDR(accountcode) (1.0, 1.4)
SetAMAflags: Set the channel AMA Flags for billing. (1.0)
SetCDRUserField: Set CDR User field. Deprecated in favor of CDR(userfield) (1.4, 1.6)




Call management (hangup, answer, dial, etc)
AMD: Answering machine detection. (1.4)
Answer: Answer a channel if ringing. (1.0)
Busy: Indicate busy condition and wait for hangup. (1.0)
ChanIsAvail: Check if channel is available. (1.0)
Congestion: Indicate congestion and wait for hangup. (1.0)
Dial: Place a call and connect to the current channel. (1.0)
DISA: DISA (Direct Inward System Access). (1.0)
Hangup: Unconditional hangup. (1.0)
Asterisk cmd Incomplete: Returns AST_PBX_INCOMPLETE value. (1.6)
Originate: Originate a call and connect to a specified extension or application (1.6.2)
RetryDial: Place a call, retrying on failure allowing optional exit extension. (1.2)
Ringing: Indicate ringing. (1.0)




Caller presentation (ID, Name etc)
CallingPres: Change the presentation for the callerid. (1.2)
LookupBlacklist: Look up Caller*ID name/number from blacklist database. Deprecated in favor of BLACKLIST (1.4, 1.6)
LookupCIDName: Look up CallerID Name from local database. Deprecated in favor of ${DB(cidname/${CALLERID(num)})}. (1.4, 1.6)
PrivacyManager: Require phone number to be entered, if no CallerID sent. (1.0)
SetCallerID: Set CallerID. Deprecated in favor of CALLERID. (1.4, 1.6)
SetCallerPres: Channel independent setting of caller presenation. Deprecated in favor of CALLERPRES (1.6)
SetCIDName: Set CallerID Name. Deprecated in favor of CALLERID. (1.4, 1.6)
SetCIDNum: Set only the Caller ID number (not name). Deprecated in favor of CALLERID. (1.4, 1.6)
SoftHangup: Request hangup on another channel. (1.0)
Zapateller: Block telemarketers with SIT. (1.0)


ADSI
ADSIProg: Load Asterisk ADSI Scripts into phone. (1.0)
GetCPEID: Get ADSI CPE ID. (1.0)


Database handling
DBdel: Delete a key from the database. Deprecated in favor of DB_DELETE. (1.4, 1.6)
DBdeltree: Delete a family or keytree from the database. (1.0)
DBget: Retrieve a value from the database. Deprecated in favor of DB. (1.4, 1.6)
DBput: Store a value in the database. Deprecated in favor of DB. (1.4, 1.6)
Asterisk cmd ODBCFinish: Clear the resultset of a successful multirow query (1.6)
RealTime: Populate variables with details from database using RealTime. Deprecated in favor of REALTIME. (1.4, 1.6)
RealTimeUpdate: Update a field in a database using RealTime. Deprecated in favor of REALTIME. (1.4, 1.6)

See Asterisk database for more information.


Application integration
AGI: Executes an AGI compliant application. (1.0)
DeadAGI: Executes AGI on a hung-up channel. (1.0)
EAGI: Executes an AGI compliant application with sound channels. (1.0)
EnumLookup: Lookup number in ENUM. Deprecated in favor of ENUMLOOKUP. (1.2, 1.4)
ExternalIVR: Executes an ExternalIVR generator. (1.2)
Asterisk cmd JabberJoin: Join a group chat. (1.8)
Asterisk cmd JabberLeave: Leave a group chat. (1.8)
JabberSend: Send a text message via Jabber. (1.4)
Asterisk cmd JabberSendGroup: Send a message to a group chat. (1.8)
JabberStatus: Return presence status of client or transport as values 1-7 (1.4)
Jack: Interface to JACK audio for audio manipulation. (1.6)
Read: Read DTMF tones into a variable. (1.0)
ReadFile: Read the contents of a text file into a channel variable. (1.2)
TXTCIDName: Lookup caller name from TXT record. Deprecated in favor of TXTCIDNAME. (1.2, 1.4)
UserEvent: Send an arbitrary event to the manager interface. (1.0)



Control flow & timeouts
AbsoluteTimeout: Set absolute maximum time of call. Deprecated in favor of TIMEOUT(absolute) (1.2, 1.4)
ContinueWhile: Restart a while loop (1.4)
DigitTimeout: Set maximum timeout between digits. Deprecated in favor of TIMEOUT(digit) (1.2, 1.4+)
EndWhile: End A While Loop. (1.2)
Exec: Execute dialplan application. (1.0)
ExecIf: Conditional exec. (1.2)
ExecIfTime: Executes dialplan application conditionally based on current time. (1.2)
ExitWhile: End a While loop. (1.2)
Gosub: Jump to a subroutine and return. (1.2)
GosubIf: Conditional jump to a subroutine and return (1.2)
Goto: Goto a particular priority, extension, or context. (1.0)
GotoIf: Conditional goto. (1.0)
GotoIfTime: Conditional goto on current time. (1.0)
Macro: Macro Implementation. Deprecated in favor of Gosub/Return. (1.6)
MacroExclusive: Only one channel at a time may call this macro, all others have to wait (1.4) Replaced by dialplan functions LOCK(), TRYLOCK(), and UNLOCK() (1.6)
MacroExit: Exit the macro as if it had fully completed (1.4) Deprecated in favor of Return (1.6)
Asterisk cmd MacroIf: Conditional Macro Implementation. Deprecated in favor of GosubIf (1.6)
NoOp: No operation. For debugging, see Verbose or Log. (1.0)
Random: jump to a specified location based on a random probability. Deprecated in favor of GotoIf($[${RAND(1,100)} > <number>]?<label>) (1.4, 1.6)
ResponseTimeout: Set maximum timeout awaiting response. Deprecated in favor of TIMEOUT(response) (1.2, 1.4)
Return: Return from a Gosub or GosubIf. (1.2)
StackPop: Remove a return address without returning. (1.2)
While: Start A While Loop. (1.2)



String & variable manipulation
Cut: Split a string on a specified delimiter. Deprecated in favor of CUT. (1.2, 1.4)
DumpChan: Dump Info About The Calling Channel. (1.0)
ImportVar: Set variable to value. (1.2)
Math: Perform (rather simple) calculations. Deprecated in favor of MATH. (1.2, 1.4)
MSet: Set channel variable(s) or function value(s) (1.6)
SetGlobalVar: Set variable to value. Deprecated in favor of Asterisk func global. (1.2, 1.4)
Set: Set channel variable(s) or function value(s). (1.0)





Sounds: Playback
Background: Play a sound file while waiting an extension. (1.0)
BackgroundDetect: Background a file with talk detect. (1.0)
ControlPlayback: Play a sound file with fast forward, rewind and exit controls. (1.0)
DateTime: Say the date and/or time. Same as SayUnixTime. (1.0)
Echo: Echo audio read back to the user. (1.0)
Festival: Say text with the Festival voice synthesizer. (1.0)
Milliwatt: Generate a Constant 1000Hz tone at 0dbm (mu-law) (1.0)
MP3Player: Play an MP3 sound file or stream. (1.0)
MusicOnHold: Play Music On Hold indefinitely. (1.0)
Playback: Play a sound file. (1.0)
Playtones: Play a tone list while executing other commands. (1.0)
Asterisk cmd Proceeding: Indicate proceeding (1.6)
Progress: Play early audio to the caller before answering the line. (1.0)
SayUnixTime: Say the date and/or time. (1.0)
SayAlpha: Say Alpha. (1.0)
Asterisk cmd SayCountedAdj: Say declining counting phrases (1.8)
Asterisk cmd SayCountedNoun: Say declining counting phrases (1.8)
SayDigits: Say Digits. (1.0)
SayNumber: Say Number. (1.0)
SayPhonetic: Say Phonetic. (1.0)
SetMusicOnHold: Set default Music On Hold class. Deprecated in favor of CHANNEL(musicclass) (1.6)
SetLanguage: Change language setting for sound playback. Deprecated in favor of LANGUAGE. (1.2, 1.4)
StopPlaytones: Stop playing a tone list. (1.0)

See Asterisk sound files for more information.



Sounds: Recording and monitoring (listening-in)
ChangeMonitor: Change monitoring filename of a channel. (1.0)
ChanSpy: Universal channel barge-in. (1.2)
Dictate: Records and plays back a dictation. (1.2)
ExtenSpy: Listen/whisper to a specific extension (1.4)
MixMonitor: Record and mix call legs natively (unlike Monitor). (1.2)
Monitor: Record a telephone conversation to a sound file. (1.0)
Record: Record user voice input to a file. (1.0)
StopMonitor: Stop monitoring a channel. (1.0)
StopMixMonitor: Stop monitoring a channel monitored with MixMonitor. (1.4)


SIP commands
SIPAddHeader: Add header to outbound SIP invite. (1.2)
SIPdtmfMode: Change DTMF mode during SIP call. (1.0)
SIPGetHeader: Get a SIP header from an incoming call. Deprecated in favor of SIP_HEADER(). (1.2, 1.4)



DAHDI (was ZAP) commands
DAHDIBarge: Barge in (monitor) DAHDI channel (was ZapBarge) (1.0)
DAHDIRAS: Provide ISDN data service (was ZapRAS)
DAHDIScan: Scan DAHDI channels to monitor calls (was ZapScan)
DAHDISendKeypadFacility: Send digits out of band over a PRI
Flash: Flashes a Zap/DAHDI Trunk. (1.0)
ZapCD: ISDN call deflection (bristuff)
Asterisk cmd BristuffZapEC: Echo cancellation on/off (bristuff)


See Asterisk zap channels, zapata.conf for more information.



Voicemail and conferencing
ConfBridge: Conference bridge application. (1.6.2)
Directory: Provide directory of voicemail extensions. (1.0)
HasNewVoicemail: Conditionally branches to priority + 101. Deprecated in favor of VMCOUNT. (1.4, 1.6)
Asterisk cmd HasVoicemail: Conditionally branches to priority + 101. Deprecated in favor of VMCOUNT. (1.4, 1.6)
MailboxExists: Checks if mailbox exists. (1.0+)
MeetMe: Simple MeetMe conference bridge. (1.0)
MeetMeAdmin: MeetMe conference Administration. (1.0)
Asterisk cmd MeetMeChannelAdmin: MeetMe conference Administration (channel specific) (1.6)
MeetMeCount: MeetMe participant count. (1.0)
MiniVM: Mini-Voicemail (1.6)
MinivmAccMess: Mini-Voicemail - record account specific messages (1.6)
MinivmDelete: Mini-Voicemail - delete voicemail messages (1.6)
MinivmGreet: Mini-Voicemail - Play prompts (1.6)
MinivmNotify: Mini-Voicemail - Notify voicemail owner about new messages (1.6)
MinivmRecord: Mini-Voicemail - Receive voicemail and forward via email (1.6)
VoiceMail: Leave a voicemail message. (1.0)
VoiceMailMain: Enter voicemail system. (1.0)
VMAuthenticate: Authenticate a user based on voicemail.conf. (1.2)
Asterisk cmd VMSayName: Play the recording name of the voicemail user if it exists, otherwise play the mailbox number. (1.8)


See voicemail.conf for more information.




Queue and ACD management
AddQueueMember: Dynamically adds queue members. (1.0)
AgentCallbackLogin: Call agent callback login. Deprecated. (1.4, 1.6)
AgentLogin: Call agent login. (1.0)
AgentMonitorOutgoing: Record agent's outgoing call. (1.0)
Park: Park yourself. (1.0)
ParkAndAnnounce: Park and Announce. (1.0)
ParkedCall: Answer a parked call. (1.0)
PauseQueueMember: Pauses an agent. (1.2)
Queue: Queue a call for a call queue. (1.0)
RemoveQueueMember: Dynamically removes queue members. (1.0)
UnpauseQueueMember: Resumes an agent. (1.2)


Short Message Service (SMS)
SMS: Pass SMS (short messaging service) to and from SMSc (SMS Center). (1.0)


Alarm Monitoring/Central Station
AlarmReceiver: Emulate an Ademco Contact ID Alarm Receiver. (1.0)


Amateur Radio/Repeater Linking
Rpt: Support Amateur Radio and Commercial Two Way Repeater Linking. (1.0)


External applications - not in the Digium distribution (svn or http tarballs)
ALSAMonitor: Monitor the ALSA console.
app Prepaid: Designed for Postgres
ASR - professional, multi lingual speech recognition for Asterisk
Asterisk app_dbodbc: Dialplan modifiers using unixODBC
Backticks: Store shell command result to asterisk variable
DBRewrite: Execute perl compatible regular expression and substitution out of a MySQL Database.
DBQuery: Execute predefined queries against MySQL Servers, and get the result back into the dialplan.
DTMFToText: Enter alphanumeric strings with DTMF phone
DynExtenDB: Store extensions in database
Flite: Say text with the Festival Lite voice synthesizer (faster response than Festival)
ICES: Streaming calls to the Internet
Iconv: Convert character sets.
LDAPget: Retrieve a value from a LDAP directory server
MYSQL: Perform various mySQL database activities.
NBScat: Play an NBS local stream
PPPD: PPP daemon connector
Perl: res_perl is the mod_perl of Apache, only for Asterisk.
PHP: res_php integrates PHP into Asterisk without AGI.
PPPD: PPP daemon connector
Vxml - professional, VoiceXML interpreter for Asterisk
Bristuff application
All of those are part of the Bristuff asterisk patch.
Asterisk cmd BristuffAutoanswer: Autoanswer a call for a specified extension
Asterisk cmd BristuffAutoanswerLogin: Login to the autoanswer application
Devstate: Generate a device state change event (inuse, busy, ringing ...)
PickUp: Mostly channel independent.
PickUpChan: Pick up the specified channel
Asterisk cmd BristuffPickupSIPuri
PickDown: Hang up on a remotely ringing call
Asterisk cmd BristuffSegfault: Crash Asterisk with segfault
Steal: Take over a bridged call (leg)
ZapCD: ISDN call deflection
Asterisk cmd BristuffZapEc: Enable or disable echo cancellation for Zap
Asterisk cmd BristuffZapInband: Inband call progress (pre-answer)





vISDN applications
Asterisk cmd vISDNOverlapDial)


Applications for Sirrix channels
SrxDeflect: Deflect an incoming call
SrxEchoCan: Disable/enable Echo Cancellation
SrxMWI: Set / reset MessageWaitingIndication (MWI) on a Sirrix group


Alphabetical list
AbsoluteTimeout: Set absolute maximum time of call. Deprecated in favor of TIMEOUT(absolute) (1.2, 1.4)
AddQueueMember: Dynamically adds queue members. (1.0)
ADSIProg: Load Asterisk ADSI Scripts into phone. (1.0)
AgentCallbackLogin: Call agent callback login. Deprecated. (1.4, 1.6)
AgentLogin: Call agent login. (1.0)
AgentMonitorOutgoing: Monitor Outgoing Agent Calls. (1.0)
AGI: Executes an AGI compliant application. (1.0)
AlarmReceiver: Emulate an Ademco Contact ID Alarm Receiver. (1.0)
ALSAMonitor: Monitor the ALSA console. (3rd party addon)
AMD: Answering machine detection. (1.4)
Answer: Answer a channel if ringing. (1.0)
AppendCDRUserField: Append data to the CDR user field. Deprecated in favor of CDR(userfield) (1.4, 1.6)
Authenticate: Authenticate a user. (1.0)
BackGround: Play a file while awaiting extension. (1.0)
BackgroundDetect: Background a file with talk detect. (1.0)
Bridge: Connect two arbitrary callers. (1.6)
Busy: Indicate busy condition and wait for hangup. (1.0)
CallingPres: Change the presentation for the callerid in a ZAP channel (1.2)
ChangeMonitor: Change monitoring filename of a channel. (1.0)
ChanIsAvail: Check if channel is available. (1.0)
ChannelRedirect: Redirect an existing channel to the dialplan. (1.4)
ChanSpy: Universal channel barge-in. (1.2)
CheckGroup: Checks if the total # of channels exceeds max. Deprecated in favor of GROUP_COUNT. (1.2, 1.4)
ClearHash: Clear the keys from a specified hashname (1.6)
ConfBridge: Conference bridge application. (1.6.2)
Congestion: Indicate congestion and wait for hangup. (1.0)
ContinueWhile: Restart a while loop (1.4)
ControlPlayback: Play a sound file with fast forward, rewind and exit controls. (1.0)
Curl: Allows for the retrieval of external URLs. Also supports POSTing. Deprecated in favor of CURL. (1.2, 1.4).
Cut: Split a string on a specified delimiter. Deprecated in favor of CUT. (1.2, 1.4)
DAHDIBarge: Barge in (monitor) Zap channel (was ZapBarge) (1.0)
DAHDIRAS: Provide ISDN data service (was ZapRAS)
DAHDIScan: Scan Zap channels to monitor calls (was ZapScan)
DAHDISendKeypadFacility: Send digits out of band over a PRI (was ZapSendKeypadFacility)
DateTime: Say the date and/or time. Same as SayUnixTime. (1.0)
DBdel: Delete a key from the database. Deprecated in favor of DB_DELETE. (1.4, 1.6)
DBdeltree: Delete a family or keytree from the database. (1.0)
DBget: Retrieve a value from the database. Deprecated in favor of DB. (1.4, 1.6)
DBput: Store a value in the database. Deprecated in favor of DB. (1.4, 1.6)
DBQuery: Execute predefined queries against MySQL Servers, and get the result back into the dialplan. (3rd party addon)
DBRewrite: Execute perl compatible regular expression and substitution out of a MySQL Database. (3rd party addon)
DeadAGI: Executes AGI on a hungup channel. (1.0)
Dial: Place an call and connect to the current channel. (1.0)
Dictate: Records and plays back a dictation. (1.2)
DigitTimeout: Set maximum timeout between digits. Deprecated in favor of TIMEOUT(digit) (1.2, 1.4)
Directory: Provide directory of voicemail extensions. (1.0)
DISA: DISA (Direct Inward System Access). (1.0)
DTMFToText: Enter alphanumeric strings with DTMF phone (3rd party addon)
DumpChan: Dump Info About The Calling Channel. (1.0)
DUNDiLookup: Look up a number with DUNDi. Deprecate in favor of DUNDILOOKUP. (1.2, 1.4)
EAGI: Executes an AGI compliant application on local or remote machine (FastAGI). (1.0)
Echo: Echo audio read back to the user. (1.0)
EndWhile: End A While Loop. (1.2)
EnumLookup: Lookup number in ENUM (1.4, 1.6)
Exec: Execute dialplan application. (1.0)
ExecIf: Executes dialplan application conditionally. (1.2)
ExecIfTime: Executes dialplan application conditionally based on current time. (1.2)
ExitWhile: End a While loop. (1.2)
ExtenSpy: Listen/whisper to a specific extension (1.4)
ExternIVR: Interfaces with an external IVR application. (1.2)
Festival: Say text with the Festival voice synthesizer. (1.0)
Flash: Flashes a DAHDI Trunk. (1.0)
Flite: Say text with the Festival Lite voice synthesizer (faster response than Festival) (3rd party addon)
ForkCDR: Fork The CDR into 2 seperate entities. (1.0)
GetCPEID: Get ADSI CPE ID. (1.0)
GetGroupCount: group count for specified group or channel is in. Deprecated in favor of GROUP_COUNT (1.2, 1.4)
GetGroupMatchCount: Calculates group count for all groups that match pattern. Deprecated in favor of GROUP_MATCH_COUNT (1.2, 1.4)
Gosub: Jump to a subroutine and return. (1.2)
GosubIf: Conditional jump to a subroutine and return. (1.2)
Goto: Goto a particular priority, extension, or context. (1.0)
GotoIf: Conditional goto. (1.0)
GotoIfTime: Conditional goto on current time. (1.0)
Hangup: Unconditional hangup. (1.0)
HasNewVoicemail: Conditionally branches to priority + 101. Deprecated in favor of VMCOUNT. (1.4, 1.6)
Asterisk cmd HasVoicemail: Conditionally branches to priority + 101. Deprecated in favor of VMCOUNT. (1.4, 1.6)
ICES: Streaming calls to the Internet (3rd party addon)
ImportVar: Set variable to value. (1.2)
Asterisk cmd Incomplete: Returns AST_PBX_INCOMPLETE value. (1.6)
Asterisk cmd JabberJoin: Join a group chat. (1.8)
Asterisk cmd JabberLeave: Leave a group chat. (1.8)
JabberSend: Send a message to a buddy. (1.4)
Asterisk cmd JabberSendGroup: Send a message to a group chat. (1.8)
JabberStatus: Return presence status of client or transport as values 1-7 (1.4)
Jack: Interface to JACK audio for audio manipulation. (1.6)
KeepAlive: Returns AST_PBX_KEEPALIVE value. (1.6)
Log: Send arbitrary text to a selected log level. (1.4)
LookupBlacklist: Look up Caller*ID name/number from blacklist database. Deprecated in favor of DB. (1.4, 1.6)
LookupCIDName: Look up CallerID Name from local database. Deprecated in favor of DB. (1.4, 1.6)
Macro: Macro Implementation. Deprecated in favor of Gosub/Return (1.6)
MacroExclusive: Only one channel at a time may call this macro, all others have to wait (1.4) Replaced by dialplan functions LOCK(), TRYLOCK(), and UNLOCK() (1.6)
MacroExit: Exit the macro as if it had fully completed (1.4) Deprecated in favor of Return (1.6)
Asterisk cmd MacroIf: Conditional Macro Implementation. Deprecated in favor of GosubIf (1.6)
MailboxExists: Checks if voicemail mailbox exists. (1.0)
Math: Perform (rather simple) calculations. Deprecated in favor of MATH. (1.2, 1.4)
MeetMe: Simple MeetMe conference bridge. (1.0)
MeetMeAdmin: MeetMe conference Administration. (1.0)
Asterisk cmd MeetMeChannelAdmin: MeetMe conference Administration (channel specific) (1.6)
MeetMeCount: MeetMe participant count. (1.0)
Milliwatt: Generate a constant 1004Hz tone at 0dbm (mu-law) (1.0)
MinivmAccMess: Mini-Voicemail - record account specific messages (1.6)
MinivmDelete: Mini-Voicemail - delete voicemail messages (1.6)
MinivmGreet: Mini-Voicemail - Play prompts (1.6)
MinivmNotify: Mini-Voicemail - Notify voicemail owner about new messages (1.6)
MinivmRecord: Mini-Voicemail - Receive voicemail and forward via email (1.6)
Asterisk cmd MixMonitor: Record and mix call legs. (1.2)
Monitor: Record a telephone conversation to a sound file. (1.0)
MP3Player: Play an MP3 sound file or stream. (1.0)
MSet: Set channel variable(s) or function value(s) (1.6)
MusicOnHold: Play Music On Hold indefinitely. (1.0)
MYSQL: Perform various mySQL database activities. (3rd party addon)
NBScat: Play an NBS local stream (3rd party addon)
NoCDR: Make sure asterisk doesn't save CDR for a certain call. (1.0)
NoOp: No operation. For debugging, see Verbose or Log. (1.0)
Asterisk cmd ODBCFinish: Clear the resultset of a successful multirow query (1.6)
Page: Page multiple endpoints at once. (1.2)
Park: Park yourself. (1.0)
ParkAndAnnounce: Park and Announce. (1.0)
ParkedCall: Answer a parked call. (1.0)
PauseQueueMember: Pauses an agent. (1.2)
Perl: res_perl is the mod_perl of Apache, only for Asterisk. (3rd party addon)
PHP: res_php integrates PHP into Asterisk without AGI. (3rd party addon)
Pickup: Directed call pickup (1.2)
PickUP: Pickup a Zap Channel before answered (Bristuff)
Asterisk cmd PickupChan: Pickup a ringing channel (1.6)
Playback: Play a file. (1.0)
Playtones: Play a tone list while executing other commands. (1.0)
PPPD: PPP daemon connector (3rd party addon)
PrivacyManager: Require phone number to be entered, if no CallerID sent. (1.0)
Asterisk cmd Proceeding: Indicate proceeding (1.6)
Progress: Play early audio to the caller before answering the line. (1.0)
Queue: Queue a call for a call queue. (1.0)
Random: jump to a specified location based on a random probability. Deprecated in favor of GotoIf($[${RAND(1,100)} > <number>]?<label>) (1.4, 1.6)
Read: Read DTMF tones into a variable. (1.0)
Asterisk cmd ReadExten: Read an extension into a variable (1.6)
ReadFile: Read the contents of a text file into a channel variable. (1.2)
RealTime: Populate variables with details from database using RealTime. Deprecated in favor of REALTIME. (1.4, 1.6)
RealTimeUpdate: Update a field in a database using RealTime. Deprecated in favor of REALTIME. (1.4, 1.6)
Record: Record a telephone conversation to a sound file. (1.0)
RemoveQueueMember: Dynamically removes queue members. (1.0)
ResetCDR: Reset CDR data. (1.0)
ResponseTimeout: Set maximum timeout awaiting response. Deprecated in favor of TIMEOUT(response) (1.2, 1.4)
RetryDial: Place a call, retrying on failure allowing optional exit extension. (1.2)
Return: Return from a Gosub or GosubIf. (1.2)
Ringing: Indicate ringing tone. (1.0)
Rpt: Support Amatuer Radio and Commercial Two Way Repeater Linking. (1.0)
SayAlpha: Say Alpha. (1.0)
Asterisk cmd SayCountedAdj: Say declining counting phrases (1.8)
Asterisk cmd SayCountedNoun: Say declining counting phrases (1.8)
SayDigits: Say Digits. (1.0)
SayNumber: Say Number. (1.0)
SayPhonetic: Say Phonetic. (1.0)
SayUnixTime: Say the date and/or time. (1.0)
SendDTMF: Sends arbitrary DTMF digits. (1.0)
SendImage: Send an image file. (1.0)
SendText: Send client a text message. (1.0)
SendURL: Send client a URL to display. (1.0)
Set: Set channel variable(s) or function value(s). (1.0)
SetAccount: Sets account code. Deprecated in favor of CDR(accountcode) (1.0, 1.4)
SetAMAflags: Set the channel AMA Flags for billing. (1.0)
SetCallerID: Set CallerID. Deprecated in favor of CALLERID. (1.4, 1.6)
SetCallerPres: Channel independent setting of caller presenation. Deprecated in favor of CALLERPRES (1.6)
SetCDRUserField: Set CDR User Field. See Billing. Deprecated in favor of CDR(userfield) (1.4, 1.6)
SetCIDNum: Set only the Caller ID number (not name). Deprecated in favor of CALLERID. (1.4, 1.6)
SetGlobalVar: Set variable to value. Deprecated in favor of Asterisk func global.(1.2, 1.4)
SetGroup: Sets the group for the current channel. Deprecated in favor of GROUP (1.2, 1.4)
SetLanguage: Change language setting for sound playback. Deprecated in favor of LANGUAGE. (1.2, 1.4)
SetMusicOnHold: Set default Music On Hold class. Deprecated in favor of CHANNEL(musicclass) (1.6)
SIPAddHeader: Add header to outbound SIP invite. (1.2)
SIPCallPickup: Pickup a ringing phone in the pickup group. Obsoleted.
SIPGetHeader: Pick any header from a SIP invite message. Deprecated in favor of SIP_HEADER(). (1.2, 1.4)
SIPdtmfMode: Change DTMF mode during SIP call. (1.0)
SMS: Pass SMS (short messaging service) to and from SMSc (SMS Center). (1.0)
SoftHangup: Request hangup on another channel. (1.0)
SrxEchoCan: Disable/enable Echo Cancellation
SrxDeflect: Deflect an incoming call
SrxMWI: Set / reset MessageWaitingIndication (MWI) on a Sirrix group
StackPop: Remove a return address without returning. (1.2)
Steal: Steal a Zap Channel after answered
StopMonitor: Stop monitoring a channel. (1.0)
StopMixMonitor: Stop monitoring a channel monitored with MixMonitor. (1.4)
StopPlaytones: Stop playing a tone list. (1.0)
System: Execute a system command. (1.0)
TestClient: Execute Interface Test Client. (1.2)
TestServer: Execute Interface Test Server. (1.2)
Transfer: Transfer caller to remote extension. (1.0)
TrySystem: Execute a system command with always 0 returned. (1.0)
TXTCIDName: Lookup caller name from TXT record. Deprecated in favor of TXTCIDNAME. (1.2, 1.4)
UnpauseQueueMember: Resumes an agent. (1.2)
UserEvent: Send an arbitrary event to the manager interface. (1.0)
VMAuthenticate: Authenticate a user based on voicemail.conf. (1.2)
Asterisk cmd VMSayName: Play the recording name of the voicemail user if it exists, otherwise play the mailbox number. (1.8)
VoiceMail: Leave a voicemail message. (1.0)
VoiceMailMain: Enter voicemail system. (1.0)
Wait: Waits for some time. (1.0)
WaitExten: Waits for an extension to be entered. (1.0)
WaitForRing: Wait for Ring Application. (1.0)
WaitMusicOnHold: Wait, playing Music On Hold. Deprecated in favor of extended MusicOnHold. (1.6)
Asterisk cmd WaitUntil: Wait (sleep) until the current time is the given epoch (1.6)
While: Start a while loop. (1.2)
Zapateller: Block telemarketers with SIT. (1.0)





See Also
Asterisk Configuration
The Dialplan - extensions.conf
Asterisk Functions - Functions to use in the dialplan

分享到:
评论

相关推荐

    Asterisk.NET 1.6.3 控制Asterisk

    FastAGI(Fast Application Gateway Interface)则是另一种与Asterisk交互的方式,它允许你在Asterisk处理呼叫时运行外部脚本或应用程序。Asterisk.NET中的FastAGI部分提供了与Asterisk交换数据、执行通话处理逻辑的...

    通过asterisk-java操作asterisk

    Asterisk是一个开源的IP电话系统,而Asterisk-java则是一个Java库,它提供了与Asterisk服务器交互的能力。这个库使得开发者可以利用Java语言来控制和编程Asterisk PBX(Private Branch eXchange),执行诸如创建、...

    Asterisk权威指南中文

    Asterisk权威指南中文(第3版) Asterisk权威指南(第3版)第15章自动话务员 Asterisk权威指南(第3版)第02章Asterisk体系结构 Asterisk权威指南(第3版)第05章用户设备配置 Asterisk权威指南(第3版)第06章Dialplan基础 ...

    Asterisk 简介 Asterisk 架构 Asterisk程序框图

    Asterisk是一款开源的电话交换机软件,它允许用户创建高度自定义的通信系统,包括VoIP(Voice over IP)电话、会议桥、自动呼叫分配(ACD)以及许多其他电信功能。Asterisk的核心设计理念是灵活性和可扩展性,这使得...

    Asterisk 之数据库配置方案 asterisk数据库

    Asterisk 之数据库配置方案 Asterisk 是一个开源的 PBX(Private Branch Exchange)系统,可以实现电话交换和语音网关的功能。在传统的 Asterisk 配置中,配置文件都是存储在文件系统中的,但是随着系统的复杂度和...

    asterisk16版本安装包

    Asterisk是一款开源的IP电话系统,用于构建VoIP(Voice over Internet Protocol)通信平台。在本场景中,我们讨论的是Asterisk的16版本安装包,这将引导我们深入理解Asterisk的核心功能、安装流程以及如何进行编译和...

    asterisk AGI应用说明

    ### Asterisk AGI应用详解 #### 一、概述 Asterisk是世界上最流行的开源PBX系统之一,它支持多种通信协议并提供了丰富的功能。在Asterisk中,AGI(Asterisk Gateway Interface)是一种非常重要的接口技术,它允许...

    Asterisk CookBook.pdf

    This is a book for anyone who uses Asterisk, but particularly those who already ...external application through the Asterisk Gateway Interface or Asterisk Manager Interface isn’t also possible.

    Asterisk AMI 接口代码

    Asterisk AMI(Asterisk Manager Interface)接口是Asterisk PBX系统提供的一种用于远程管理和监控的强大工具。这个接口允许开发者通过编程方式与Asterisk进行交互,执行诸如控制呼叫、获取状态、监听通话等多种操作...

    asterisk 视频通讯实现方法

    Asterisk是一款开源的PBX(Private Branch Exchange)软件,专用于实现VoIP(Voice over IP)通信。在本文中,我们将深入探讨如何利用Asterisk实现视频通讯功能。实现Asterisk视频通讯的关键在于配置sip.conf文件...

    Asterisk一些常用的命令

    Asterisk命令详解 Asterisk是一款开源的电话交换机软件,提供了丰富的命令来管理和控制电话系统。下面是Asterisk的一些常用的命令: 1. amportal 命令 amportal 命令是FreePBX搞的,负责管控Asterisk。amportal ...

    asterisk_dialplan学习笔记

    exten=&gt;Number,Priority,Application是拨号方式的定义格式,其中Number是被叫号码,Priority是优先级,Application是Asterisk实际执行的动作。 在拨号过程中,Asterisk会检查其是否符合dialplan中的一个条目,如果...

    Asterisk 客户端.rar

    Asterisk是一款开源的IP电话系统,用于构建VoIP网络通信基础设施。它的功能强大,能够支持PBX(Private Branch Exchange)、VoIP网关、呼叫中心和许多其他电信应用。在这个"Asterisk客户端.rar"压缩包中,我们主要...

    asterisk拨号方案的配置

    asterisk拨号方案的配置 Asterisk拨号方案的配置是Voice over Internet Protocol(VoIP)技术中的一个关键组件,它控制着呼入和呼出电话的处理和路由。配置文件“extensions.conf”是Asterisk拨号方案的核心,它...

    asterisk-java-1.0.0-m2-sources.zip_asterisk

    Asterisk-Java是一个Java库,它为Asterisk系统提供了AGI(Asterisk Gateway Interface)的实现,方便开发者用Java语言进行Asterisk系统的接口开发。AGI是Asterisk的一个强大特性,允许外部应用程序在呼叫处理过程中...

    Asterisk

    Asterisk,作为开源通信平台中的佼佼者,它的出现彻底改变了传统电话系统的工作方式,为全球通信领域带来了革命性的变化。Asterisk不仅仅是一款软件,它更是一种理念,象征着自由、开放与创新的精神。从上述内容来看...

    Asterisk 中文文档说明

    Asterisk是一款强大的开源通信平台,它被广泛用于构建VoIP(Voice over Internet Protocol)电话系统,SIP(Session Initiation Protocol)服务器以及各种通信应用。这个“Asterisk中文文档说明”涵盖了从基础概念到...

    Ubuntu16.0.4环境下的Asterisk安装经验

    ### Ubuntu16.0.4环境下Asterisk安装经验 #### 概述 本文将详细介绍如何在Ubuntu 16.0.4系统上安装Asterisk。Asterisk是一款非常强大的开源PBX(Private Branch Exchange)系统,它可以将普通的计算机变成一个功能...

    最全Asterisk代码学习笔记

    Asterisk是一款开源的PBX(Private Branch Exchange)软件,它允许用户在IP网络上建立电话通信系统。作为Linux环境下的通信平台,Asterisk提供了丰富的功能,包括语音通话、会议、语音邮件、传真等。以下是一些核心...

    asterisk1.8安装参考录像

    Asterisk是一款开源的IP电话系统,用于构建VoIP网络通信服务器。在本教程中,我们将深入探讨如何安装和配置Asterisk 1.8版本,这是一个较早但仍然广泛使用的版本,尤其对于初学者来说是个很好的起点。 首先,安装前...

Global site tag (gtag.js) - Google Analytics