login | register
Wed 01 of Aug, 2007 [09:13 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.

Web www.voip-info.org
Shoutbox
  • Aykut, Wed 01 of Aug, 2007 [07:53 UTC]: Hi all, does anybody know about Thomson ST2030 SIP phone. I have upgraded it to latest version (1.56) but "Hold" and "Conf" features are not working after the upgrade ?? Do you know any solution or do you have Ver. 1.52 ?? Where can I find it?
  • Edward J Brown, Tue 31 of Jul, 2007 [23:33 UTC]: Has anybody experienced Choppy voice quality when using a Linksys SPA942 in an Asterisk Conference bridge? It works fine with my polycom and Cisco, but sucks with my Linksys.
  • www.astawerks.com, Fri 27 of Jul, 2007 [18:00 UTC]: does anyone use asterisk on top of clark connect? does it work good?
  • simon, Fri 27 of Jul, 2007 [14:16 UTC]: Hi All, Has anyone here managed to get the Cisco79x1 to successfully fail over to the backup proxy. I have 2 asterisk servers , handsets all register and function, except that backup proxy function doesn't work. Any working example would be very apprecia
  • Matthew Richmond, Thu 26 of Jul, 2007 [03:40 UTC]: using the page() application to page across our building...often the meetme conferences don't disconnect after the caller hangs up. Anyone else having this problem. (using Polycom phones)
  • Matthew Richmond, Wed 25 of Jul, 2007 [02:58 UTC]: thanks Nicholas Blasgen! I haven't worked with AGI before, but there's always a first! Thanks again!
  • Nicholas Blasgen, Tue 24 of Jul, 2007 [19:18 UTC]: Matthew Richmond, AGI will handle all that for you.
  • sam, Mon 23 of Jul, 2007 [16:39 UTC]: need help - certain voicemail extension will stop working and recording voicemail on asterisk - anyone know why and how to fix it? Thanks
  • john haji, Mon 23 of Jul, 2007 [14:55 UTC]: free calls to pakistan
  • bong, Sat 21 of Jul, 2007 [19:09 UTC]: hi good day to all can anyone help me how to configured the nortel sip to the signaling server and how to activate in mobile w/ sip compatible without mcs
Server Stats
  • Execution time: 1.16s
  • Memory usage: 2.54MB
  • Database queries: 57
  • GZIP: Disabled
  • Server load: 3.10

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: Make a random jump in your dial plan
  • 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

SIP commands

  • SIPdtmfMode: Change DTMF mode during SIP call
  • SIPGetHeader: Pick any header from a SIP invite message (replaced by SIP_HEADER() )
  • SIPAddHeader: Add header to outbound SIP invite

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 & zaphfc applications


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

Created by oej, Last modification by JustRumours on Mon 30 of Jul, 2007 [00:17 UTC]

Comments Filter

Re: SIPCallPickup

by rushowr 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-2007 Arte Marketing, Inc.

Powered by bitweaver