developerforce / open-cti-demo-adapter

Other
91 stars 95 forks source link

issue when making a call #30

Open nfbutler opened 5 years ago

nfbutler commented 5 years ago

I did the install steps and created a lightning app. The phone loads but I see the error below in the chrome console when clicking on a phone number. Any Ideas what is going on?

Refused to run the JavaScript URL because it violates the following Content Security Policy directive: "script-src 'self' 'nonce-42e597a4-667c-f6ba-2df2-fccd6d60abf0' chrome-extension: 'unsafe-inline' 'unsafe-eval' https://sfdc.azureedge.net *.na46.visual.force.com https://ssl.gstatic.com/accessibility/". Note that 'unsafe-inline' is ignored if either a hash or nonce value is present in the source list.

sk-cloudtara commented 5 years ago

I am facing the exact same issue. Is there a solution you have found yet?

nikhilcloudroute commented 5 years ago

@nfbutler @sk-cloudtara did you find any solution to this?

nikhilcloudroute commented 5 years ago

@nfbutler @sk-cloudtara did you find any solution to this? I am still facing this issue.

VirendraNaruka commented 4 years ago

@nfbutler @sk-cloudtara @nikhilcloudroute Any Solution .. Please

dlouvton commented 4 years ago

Try to use the absolute url in the call center adapter url instead of the relative url (should start in https:// instead of /apex)

On Sat, Mar 7, 2020, 5:36 AM VirendraNaruka notifications@github.com wrote:

@nfbutler https://github.com/nfbutler @sk-cloudtara https://github.com/sk-cloudtara @nikhilcloudroute https://github.com/nikhilcloudroute Any Solution .. Please

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/developerforce/open-cti-demo-adapter/issues/30?email_source=notifications&email_token=ABSWICXNNBRZ2Z6XLKCJZK3RGJEW3A5CNFSM4GDPSWN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEODZTNA#issuecomment-596089268, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSWICUGQGDRBFWW6R3ORFTRGJEW3ANCNFSM4GDPSWNQ .

nikhilcloudroute commented 4 years ago

After playing a-lot with the Open CTI, i realised that this error will not be a problem anywhere. What i was missing and was not able to make call was because due to some sequence issue, we have to recall the enabling click to dial method once everything is loaded. Give it a try, else i will let you know which method and where exactly you need to call.

VirendraNaruka commented 4 years ago

Thanks ..

On Mon, Mar 9, 2020 at 11:01 AM nikhilcloudroute notifications@github.com wrote:

After playing a-lot with the Open CTI, i realised that this error will not be a problem anywhere. What i was missing and was not able to make call was because due to some sequence issue, we have to recall the enabling click to dial method once everything is loaded. Give it a try, else i will let you know which method and where exactly you need to call.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/developerforce/open-cti-demo-adapter/issues/30?email_source=notifications&email_token=AAQRMTBS765DOJQGBEBFTYLRGR5MJA5CNFSM4GDPSWN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOFWRMY#issuecomment-596338867, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQRMTATUKMK4EB7U7MM2ILRGR5MJANCNFSM4GDPSWNQ .

-- Thanks & Regards Virendra

MeghaS-mobio commented 3 years ago

Try to use the absolute url in the call center adapter url instead of the relative url (should start in https:// instead of /apex) On Sat, Mar 7, 2020, 5:36 AM VirendraNaruka @.***> wrote: @nfbutler https://github.com/nfbutler @sk-cloudtara https://github.com/sk-cloudtara @nikhilcloudroute https://github.com/nikhilcloudroute Any Solution .. Please — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#30?email_source=notifications&email_token=ABSWICXNNBRZ2Z6XLKCJZK3RGJEW3A5CNFSM4GDPSWN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEODZTNA#issuecomment-596089268>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSWICUGQGDRBFWW6R3ORFTRGJEW3ANCNFSM4GDPSWNQ .

Added but still not working