QUESTION sending CallerID information to a web applet

AJ Bryant

New Member
Joined
May 20, 2014
Messages
19
Reaction score
2
First off my apologies if this isn't the correct section of the forum for this question.

I'm running Asterisk 11.10.0 with freePBX version 12.0.38 1 and incredible PBX version 11.10.


My Boss had written a web applet for recording callerID information as it comes in to the system on an old TrixBox system. I need to get freePBX to send this same callerID information to a specific URL for capture. Unfortunately I have no idea how to do this. The only thing he was able to remember is that he had to edit one of the config files to send the callerID information to the web portal before it sent it to the phone.

Any assistance in figuring this out would be much appreciated.

Thanks in advance,
 
He had to have changed one of the contexts to make this happen. Since it was on a Trixbox, chances are it was in one of the *_custom.conf files. If we assume that you are using the context "from-trunk" or "from-pstn" to answer your incoming calls, you should be able to add a short custom context \[program\] to the extensions_custom.conf file. I'd probably start with \[from-pstn-custom\].

I'm trying to figure out a good place to add your code. It needs to be someplace after the Caller ID and Caller Name get set on the way to getting sent to the database. There are several ways to do what you want, based on how you call your servlet, but I"m gonna guess that you just issue a system command to send it out to a program living on the server.

Passing this to a website is the slowest way I can think of to do this. I'd send it to an app on the server that updates something for your applet to access (like a database). The "System" command will let you execute random code on the server. As long as the CALLERID variable is set, it should be relatively simple.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top