- Joined
- Nov 22, 2022
- Messages
- 5
- Reaction score
- 1
Hi all,
I have been bashing my head against this wall for the last few hours and need to accept defeat at this point.
We are doing an integration with our custom CRM system, using basic auth, and it simply will not work. Our server is proxied by Cloudflare, which I thought would be the problem, however I have tested the query in Postman using basic auth and the GET parameters, and the response is correct. I can see the query coming through the Cloudflare logs so I'm sure that Cloudflare isn't causing issues.
When I upload the template and test in 3CX it simply doesn't work - I get an access denied error from our lookup function, which indicates that it is making the connection but not serving the auth header info. Things I've tried:
1) Doing the template over from scratch
2) Switching to no authentication, then adding the header manually in the XML using base64 encoded credentials.
3) Hard-coding the user/pass in the XML file instead of submitting them via the 3CX console parameters.
Same result each time. I've attached our XML file (with URLs redacted). Any thoughts appreciated.
I have been bashing my head against this wall for the last few hours and need to accept defeat at this point.
We are doing an integration with our custom CRM system, using basic auth, and it simply will not work. Our server is proxied by Cloudflare, which I thought would be the problem, however I have tested the query in Postman using basic auth and the GET parameters, and the response is correct. I can see the query coming through the Cloudflare logs so I'm sure that Cloudflare isn't causing issues.
When I upload the template and test in 3CX it simply doesn't work - I get an access denied error from our lookup function, which indicates that it is making the connection but not serving the auth header info. Things I've tried:
1) Doing the template over from scratch
2) Switching to no authentication, then adding the header manually in the XML using base64 encoded credentials.
3) Hard-coding the user/pass in the XML file instead of submitting them via the 3CX console parameters.
Same result each time. I've attached our XML file (with URLs redacted). Any thoughts appreciated.

