function SipgateFFX.click2dial() failed for me, due to a phone number it didn't like, but didn't report that error back. There are several error cases that are not reported back:
Server not reachable at all - error callback not passed to _rpcCall()
Server returns HTTP 500 error - click2dial() only checks for 200 OK, but other cases only go to the log.
Server returns error on XML-PRC level - ditto
click2dial() should have an callbackError, which is called in any possible error case, with a message that can be shown to the end user.
Importance:
It shouldn't happen that the user clicks on a number and nothing happens, but that is the case currently sometimes.
function SipgateFFX.click2dial() failed for me, due to a phone number it didn't like, but didn't report that error back. There are several error cases that are not reported back:
click2dial() should have an callbackError, which is called in any possible error case, with a message that can be shown to the end user.
Importance: It shouldn't happen that the user clicks on a number and nothing happens, but that is the case currently sometimes.