JasperE84 / FreePBX_Click-to-Call_PHP_Script

A PHP script for installation on a FreePBX server to provide a Click-To-Call WebAPI
4 stars 3 forks source link

Can't get it to work: Error while creating socket #2

Open Lewis8379 opened 1 year ago

Lewis8379 commented 1 year ago

I have a fresh copy of FreePBX, activated and updated, and have followed the instructions.

I tried to visit http://192.168.8.22/freepbx-click-to-call.php?exten=100&number=101 and I get this:

{ "Success": false, "ValidInput": true, "Description": "Error while creating socket to [127.0.0.1]:, ()" }

I also tried changing the strHost from 127.0.0.1 to $strHost = "192.168.8.22";

The firewall isn't on, and I also tried in another browser. I still get the same error. Am I doing something wrong, or has something in a recent FreePBX version broken it?

kik3cm commented 10 months ago

the same, did you fixed?