[asterisk-dev] APIs to interact with Asterisk server

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Feb 6 00:18:36 MST 2007


On Tue, Feb 06, 2007 at 12:03:37PM +0530, selva rani wrote:
> Hi all,
>      I am a newbie to Asterisk and i want to know how to interact with the
> Astersik server. Is there any API's available to work on it? Can anyone help
> me out in knowing the API's in Asterisk much better....

If this is what you need, then look into:

* The Asterisk Manager Interface: A socket you can connect into to
  control a running Asterisk server:
  http://voip-info.org/wiki/view/Asterisk+manager+API
* AGI: http://voip-info.org/wiki/view/Asterisk+AGI 
* However a common mistake is to use heavy-weight AGI programs and such
  where Asterisk's dialplan would do. First and foremost, look at the
  Asterisk dialplan configuration:
  http://voip-info.org/wiki/view/Asterisk+config+extensions.conf

See http://voip-info.org/wiki/view/Asterisk+introduction

And now two notes: this is something you could have read yourself in
e.g. http://voip-info.org .

If you want to get a more specific and helpful answer, try asking a
better question. Please do some research before (re)asking your
question.

http://www.catb.org/~esr/faqs/smart-questions.html

BTW: your question, as you phrase it, actually belongs in asterisk-users
. Unless you actually need to modify Asterisk itself (usually you
don't).

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list