Closed TheDanHealy closed 7 months ago
this is how I have mine setup admin ports 80 --> 443 UCP ports 81 --> 4443
admin is user & pass protected with .htaccess via apache.
then you can just use https://voip.example.com/smsconn/provider.php?provider=flowroute
Make sure your ssl cert is correct otherwise you will get errors.
When you use https://voip.example.com:1443/smsconn/provider.php?provider=flowroute
, are you seeing hits to this in your apache logs? I think it should work fine, though I admit not having specifically tested alternate ports. (it's just a script and doesn't care about the HTTP port really)
When you use
https://voip.example.com:1443/smsconn/provider.php?provider=flowroute
, are you seeing hits to this in your apache logs? I think it should work fine, though I admit not having specifically tested alternate ports. (it's just a script and doesn't care about the HTTP port really)
When I attempt to access https://voip.example.com:1443/smsconn/provider.php?provider=flowroute
, there is no activity in the httpd access log (/var/log/httpd/access_log
), however when I try to access https://voip.example.com/smsconn/provider.php?provider=flowroute
, there is a 404 returned and I see that in the access logs as well. There's no entries in the error_log for the access attempt on port 1443.
I'll check the symlinking and pathing. What is the full path to providers.php
when the plugin is installed?
When I attempt to access https://voip.example.com:1443/smsconn/provider.php?provider=flowroute, there is no activity in the httpd access log
Even if the path is not correct you should see this attempt in your logs. You said the firewall is opened but I would still suspect it first.
The full path is /var/www/html/admin/modules/smsconnector/public/provider.php and the symlink to public is installed at /var/www/html/smsconn
Ok I got it fixed. Issue was on my part. I set AMPWEBADDRESS to voip.example.com:1433
instead of the correct port 1443
. Silly me. Works now. The full integration with flowroute (bi-directional) is also working. Thanks for writing a great plugin!
Let's say our server is at voip.example.com, and based on the ports, what should I use for the AMPWEBADDRESS? When I use "voip.example.com", the resulting URL is https://voip.example.com/smsconn/provider.php?provider=flowroute which results in a "404 Not Found". When I set the AMPWEBADDRESS to "voip.example.com:1443", the resulting URL is https://voip.example.com:1443/smsconn/provider.php?provider=flowroute, which simply times out. Both port 443 and 1443 are allowed through the firewall. Port 443 is direct access to the UCP, and port 1443 goes to the admin console.
So, what should be doing here?