Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12605

Call custom PHP script

$
0
0

@timo0060 wrote:

Hello everyone, I'm new to the world of FreePBX and was looking for guidence. I have a fresh FreePBX 13 install on a machine, and would like to add custom scripts. I have the scripts already made. One will take the caller ID and the Call ID and use it to find data in a seperate API, then insert it all into a MySQL database. The second one will happen when a user answers the phone. It will accept the call ID and the user's extension and update the entry in the MySQL database where Call ID is the same. My problem is that I have no idea where to start with FreePBX to actually make the rules that will run the first script when a new call comes in and make the second script run when a user picks up the phone.

Any help/guidance would help me greatly. As I've stated, I'm completely new to FreePBX, so I apologize for any misunderstanding.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12605

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>