Hi
@Allen_Miller , the PBX configuration is separated for each webinar form, to allow multiple PBXs on a single website if needed. The curl error you reported (Webinar API error: cURL error 7: Failed to connect to xxxxxxxxxx.3cx.us port 443 after 292 ms: Couldn't connect to server) indicates that the Wordpress plugin cannot contact the PBX on port 443.
This can happen for a number of reasons:
- Firewall on the PBX blocking requests
- Outdated crypto libraries on Wordpress server
- Misconfigured PBX URL
- PHP version too old / missing security modules
- DNS issues on Wordpress server
- Plugin bug
- Network issues between Wordpress server and PBX server (routing, poor network performance)
In your case the plugin was configured to contact the PBX on port 443: if you switched hosting from OVH to DigitalOcean and during restore you configured port 5001, the plugin stopped working in that moment for sure, because the port did not match anymore.
In this situation you can:
- reconfigure the existing webinar form, changing the PBX URL from
https://yourpbx.3cx.us to
https://yourpbx.3cx.us:5001
- reconfigure the PBX, changing the listening port from 5001 to 443
When you changed hosting, also your PBX IP has changed: if your Wordpress is hosted on some dedicated provider, while 3CX updates your IP immediately, it could take up to 24/48 hours for the DNS to update if the provider has some DNS caching. In this case, requests from Wordpress would have failed because the DNS on Wordpress server was resolving to the wrong server IP.
Test API button sends *exactly* the same request sent by plugin to get webinar data, using actual webinar form configuration. If Test API button reports OK, the webinar plugin is able to contact the PBX.
One more clarification: when your click the Test API button, current onscreen configuration is validated and saved, then the API request is sent.
One more detail: some Wordpress caching plugins might interfere with webinar form update, showing an old page. In this case, you could have correctly updated the plugin configuration, Test API request is not cached and returns ok, but the website page still show the (cached) error page. We suggest to exclude from caching our webinar plugin, to ensure fresh data is always displayed. Check your cache plugin documentation for the correct configuration.