简体   繁体   中英

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

There are no documentation for "just integrate with ERP".

You can use ARI events or AMI events or CEL to make integrations. It will be highly depend of dialplan used

There are probably a dozen ways to do this using the various Asterisk subsystems, such as ARI and AMI, but one of the simplest might be to make a network call embedded in the dialplan.

There are several examples of how this might be done at https://www.voip-info.org/asterisk-call-notification/ ; for example, look at the description for YAC on that page, which shows how to make the call using netcat.

That method uses the System Application . Do be careful not to pass unfiltered text from eg the Caller ID information to the system, as someone might inject malicious code into the Caller ID.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM