Hi,
We plan to integrate asterisk with our CRM which is a Java web application running on JBoss.
The functions we want to achieve through our CRM web interface, includes:
set up accounts and register phones
set up queues for customer services, and allocate phones to queues.
window popup to show customer info when answering phones or calling customers
set up call forwarding, such as forwarding to cell phone
call recording, and manage/play back recording.
When a phone call arrives/hangup, our CRM should be notified.
which API should I use? AGI/FastAGI, Manager API or AJAM?
I am new to asterisk. Thanks for any advice on helping me get started on integration.
Dave
It’s a Javascript and not Java wrapper. I also think AMI is the way to go, as if you decide to use AJAM users logged in the CRM would directly connect and send commands to the Asterisk server, while if you use AMI the server side application of the CRM would communicate with the Asterisk box, which is way more secure.
It seems to me that he’s already decided he wants a relatively thick client, rather than having an intermediate server that takes CRM type actions and converts them into AMI ones. If the code is running in the web browser, Java versus Ecmascript probably doensn’t make much difference, in terms of security exposure.
Use manager show commands to find the actions for updating configuration files, or look them up in the appendix of one of Digium’s Asterisk book, e.g. see asteriskdocs.org/