Author: VoIP Info
Asterisk manager Example: Command
Execute an Asterisk CLI command in an Asterisk manager session The Asterisk CLI is accessible through the manager API. All of the CLI commands can be passed through using the “Command subset” feature. For example, to dump the…
Read More »Asterisk manager Example: Transfer
Asterisk Manager Example: Transfer Transfer a call to another extension Let’s see what channels we actually have first: SEND: ACTION: Command command: show channels RECEIVE: Response: Follows Channel (Context Extension Pri ) State Appl. Data SIP/x7065558529-8f54 (pms-x7065558529 1…
Read More »Asterisk cmd Dial
Dial() Synopsis Application dial() attempts to establish a new outgoing connection on a channel, and then link it to the calling input channel. Description Dial(type/identifier, timeout, options, URL)fo Dial(type1/identifier1[&type2/identifier2[&type3/identifier3… ] ], timeout, options, URL) RetryDial(announce|sleep|loops|Technology/resource[&Technology2/resource2…][|[timeout][|[options][|URL]]]) Page Contents Parameters…
Read More »Asterisk manager Example: Redirect
Redirect with ExtraChannel: Attempted goal:Have a ‘robot’ program Redirect both ends of an already-connected call to a meetme room using the ExtraChannel feature through the management interface. SEND: ACTION: RedirectChannel: SIP/1234-6378ExtraChannel: SIP/4321-45cf6c80Exten: 680Priority: 1Context: default RECEIVE: Response: ErrorMessage:…
Read More »Asterisk manager Example: Originate
Originate – Place a call from a device to an extension. If the device (SIP/12345) is a phone, it will ring and when picked up the user will be connected to the extension (Context, Exten, Priority) dialed. If…
Read More »Asterisk manager Example: Login
Login – Establish a new Asterisk manager session. Don’t forget that you have to end your request with \r\n\r\n (two CrLfs), that’s ascii characters 13, 10, 13 and 10 successively. SEND: ACTION: LOGIN USERNAME: username SECRET: password EVENTS:…
Read More »Asterisk manager Example: C Sharp
C# Example using System; using System.Net; using System.Net.Sockets; using System.Text.RegularExpressions; using System.Text; namespace AsteriskPrototype { class AppConsole { [STAThread] static void Main(string[] args) { Console.WriteLine(“Quick and Dirty Asterisk Manager Daemon Test:\n”); // Connect to the asterisk server. Socket…
Read More »Asterisk manager Example: Java
Asterisk Manager Example: Java Java library The Asterisk-java package (available unter Apache License from http://asterisk-java.org/) consists of a set of Java classes that allow you to use the Manager API Java applications. It supports receiving events from…
Read More »Asterisk manager Example: Applescript
Asterisk Manager Example: Applescript Dialing the Phone from OS X Addressbook using Applescript only!! (Well “Expect” too but that’s part of the OS so we won’t worry too much about that!) copy the code below into applescript and…
Read More »amclient.tcl
amclient.tcl – Tcl wrapper for Asterisk Manager API This open source Tcl library lets you write Tcl scripts that interact with Asterisk via the manager API. It hides the syntax from the script and instead provides a Tcl-native…
Read More »ICD
Asterisk ICD Asterisk ICD (Intelligent Call Distribution) is an advanced mechanism for handling queues, conferences and agents and provides a unified API for interfacing to external dialer systems. The goal of this application is to provide a flexible,…
Read More »Asterisk Manager API Action Status
Returns the status of all currently-open channels, or of the specified channel. Action: StatusParameters: Channel (optional), ActionID (optional)Not specifying a Channel will return status of all channels. Permissions required (1.4.26.2)read=write=call Permissions required (1.6.0.6)read=write=reporting Sample Query:Action: StatusChannel: SIP/102-efe4ActionID: blah…
Read More »Asterisk fxotune
fxotune A utility for tuning the various settings on the fxo modules for analog cards. Supported by Digium TDM400P and clones, TDM800P, TDM2400P, Xorcom Astribank FXO modules and probably some others. Not supported by X100P cards and clones….
Read More »Zaptel.conf span syntax
Zaptel.conf span definition format span definition format: span=(spannum),(timing),(LBO),(framing),(coding) spannum= Number of the span. This begins at 1, and goes up one integer at a time. You may NOT have two spans with the same span number. timing= How…
Read More »Nuvio
Nuvio – Provides Private Label VoIP Services to Broadband Providers and Network Integrators Headquartered in Kansas City, Mo., Nuvio develops, licenses, and markets VoIP services to businesses, education, consumer and government customers through a growing network of private-label…
Read More »