login | register
Sat 17 of May, 2008 [18:33 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Juan Ortega, Thu 15 of May, 2008 [10:33 UTC]: Hi everybody, I'm Juan, an ITCom student, and I need to know what basic elements I need to create a VoIP network. Can anybody helpme, please?,Thank you very much
  • gineta, Wed 14 of May, 2008 [03:58 UTC]: any here not fine the configuration of firewall juniper -screem for VOIP asterisk????
  • Anoop Prabhakaran, Tue 13 of May, 2008 [12:16 UTC]: I am developing Asterisk IVR, Whenever i make a internation call to the IVR system, the DTMF is not getting detected properly, this happens only for the first time, second call onwards system works fine. why this is happening
  • joe, Mon 12 of May, 2008 [04:27 UTC]: Is there an opensource browser based softphone, or a system like Busta where everything is not manages through their website?
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
Server Stats
  • Execution time: 0.79s
  • Memory usage: 2.57MB
  • Database queries: 58
  • GZIP: Disabled
  • Server load: 0.67

Asterisk - documentation of application commands


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>".

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.

General commands

  • Authenticate: Authenticate a user
  • VMAuthenticate: Authenticate a user based on voicemail.conf
  • Bridge: Connect two arbitrary callers (new in Asterisk v1.6)
  • ChannelRedirect: Redirect an existing channel to the dialplan
  • Curl: Allows for the retrieval of external URLs. Also supports POSTing. Deprecated in favor of CURL.
  • DUNDiLookup: Look up a number with DUNDi
  • Page: Page a mobile device (new in Asterisk v1.2)
  • SendDTMF: Sends arbitrary DTMF digits
  • SendImage: Send an image file
  • SendText: Send client a text message
  • SendURL: Send a client a URL to display
  • System: Execute a system command
  • Transfer: Transfer caller to remote extension
  • TrySystem: Execute a system command with always 0 returned
  • Wait: Waits for some time
  • WaitExten: Waits for some time for caller to dial a new extension
  • WaitForRing: Wait for Ring Application
  • WaitMusicOnHold: Wait, playing Music On Hold



Billing


Call management (hangup, answer, dial, etc)

  • Answer: Answer a channel if ringing
  • Busy: Indicate busy condition and wait for hangup
  • ChanIsAvail: Check if channel is available
  • Congestion: Indicate congestion and wait for hangup
  • Dial: Place a call and connect to the current channel
  • DISA: DISA (Direct Inward System Access)
  • Hangup: Unconditional hangup
  • RetryDial: Place a call, retrying on failure allowing optional exit extension.
  • Ringing: Indicate ringing

Caller presentation (ID, Name etc)


ADSI


Database handling

  • DBdel: Delete a key from the database.
  • DBdeltree: Delete a family or keytree from the database.
  • DBget: Retrieve a value from the database. Deprecated in favor of DB.
  • DBput: Store a value in the database. Deprecated in favor of DB.
  • MYSQL: Perform various mySQL database activities
  • DBQuery: Execute predefined queries against MySQL Servers, and get the result back into the dialplan.
  • RealTime: Populate variables with details from database using RealTime
  • RealTimeUpdate: Update a field in a database using RealTime

See Asterisk database for more information.

Application integration

  • AGI: Executes an AGI compliant application
  • DeadAGI: Executes AGI on a hung-up channel
  • EAGI: Executes an AGI compliant application with sound channels
  • EnumLookup: Lookup number in ENUM
  • ExternalIVR: Executes an ExternalIVR generator
  • Macro: Macro Implementation
  • MacroExclusive: Only one channel at a time may call this macro, all others have to wait (1.4)
  • MacroExit: Exit the macro as if it had fully completed (1.4)
  • NoOp: No operation. Can print values to console for debugging.
  • Perl: res_perl is the mod_perl of Apache, only for Asterisk
  • PHP: res_php integrates PHP into Asterisk without AGI
  • Read: Read a variable with DTMF
  • TXTCIDName: Lookup caller name from TXT record
  • UserEvent: Send an arbitrary event to the manager interface

Control flow & timeouts

  • AbsoluteTimeout: Set absolute maximum time of call
  • DigitTimeout: Set maximum timeout between digits
  • Gosub: Jump to a subroutine and return (new in v1.2)
  • GosubIf: Conditional jump to a subroutine and return (new in v1.2)
  • Goto: Goto a particular priority, extension, or context
  • GotoIf: Conditional goto
  • GotoIfTime: Conditional goto on current time
  • Random: jump to a specified location based on a random probability
  • ResponseTimeout: Set maximum timeout awaiting response
  • Return: Return from a Gosub or GosubIf (new in v1.2)
  • StackPop: Remove a return address without returning (new in v1.2)
  • While: Start A While Loop - *1.2beta
  • EndWhile: End A While Loop - *1.2beta
  • ExecIf: Conditional exec - *1.2beta


String & variable manipulation

  • ImportVar: Set variable to value
  • Math: Perform (rather simple) calculations. Deprecated in favor of MATH.
  • SetGlobalVar: Set variable to value. Deprecated in favor of GLOBAL.
  • Set: Set channel variable(s) or function value(s)
  • DBRewrite: Execute perl compatible regular expression and substitution out of a MySQL Database.

Sounds: Playback


See Asterisk sound files for more information.

Sounds: Recording and monitoring (listening-in)

  • ALSAMonitor: Monitor the ALSA console
  • ChangeMonitor: Change monitoring filename of a channel
  • ChanSpy: Universal channel barge-in
  • Dictate: Records and plays back a dictation
  • ExtenSpy: Listen/whisper to a specific extension (new in 1.4)
  • MixMonitor: Record and mix call legs natively (unlike Monitor) v1.2.x
  • Monitor: Record a telephone conversation to a sound file
  • Record: Record user voice input to a file
  • StopMonitor: Stop monitoring a channel
  • StopMixMonitor: Stop monitoring a channel monitored with MixMonitor

SIP commands



ZAP commands

  • Flash: Flashes a Zap Trunk
  • ZapBarge: Barge in (monitor) Zap channel
  • ZapCD: ISDN call deflection (bristuff)
  • ZapEC: Echo cancellation on/off (bristuff)
  • ZapSendKeypadFacility: Send digits out of band over a PRI
  • ZapRAS: Provide ISDN data service
  • ZapScan: Scan Zap channels to monitor calls

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

Voicemail and conferencing


See voicemail.conf for more information.

Queue and ACD management


Alarm Monitoring/Central Station


Amateur Radio/Repeater Linking

  • Rpt: Support Amateur Radio and Commercial Two Way Repeater Linking

External applications (not in the CVS)


Bristuff application

All of those are part of the Bristuff asterisk patch.
  • PickUp: Mostly channel independent.
  • PickUpChan: Pick up the specified channel
  • PickupSIPuri
  • PickDown: Hang up on a remotely ringing call
  • Steal: Take over a bridged call (leg)
  • Devstate: Generate a device state change event (inuse, busy, ringing ...)
  • Segfault: Crash Asterisk with segfault
  • ZapCD: ISDN call deflection
  • ZapEC: Enable or disable echo cancellation for Zap
  • ZapInband: Inband call progress (pre-answer)
  • Autoanswer: Autoanswer a call for a specified extension
  • AutoanswerLogin: Login to the autoanswer application


vISDN applications


Applications for Sirrix channels

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


Alphabetical list





See Also


Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Created by oej, Last modification by liuzichen on Wed 14 of May, 2008 [06:53 UTC]

Comments Filter

Two flavors of Include are not listed

by Todd Dickinson on Wednesday 26 of September, 2007 [13:14:56 UTC]
There is no mention of either #include or include commands.

Please add links from this page to the #include and include commands. I knew that I had seen a 'copy' type command somewhere and I found mention of it (#include) in the extensions.conf file that is shipped with Asterisk.

Re: SIPCallPickup

by S. McGowan on Tuesday 29 of August, 2006 [19:33:19 UTC]
Er....um...try looking at the list of commands....ANSWER is a great one for your particular ponderings.

SIPCallPickup

by flobi on Wednesday 18 of May, 2005 [23:20:20 UTC]
Why does the call pickup in SIP have to pre-empt the dialplan? Why can't we have a dialplan app that picks up a call instead?
Edit

New application: Read(var|soundfile)

by Anonymous on Wednesday 26 of November, 2003 [17:57:31 UTC]
Description:
 Read(variable[|filename]]):  Reads a '#' terminated string of digits from
the user, optionally playing a given filename first. Returns -1 on hangup or
error and 0 otherwise.

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver