- Joined
- Aug 14, 2012
- Messages
- 38
- Reaction score
- 3
Hi,
We are currently planning a migration to 3CX from Trixbox and a key feature is the ability to click a link in our vTiger based CRM system.
I have successfully updated the StartCall.php code to integrate to the HTTP API within 3CX via cURL, but I am having an issue with the URL.
The http://<IP>:5000/ivr/PbxAPI.aspx?func=make_call&from=<ext>&to=<telno>&pin=<pin> format of the URL is not the final string required by the API. When you populate the values and paste into the address bar of a browser your get redirected to a URl with an additional hash value - http://<IP>:5000/ivr/(S(we4n1mwqwzhrd10lax4zfbpn))/PbxAPI.aspx?func=make_call&from=<ext>&to=<telno>&pin=<pin> for example.
This hash changes on some kind of cycle and causes the link to fail to make the call. Is this hash addition necessary and is their something that can be done either in the cURL code or a setting within the 3CX API to remove the need for this?
thanks in advance for any help
Mark
We are currently planning a migration to 3CX from Trixbox and a key feature is the ability to click a link in our vTiger based CRM system.
I have successfully updated the StartCall.php code to integrate to the HTTP API within 3CX via cURL, but I am having an issue with the URL.
The http://<IP>:5000/ivr/PbxAPI.aspx?func=make_call&from=<ext>&to=<telno>&pin=<pin> format of the URL is not the final string required by the API. When you populate the values and paste into the address bar of a browser your get redirected to a URl with an additional hash value - http://<IP>:5000/ivr/(S(we4n1mwqwzhrd10lax4zfbpn))/PbxAPI.aspx?func=make_call&from=<ext>&to=<telno>&pin=<pin> for example.
This hash changes on some kind of cycle and causes the link to fail to make the call. Is this hash addition necessary and is their something that can be done either in the cURL code or a setting within the 3CX API to remove the need for this?
thanks in advance for any help
Mark