FreePBX CRM Module with Zoho
Hello
We're testing out zoho CRM and therefore trying to connect our FreePBX and Zoho instances. There are two ways (afaik) to connect Zoho and FreePBX:
Version A
Using the commercial plugin provided by Sangoma "Sangoma CRM". When trying to "Authorize with Zoho" from FreePBX, we get the following error message in a new browser window:
Nothing else, just this.
Version B
- bash-4.2$ sh run.sh
- ./../classes/:./../lib/json.jar:./../lib/ZohoTeleAdapter.jar:./../lib/AdvWmsCommon.jar:./../lib/AdvWmsServerCommon.jar:./../lib/HTTPClient.jar:./../teleadapters/asterisk14/lib/asterisk-java-1.0.0.M3.jar:./../teleadapters/asterisk14/lib/ZTIAsterisk14Impl.jar
- ===============================================================================
- .
- .
- REMOTE_HOME: ./..
- .
- JAVA: /usr/bin/java
- .
- JAVA_OPTS: -Dadapter.home=./.. -Djava.util.logging.config.file=../conf/logging.properties
- .
- CLASSPATH: ./../classes/:./../lib/json.jar:./../lib/ZohoTeleAdapter.jar:./../lib/AdvWmsCommon.jar:./../lib/AdvWmsServerCommon.jar:./../lib/HTTPClient.jar:./../teleadapters/asterisk14/lib/asterisk-java-1.0.0.M3.jar:./../teleadapters/asterisk14/lib/ZTIAsterisk14Impl.jar
- .
- PARAM:
- .
- ===============================================================================
- .
- Reading conf from --->../conf/zti.properties
- Loading props ./../conf/taskengine/taskengine.conf
- Loading props ./../conf/taskengine/tele.properties
- Loading props ./../conf/taskengine/zoho.properties
- java.net.ProtocolException: Missing WWW-Authenticate header
- at HTTPClient.AuthorizationModule.handle_auth_challenge(AuthorizationModule.java:483)
- at HTTPClient.AuthorizationModule.responsePhase2Handler(AuthorizationModule.java:362)
- at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:736)
- at HTTPClient.HTTPResponse.getStatusCode(HTTPResponse.java:190)
- at com.zohocorp.zoho.ztiadapter.ZohoHTTPClient.doGet(ZohoHTTPClient.java:351)
- at com.zohocorp.zoho.ztiadapter.ZohoHTTPClient.get(ZohoHTTPClient.java:84)
- at com.zohocorp.zoho.ztiadapter.ZohoHTTPClient.get(ZohoHTTPClient.java:55)
- at com.zohocorp.zoho.ztiadapter.util.AuthUtil.setZUID(AuthUtil.java:28)
- at com.zohocorp.zoho.ztiadapter.util.AuthUtil.login(AuthUtil.java:61)
- at com.zohocorp.zoho.ztiadapter.ZTIAdapter.initialize(ZTIAdapter.java:57)
- at com.zohocorp.zoho.ztiadapter.Starter.main(Starter.java:19)
- java.lang.Exception: Unable to get ZUID for the AuthToken
- at com.zohocorp.zoho.ztiadapter.util.AuthUtil.setZUID(AuthUtil.java:37)
- at com.zohocorp.zoho.ztiadapter.util.AuthUtil.login(AuthUtil.java:61)
- at com.zohocorp.zoho.ztiadapter.ZTIAdapter.initialize(ZTIAdapter.java:57)
- at com.zohocorp.zoho.ztiadapter.Starter.main(Starter.java:19)
- Unable to login, quiting....
We're currrently not sure, wether Zoho is good for that kind of connection, and, if someone got it working properly. As we're currently evaluating Zoho and other SaaS-CRMs, I would really appreciate any help.
Many thanks for all help provided!