I am trying to get the location from salesforce in my contact attributes so that i can use this location to know the exact location of customer through his/her phone number and use this information to use my city wise outbound numbers of amazon connect.
As if the customer is in London, amazon connect will automatically use the location and based on the location it will use the London outbound phone number.
If we can do this without touching the salesforce location attribute, it would be great!
Related
I'm trying to determine the user's time zone in the BOT that I created. This Bot can be user worldwide and the only way for me to determine the user's timezone is to determine his country (because the channel that i user is skype and there isn't any information about the user's TZ unlike other channel's).
So is there a way to determine the client's country code in azure AD ?
Assuming you are having your users login to your bot with AAD, you could use the same token to access the user's profile via the Microsoft Graph API. The profile will give the users office location which you could then map to for a possible location. It won't account for a user who might be traveling but, it's an option.
You can read the Microsoft Graph docs to learn more and experiment using the Graph Explorer.
As I don't know which SDK or version you are using, if you visit the BotBuilder repo you can find links to samples on how to build a bot that uses OAuth and makes calls to Microsoft Graph.
My Geo based Android app uses Fusion Tables accessed via oAuth to store route information for users.
For the last couple of years I sporadically get notifications from users in Asia Pacific telling them that their authentication has failed. This means that the key that is registered on the API dashboard for com.spiralsoftware.bestroutepro is not being recognized.
This does not happen for all users in that region and has not happened anywhere else in the world. I suspect that there must be a bad server somewhere that my users connect to sometimes.
Once the authentication has failed it doesn't seem to come back: they appear to be locked out of being able to load their saved routes forever.
Normally the users experiencing the problem are in Australia or New Zealand but this evening I received an email from a user in the Philippines.
I can't create another API key without deleting the existing one which means all other users will be unable to access their Fusion Tables until they upgrade the app.
The folks who are affected have paid money for the app and I don't know what to tell them.
Is there anything I can do to get these users authenticated?
I run a website which customises content by the user's location at a country level, so that users from different countries see different content. To determine a user's location, we run the IP address presented by the client in the REMOTE_ADDR header against MaxMind.com's GeoIP database. For desktop traffic this generally returns us adequately accurate data.
However, for users browsing from mobile devices, things are different. For example, the same user has come through from a South African IP address on desktop, and a United Kingdom address on his Blackberry. We know that he is physically in South Africa. On investigation, his UK IP address belonged to Research In Motion Limited, which is obviously the UK-based Blackberry service. His web requests on his Blackberry handset must be routed through RIM in the UK.
We've looked through the request headers to see if the actual origin IP address was shown in a header other than REMOTE_ADDR but have not found anything.
Any suggestions?
Many thanks!
When using BIS or BES, traffic is routed through a proxy server, run by RIM in case of BIS, or the company hosting the BES server. You could try using HTML5 location features.
On most of posts of SO I read the following about getting ip, location of users:
for users on a corporate network, the location will often be wrong. My corporate network places me in France, or Atlanta even though I'm in the UK. Off corporate network, it is unnervingly accurate
As per my understandings we should not use IP address. Then how can we estimate the user's location in a web application?
Can't you use the JavaScript geolocation API?
I want to get email alert of my website visitors location (City, Region, Country, Postal Code), who visit my website. By using PHP/Javascript. Can anyone help?
If you can install Google analytics on your site (it's free), you can define custom reports to be sent by mail, for example, daily visitors by location.