質問

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 . . .

役に立ちましたか?

解決

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

他のヒント

There is Elastix REST API solution that written in PHP with no dependencies required. elastix-api also you could check a document on how to install it beside Elastix server, contains important functions such as:

  1. Live call
  2. CDR Report
  3. Download call records *.wav file

and many things.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top