Integrate TAPI with M S CRM2011 - dynamics-crm

I have requirement of integrating CRM2011 with TAPI3.0.
I am very new to integrations. Can any one tell me how to proceed? For this we are using Ericossons TAPI Bridge.and Astra's Phone box server.
I have installed BusinessLink for windows server, Client and TAPI Bridge3.0 in my sytem. Then
what code do I need to write and where can I write this code?
My Requirement is when customers calls, CRM server should check the phone number in the contact details and if exist open the perticular contacts record.
Please reply if any one have idea/worked already.

The solution would involve creating a Windows based utility running on the Client's desktop PC.
I would create the following :-
1) You have some mechanism to either poll, or capture an event from the TAPI interface when a phone call arrives which is intercepted by your utility.
2) Based on the data in the TAPI event query MSCRM using OData or WebServices to determine the record you require. Return the GUID of the record.
3) Launch on the Client PC an IE window with querystrings of the GUID (there are examples in the SDK for launching records with querystrings).
The utility will need to run in the system tray (or as a service) on all the PCs. You will need to build an install to deploy the utility to the PCs.
Thanks
Glenn

I have app running in system tray and it sends caller ID via Windows message to chosen app. If you can receive Windows message it will work.

Related

How to get user device type accessing skype for business bot built in MS Bot Framework

Does anyone know how to get the information about user device that access the bot deployed in S4B channel and built using MS Bot Framework (C#).
I need to know about the options to detect the user device (Device type and OS) accessing the Skype For Business Bot. If there's a way to know whether user device is desktop or mobile. In bot framework the User-Agent header formatted similar to the string below:
SFBUserAgent (Microsoft-BotFramework/3.1+https://botframework.com/ua)
(The user agent from Connector returns the following:
fxversion/4.7.2563.0 osname/windowsserver2016datacenter osversion/6.3.14393 microsoft.bot.connector.connectorclient/3.14.1.1)
I want to know if UCWA can be used to detect the device type accessing Skype For Business bot.
UCWA is not able to do so, actually no client or client-facing api can provide such information. It's because User-Agent information is not part of the presence so the client doesn't publish it to other clients. The main purpose of this User-Agent information is for monitoring reporting purpose.
However there is still some space from server side to allow us to do something. If you have access to the Skype for Business server, you have several workarounds.
Get-CsConnections.ps1 is a well-known script to pull current logged in user from Lync server side. It was written in 2011 while we only had Lync 2010, but good news is it works fine with new version of Lync like Lync Server 2013, Skype for Business server 2015. This script needs to be run in Lync/Skype management shell or a Powershell session with Lync/Skype modules imported. It needs to run by using an Lync/Skype admin account.
To retrieve user agent for a particular user by using sip uri.
$UserHomePool = (Get-CsUser -Identity [sip address]).RegistrarPool
Get-CsConnections.ps1 -SipAddress [sip address] -Pool $UserHomePool
Connections.ps1 is the prototype script of the above Get-CsConnections.ps1, it's simpler but doesn't provide advanced features. You can look at it and decide which one you need.
Do it yourself. If you don't want to use 3rd party script or just want to do it in a simplest and pure way, it's possible to do it by querying it from server database. Lync/Skype server stores this user agent information in the dynamic database in Front End server. It's in the table dbo.RegistrarEndpoint of the database rtcdyn of the instance rtclocal.
Please notice that there is no public document about the database schema so you need to do a little guess and hacking yourself. Good news is all data in the database is strored in readable format so it shouldn't be a big issue.
In a very rare chance that you are not wanting this information in real-time, the monitoring report and database can be the best approach. It's not real-time data, the data is generated within 10 mins after a conversation is ended.
If you want to get it from monitoring database, you should look at SessionDetails view for P2P conversation and ConferenceSessionDetails for conference conversation. There are straighforward fields in the views called something like UserClientType to point out the user agent information for the certain session.
At last one thing I would like to remind is Skype allows user to logged in multiple clients simultaneously, so no matter how you make it work you still need to face the question which logged in client really matters to you if the user has multiple clients logged in.

How to process payments (credit cards, PayPal) in Windows Phone app?

I want users to be able to buy tickets via Windows Phone application and do not want to use web browser for these purposes. The ticket price may be different.
Is it possible to process payments via Wallet app or integration with certain processing systems is required?
Also please suggest the best practices for purchasing process within Windows Phone app.
This isn't that accurate but, you can use a paypal address creator and a webbrowser component.
try to do this (needs another server :( - try a free one )
http://webdesign.about.com/od/ecommerce/a/create-a-paypal-shopping-cart.htm

How to store location data outside of windows phone?

I am developing a windows phone application which will track user movements and collects some statistics. I want to store this information at some place (if user permits and this data wont shared with anyone) so that I can read that data again.
Any ideas on how I can do this in windows phone ?
You basically need a web service. You can use Azure Mobile Services, your own hosted or on Azure web service. Or you can use any other number of services such as Buddy or Parse. It's up to you to decide depending on the pricing and features of each service.
One way is to use Azure Mobile Services to store data off to the cloud. There's a tutorial here for Windows 8. It looks like you've tagged the question with Windows Phone 7, though, which the mobile services package isn't available for (that I know of). In that case you can create a webservice that your phone app can send data to, which can then store it wherever it pleases - a database, Azure Table storage, or wherever.
you have three options
1 ) If you want to store it locally then use : IsolatedStorage for Windows Phone.
2 ) If you want it to be somewhere outside your device : Write your own service code and connect it to a database (one end) and give a call to it from your windows device (other end)
Service not necessarily has to be Azure ... You can write any service connect it to ur database and store the value there.

Visual studio Lightswitch - Version management

I have a business LS web application which I update from time to time.
I do the update by simply using the deploy wizard and everything is working great.
My problem is handling all my users that opened my system in their IE and left it open through my deploy process.
Since they have the old web application is opened on their browsers, and I have deployed the new version to the server, I can see errors occuring in certain situations.
Is there a way to make sure all users with the application opened will be forced to refresh the web application page? Maybe remotely disconnect all currently connected users?
There is no built in way of doing this. You will need to write a custom solution. Someone in the MSDN Forums has written a class to do this for OOB apps.
You should be able to reuse the timer part of that class. I'm not sure if the UpdateAvailable method will work for Web-based applications or not. You'll have to experiment with that.
Alternatively, you can create a custom notification system. Insert a message to your users into a table in your database from the administrator account. Have a timer on the user account check the table every so often. If it finds a new message, display a notification to the user.
Then you can use either an HTTP Response Header or an ASP method to log the users out as described in this Microsoft Support article.

authorize.net mac API

I have built a kiosk environment in MAC OSX 10.6.6 and i wanto charge a PC user before he starts using the system. i have the application made. I wanto use authorize.net for authenticating. With what i have searched, CIM SOAP is the method i should use.
My question is is there any webservice available on authorize.net where i can send a xml file and expect a response .? If not, what other options do i have??
thanks in advance. If any sample code or reference is there, let me know( FOR MAC)
Authorize.Net's API is platform agnostic so it doesn't matter what environment you use it in. It can be a Mac, PC, POS system, or website, etc.
Their AIM API has an XML interface for processing transactions. You can get a developer's account to test your integration with. They also offer sample code to get you started.

Resources