developerforce / open-cti-demo-adapter

Other
91 stars 95 forks source link

Error in trying to make a call with tiwilio #3

Closed jjbala1983 closed 5 years ago

jjbala1983 commented 7 years ago

Getting following error after trying to make a call

Uncaught Error: Unable to make a call. Contact your admin. throws at components/c/callInitiatedPanel.js:57:37

moometric commented 7 years ago

Ah, i'm not the only one! Same error. Everything seems to work fine when testing with the dummy calling, the moment I add the twilio settings, it bombs with this error.

image

moometric commented 7 years ago

@jjbala1983 - I had the same issue. Just ran a test and noticed that if you try and dial a phone number which has no associated contact, it crashed with this error. But if you click to dial from a contact, it appears to work. Not sure if you can replicate the same on your side?

jjbala1983 commented 7 years ago

Yes. I did.

Much appreciated your response.

Regards, Jayabalan Jayaraman | Salesforce.com Product Architect – Tech Mahindra jayabalan.jayaraman@techmahindra.commailto:jayabalan.jayaraman@techmahindra.com

Cell: +91 9597464614

From: moometric [mailto:notifications@github.com] Sent: 12 May 2017 07:02 AM To: developerforce/open-cti-demo-adapter Cc: J Jayabalan; Mention Subject: Re: [developerforce/open-cti-demo-adapter] Error in trying to make a call with tiwilio (#3)

@jjbala1983https://github.com/jjbala1983 - I had the same issue. Just ran a test and noticed that if you try and dial a phone number which has no associated contact, it crashed with this error. But if you click to dial from a contact, it appears to work. Not sure if you can replicate the same on your side?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/developerforce/open-cti-demo-adapter/issues/3#issuecomment-300959982, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALAm3yvE3UVzeb1Xr8KoF3gwwqCglq_mks5r47aCgaJpZM4NKGlU.

Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.

============================================================================================================================

dlouvton commented 7 years ago

Thanks for the clarification. I'll take a look.

upauloneto commented 6 years ago

Uncaught Error: Unable to make a call. Contact your admin. throws at /components/c/callInitiatedPanel.js:56:37. I have the same error, some help?

manzanofab commented 5 years ago

Did anyone find a solution for this? getting same error, from either a contact or direct number

avnishyadav25 commented 5 years ago

Did anyone find the solution available? please share with us.

Maxxpower commented 5 years ago

Same error: Uncaught Error: Unable to make a call. Contact your admin. visualforce.com/components/c/callInitiatedPanel.js:57:43 it seems that from a brief code review the component recordId attribute is always empty. Even if I try to call from a contact.

codesilo4 commented 5 years ago

Make sure that the number you are trying to call is a verified number on your Twilio account (in case of trial accounts). https://www.twilio.com/console/phone-numbers/verified If you try to call an unverified number, you get this same exception message.

avnishyadav25 commented 5 years ago

I found a solution, hope this will help you-

  1. Re-check your accoundSid and Token
  2. Add the no. to your Twilio account in phone number section and also verified that number. Thanks.