Search code examples
djangovoipasteriskelastix

elastix API for communicating with django web application


I have VOIP server running Elastix, and web application in Django running on different server. I want to communicate between these two server for transferring data and use them in IVR, such as getting user id and password from phone keypad and check it in Django database and then give related data to user using IVR.

Is there any framework or API to do this? Does anyone know about VOIP server?? pleas help . . .


Solution

  • I don't know this particular appliance, but it seems to run on Asterisk. The Asterisk API for this kind of stuff is called AGI (Asterisk Gateway Interface).

    The Asterisk Gateway Interface is an interface for adding functionality to Asterisk with many different programming languages. Perl, PHP, C, Pascal, Bourne Shell - it's your choice, really.

    • AGI may control the dial plan, called in extensions.conf.
    • Async AGI Introduced in Asterisk 1.6, allows asynchronous AGI scripting.
    • EAGI gives the application the possibility to access and control the sound channel in addition to interaction with the dial plan.
    • FastAGI can be used to do the processing on a remote machine via a network connection.
    • DeadAGI gives access to a dead channel, after hangup. Deprecated since Asterisk 1.6

    source: http://www.voip-info.org