Use the default package in Microsoft Lync 2010 SDK contextual conversation applications to specify an application launched on the receiver side of a conversation.
Where to Use a Default Package
If an incoming conversation doesn't have any context you can specify a default package that will always launch when the conversation is accepted. For example, you may want to launch a customer relationship management application with every incoming call, as in the following scenario.
John receives a phone call on Microsoft Lync 2010 from an important customer. When he answers, right in his conversation window, he sees the most important data about the customer, including that they just opened a high priority support case. He answers the customer by name and right away acknowledges the issue.
How to Specify a Default Package
Context packages must be install registered on the computer. To use a context package, register it with Lync 2010. For more information on installing and registering packages, see Registering Contextual Conversation Packages and the walkthroughs listed at the bottom of this topic. While multiple context packages can be installed on a computer, there is only one default package. To specify that a context package is the default, set the DefaultContextPackage registry key to 1.
Understand When a Default Package is Launched
On the sender side the default package should be launched ater starting an outbound conversation. On the computer receiving an audio or instant message call the default package is launched in either of the following two circumstances.
A default context package is registered on the receiving computer, and the message does not specify an application ID.
A default context package is registered on the receiving computer, and the application ID in the message does not match to an installed application.