login | register
Sat 17 of May, 2008 [17:07 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.44s
  • Memory usage: 2.21MB
  • Database queries: 38
  • GZIP: Disabled
  • Server load: 0.89

Asterisk manager Examples

Command Examples

  • Login - Establish a new Asterisk manager session.
  • Originate - Place a call from a device to an extension.
  • Redirect - with ExtraChannel
  • Transfer - Transfer a call to another extension
  • Command - Execute an Asterisk CLI command in an Asterisk manager session

Application Examples

Mac OS X

C#

VB.NET

C++

Bash

Java

  • Java library - Supports receiving events from the Asterisk server and sending actions to Asterisk. (See Asterisk-java for details)

Perl

  • CPAN: Asterisk manager - This module can allow you to monitor and control Asterisk using Perl and POE.
  • TACI - (Trivial Asterisk Call-generator Interface) An example example of a "click to call" Web CGI. It requires Net::Telnet, the included README walks you through the whole setup.

PHP

  • Numerous PHP examples - A collection of PHP examples varying in complexity.
  • Asterisk Manager API for PHP provided by Straw Dogs under BSD license with examples and documentation.
  • floAPI - A PHP class for connecting to API manager. Includes event support. (PHPClasses.org August 2005 Innovation Award Nominee)
  • Star Asterisk API, PHP with event handling and dial examples.

Python

  • py-asterisk - The Python Asterisk package (codenamed py-Asterisk) is an attempt to produce high quality, well documented Python bindings for the Asterisk Manager API.
  • pyst - A set of interfaces and libraries to allow programming of asterisk from python beginning with agilib.py for programming agi applications and moving to tightly integrated long running python processes for telephony applications.
  • StarPy - Set of protocols to allow Twisted-Python applications to communicate via both FastAGI and AMI
  • Fats - FastAGI and AMI protocols for the Twisted framework. Include full code covered tests and examples for the Mock Object pattern development. Released under MIT license.

Ruby

  • RAMI (Ruby Asterisk Manager Interface) provides a client library and built-in proxy server in Ruby for interfacing with the Asterisk manager interface.

Tcl

  • amclient.tcl - For die-hard Tcl fans, here is a robust open source Tcl wrapper which hides the manager protocol syntax from the Tcl script writer. It comes with a simple demo program that can also be used to talk to Asterisk servers for diagnostic purposes in an interactive script-as-you-go kind of way.
  • TclMyAst supports all Asterisk v1.2 manager commands; cross-platform; allows registering callbacks on ActionID, UniqueID, and/or Event/Response; operation as proxy that maintains state of channels; demo Tk GUI with integrated command reference.


See Also

Created by flobi, Last modification by Amir Tavasoli on Wed 07 of May, 2008 [09:37 UTC]

Comments Filter

Asterisk Manager Interface with Perl

by TobiasUnsleber on Wednesday 26 of April, 2006 [12:58:01 UTC]
Be sure not to use "\r\n" as line-Terminators. Use Octal notation "\015\012". This is not the same as "\r\n" and "\r\n" will not work, though you might expect it to. Read manpage of "perlport" section newline for the cause.

Whew

by flobi on Thursday 25 of August, 2005 [16:03:56 UTC]
Okay, finally the examples are tollerably readable. Thanks, me. :-P

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