We’re having issues using the click_to_call endpoint on our server. When one of our users initiates the call, the server dials OUT to the destination number AS the destination number.
We’ve dumped the variables we’re sending to the API and everything is set properly as far as I can tell.
But, when I go to our provider’s logs (twilio), I see the ‘from’ field is the callee’s number. The call then gets dropped, as the caller-id isn’t recognized.
Please disregard, I figured it out. I saw this post and thought to check for enabled diversions. It turns out the user had enabled Follow Me accidentally and it wasn’t set up at all.
So, my specific issue is fixed; but, it doesn’t explain why the call is attempted with the destination number as the Caller-ID. It really should’ve just failed and sent an error back to the API request.
I just thought to try this as well, Follow Me enabled plus setting the cid_number to our outgoing number. This rang the destination number and completed the call, but it just went straight to the local user’s voicemail without ringing their phone.
I assume that’s the intended behavior of Follow Me not being configured with any numbers to try.
The only solution I found so far was to create a new outbound route, set the CID there, and force it to Overwrite the CID. And with that said, use that COS in the Click to Call
Good point, seems to be a decent-enough work around. I might end up doing this for now. (I haven’t heard of this happening, but I worry Twilio is going to start flagging us for using so many unauthorized CID numbers.)
In my opinion, this is a bug that the developers should fix. There’s no situation where we should be calling out as the destination number.
I have other examples where the CID is set as the destination number as well (without the Follow Me mis-config). I’m having a hard time reproducing that issue issue; but, it leads me to believe that this bug is bigger than just a weird edge case.