Asterisk integration with custom ERP

One of our customers has an Asterisk phone center and want to integrate it with our ERP. The idea is that Asterisk calls an Oracle database procedure when a phone call is transferred to an extension. This Oracle procedure has 2 parameters, incoming phone number and destination extension.

Is it possible to do this with Asterisk? Where can I find documentation or examples to do it?

I have read official Asterisk API documentation but don’t understand how it works and where can I begin to search…

Yes it is you can fire the procedude using the shell or system commands, also AGI,

Use AGI as ambioixg12 says, or you can have Asterisk make a HTTP request, that calls the database procedure. with this dial plan function https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_CURL

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.