3CX phone systems with PHP

Status
Not open for further replies.

frobak

Joined
Dec 3, 2014
Messages
3
Reaction score
0
Is it possible to integrate 3cX systems with a PHP applications

Specifically, when the phone rings, i need to grab the caller id/number, get that into PHP, and then process it within the application.

Is there any documentation on this sort of thing?

Do you even think this is possible?

Thanks
 
check if your phones have action url, when you say get into php, I am assuming you need to send something to a webserver.

the yealink phones do, just not sure about yours.
jasit
 
Hi Yes, the phones are Yealink T46GN, is there any documentation, tutorials that you're aware of?
 
I found it was easier with the 3cx Phone for Windows to launch an external application when the phone rang.
I could not find a way to get the inbound caller id on the device.
 
K, a quick google and a quick test,

here is some of the settings.

so on the phone, under Action URL Incoming Call
http://ipaddress of webserver/somefile.php?device=$mac&local=$local&remote=$remote&displayremote=$display_remote



then make a phone call to that extension, and after you hang up go check the log files on the webserver, you should see the following

2014-12-03 22:11:57 192.168.0.99 GET /somefile.php device=00:15:65:3e:5a:de&local=sip:2254%40192.168.0.90&remote=sip:2045551212%40192.168.0.90&displayremote=2045551212 80 - 192.168.0.199 Yealink+SIP-T38G++38.70.1.26+00:15:65:3e:5a - 404 0 2 0



I found this http://www.sustworks.com/pa_guide/genericNotification.html
 
Brilliant, thanks for your help. I'll be testing this over the next few days so will report how I get on.

Thanks
 
Status
Not open for further replies.

Members Online Now

No members online now.

Forum statistics

Threads
111,835
Messages
589,289
Members
164,666
Latest member
infinititravels