Quantcast
Channel: Microsoft Unified Communications Managed API SDK forum
Viewing all 889 articles
Browse latest View live

UCMA 2.0. Service Sending Messages causes multiple OCS client windows to open

$
0
0

We have a service that tells customer service reps that customers are waiting.  Every couple of minutes it runs and sends messages to CSRs assigned to a customer if the CSR has not changed the customer status.  So this is working, but multiple OCS windows are opening on the CSR workstation rather than 1 with multiple messages from the service user.  A dedicated user has been setup in OCS representing the service account so all message should be coming from the same account so why the multiple windows.  Also it seems that after 5 messages sent to the same user that the windows start to be reused.

Message 1 and 6 in 1 window

Message 2 and 7 in another window

etc.

Any ideas?


Running UCMA trusted application in a different domain?

$
0
0

Is it possible to run a UCMA trusted application in a domain different from the Lync Server?

If so, what are the specific steps that are required to set up the application host?

I ran the Bootstrap and got the SQL store setup. However I still cannot access cmdlets like Get-CsSite because it complains my domain user does not have access.

Any ideas?

 

Thanks,

Vivek

How-to Set User Availability in UCMA

$
0
0

Hello!

Is it possible to set the availability of an user logged with UCMA?

Best regards,

Mafyou.

How-ToReceive Messages using UCMA

$
0
0

Hello,

I got 2 UCMA Applications:

  1. One website creating a conversation.
  2. One console app to receive message.

Actually, the first one working properly.
The problem is that I cannot receive message from my console app.

Which event I have to subscribe to receive message? Is it possible without the LyncClient object?

Thanks in advance ;-)

Mafyou.

Different IM sessions are getting created in OCS Communicator 2007 R2

$
0
0
Hi,

In OCS communicator 2007R2, 
If I send message to a contact, then close the communicator IM window and again send a message to the same contact different IM dialogs are getting created in the receiving end eventhough the first dialog is still open at the receiving end.

I checked the same scenario in

1) OCS communicator 2005. Here if the first IM window is open at the receiving end,all the subsequent messages will be sent to the same dilag window
2) OCS communicator 2007. Here if the first IM window is open at the receiving end,all the subsequent messages will be sent to the same dilag window
3) and I tested sending message from the user in OCS Communicator 2007 R2 to user in OCS Communicator 2007.
Here also if the first IM window is open at the receiving end,all the subsequent messages will be sent to the same dilag window.
4) The instant messagingCall code sample in UCMA2.0 V sends the messages to same user in different dialog windows.
5) The instant messagingCall code sample in UCMA2.0 V sends the messages to same user in different dialog windows if the "from user id" is of OCS communicator 2007 R2 and "to id" is of OCS communicator 2007.


Is there any setting in OCS 2007 R2 communicator R2 for this? ( I checked the communicator settings. But I did not find any settings related to this).
The point 5 (mentioned above) should behave as point 3. Is it the issue with the code?
Please provide me some pointers on these.

Thanks,
Gayithri Hegde


How can i find soap services in my lync server?

$
0
0

Hi,

how can i find the soap services in my lync server? because i found all the soap services for the lync in the internet, but they are point to microsoft website. Its suppose to be link to my lync server. And I just thought, the soap services must be at the lync server. But I can't find it on the internet. 

Where can i found it? it is at microsoft lync server folder? 

Thanks. 

InstantMessages and AudioVideoCalls

$
0
0

Hi,

Sorry for my english in advance, if someone doesn't understand don't hesitate to tell me.

Here my little problem :

A part of my project consist to record an AudioVideoCall when one of my ApplicationEndpoints is part of a Audio/Video conversation between two participants. A participant can start, pause, resume and stop recording the media by sending a tag like "@record".
This part works fine.

I would like, when the AudioVideoCall is accepted by the ApplicationEndpoint, that this Endpoint sends an InstantMessage to the participants to tell them that they can now record the media.

But to send an InstantMessage I have to accept the InstantMessagingCall, exept that I can't because I have already accepted an AudioVideoCall.

Is there a way to send InstantMessages by an ApplicationEndpoint when an AudioVideoCall is established ?

Thanks for the future answers.

ParticipantEndpoint == operator

$
0
0

Has anyone else noticed that the == operator for the ParticipantEndpoint class seems to be wrong.  It compares the URI field of two different ParticipantEndpoints, sees that they are equal and declares the objects equal.  However, the URI field is the URI of the conference, not the ParticipantEndpoint.  So two different participants in the same conference are deemed to be equal.

Does anyone know if this is somehow by design or if may be fixed in the next release of UCMA?


LocalPresenceOwner BeginSubscribe throws InvalidOperation Exception

$
0
0

Hello,

   I have an established UserEndpoint and I want to be notified when other users subscribe to this UserEndpoint's presence.  When LocalPresenceOwner BeginSubscribe is called, I am getting the following InvalidOperation exception.  I must be missing a step somewhere.  

System.InvalidOperationException was unhandled by user code

  Message=The data session is in an invalid state to establish.
  Source=Microsoft.Rtc.Collaboration
  StackTrace:
       at Microsoft.Rtc.Collaboration.Presence.LocalOwnerPresence.BeginSelfSubscribeCore(SubscriptionChecks subscriptionChecks, Boolean useApplicationQueue, AsyncCallback userCallback, Object state)
       at Microsoft.Rtc.Collaboration.Presence.LocalOwnerPresence.BeginSubscribeCore(SubscriptionChecks subscriptionChecks, Boolean useApplicationQueue, AsyncCallback userCallback, Object state)
       at Microsoft.Rtc.Collaboration.Presence.PublishSubscribeSession.BeginSubscribe(AsyncCallback userCallback, Object state)
       at appIcLync.IcLyncMgr.EndEndpointEstablish(IAsyncResult ar) in C:\Users\administrator\Documents\Visual Studio 2010\Projects\appIcLync\appIcLync\IcLyncMgr.cs:line 304
       at Microsoft.Rtc.Signaling.CompletionCallbackWorkItem.Microsoft.Rtc.Signaling.IWorkitem.Process()
       at Microsoft.Rtc.Signaling.WorkitemQueue.ProcessItems()
       at Microsoft.Rtc.Signaling.SerializationQueue`1.ResumeProcessing()
       at Microsoft.Rtc.Signaling.SerializationQueue`1.ResumeProcessingCallback(Object state)
       at Microsoft.Rtc.Signaling.QueueWorkItemState.ExecuteWrappedMethod(WaitCallback method, Object state)
  InnerException: 

-------------

What step am I missing?

Thanks,

Matt

UCMA 3.0: Notifications for UNSubscribe events?

$
0
0

Hello,

  I established a UserEndpoint where I get notifications via LocalOwnerPresence.SubscriberNotificationReceived when when other users subscribe to my UserEndpoint (e.g Add my UserEndpoint to their contact list).  Is there a means to receiving a notification when these same users unsubscribe to my UserEndpoint (e.g. remove my UserEndpoint from their Contact list.)?

Thanks,

Matt

IMs to users from a custom UCMA 2.0 service application going straight to history

$
0
0

Have created a service that sends alerts to users via OCS 2007 R2.  One of the testers messages are going straight to history. Her configuration is Windows XP with Outlook 2003 and OCS Communicator 2007 R2 ( in know antiquated ).  She said originally she was receiving them and then they stopped. She then found them in history. The only server side change was to Terminate the conversation and the InstantMessageCall and I do believe that happened a few hours before she stopped receiving messages.  She says she has made sure that the service user isn't blocked.

Any ideas?

UCMA 3.0 MSS 10.2 Language Packages for es-US

$
0
0
I have an application built via UCMA 3.0 with MSS 10.2 but the associated language packages do not contain es-US (Spanish - US). Which language package supplied can be used to recognize and speak US Spanish.  In addition is there a way to internal to the MSS to map es-US to the appropriate language package.

Fail to install UcmaRuntimeSetup in Windows Server 2008 R2 Enterprise

$
0
0

Fail to install UcmaRuntimeSetup in Windows Server 2008 R2 Enterprise,

It show me 'Need to install .net framework 3.5 sp1 or higher'

When I add '.net framework 3.5 ',it still show me 'Need to install .net framework 3.5 sp1 or higher'

What's wrong?


Start a new trip

How to create Lync enabled apps for Windows RTs or Windows Phone 8?

$
0
0

What is Microsoft's solution how to create Lync enabled apps to Windows RT and/or Windows Phone 8?

We currently have a nice Lync enabled app running on Windows 8 tablets (as a Win7 app). Customers desperately want to use this app on their phones. We were hoping that we could've start coding Windows Phone 8 version of the app when Windows Phone 8 SDK is released and use Lync 2013 SDK on top of Windows Phone 8 SDK. Because Lync 2013 SDK doesn't support VS 2012, it cannot be done (http://social.msdn.microsoft.com/Forums/sk-SK/ucmanagedsdk/thread/1b92c314-c869-44e0-9e78-91c37bfcf3e4)

Am I right:

1) Microsoft doesn't currently have any solution how to create Lync enabled Metro app regardless of the architecture (Intel, Win RT, Win Phone 8)?

2) Microsoft cannot give any estimation when Metro enabled Lync SDK will be available?

3) There is no Lync SDK that could be used to create a Windows Phone 7 app?

We would like to port our app to Windows Phone 8 (instead of Windows Phone 7), because of its more advanced multi-tasking capabilities.

Panu

PS. Would it be easier to create a custom Lync enabled app on Android or iOS devices?

missing sipeps.dll 4.0.0.0

$
0
0

Hi , I am building a wcf service to query lync user presence status and getting this error when trying to load service.svc:

"Could not load file or assembly 'SIPEPS, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."

It appears I am missing SIPEPS.dll version 4.0.0.0.  where can I find it?

 


First few seconds of a voice call not captured by recorder during an outbound IVR call.

$
0
0

I am experiencing an issue where the first second of a voice call is not captured by the recorder object during an outbound IVR call. I am using the recorder object for detecting answering machines. This only seems to only happen on the very first call of outbound call campaign. All the other calls work just fine. It seems like part of the audio stream of the call is getting clipped off on the first call out the gate.  I am baffled as to what could be causing this.  I am wondering if this could be some sort early media detection setting that is not setup correctly. Has anyone encountered this sort of scenario before?

Here is an overview of my setup:

UCMA (base on Core API) outbound dialing application. This code is based off of the outbound dialing example in UCMA Core API samples documentation.http://msdn.microsoft.com/en-us/library/hh530044.aspx

Outbound IVR talks directly to Dialogic Media Gateway instead of Lync Server so the application is set as a default routing endpoint.

Dialogic Media gateway is setup as VOIP (UCMA) to TDM (PBX) bridged mode.

Create a web-based IM chat tool

$
0
0

Greeting all,

I need to create a web site that allow a visitor to chat with a user signed on to Office Communicator.  (yes, this is very similar to the OCS CWA, except that the visitor doesn't need to sign in -- instead I will hard-code the account ID).

I'm not sure where to start. Specifically, i have the following questions:

1.Should I use UC Client API or UC Managed API?(or something else)

2. Are there any similar examples?

3. Is there any way to get source code of OCS CWA?

4. I have been able to get the BroadcastIM sample to work. This only sends IM to a group, how can i make it be able to receive messages?

I am new to this area, so any guidance will be greatly appreciated!

Thanks!

Gary


XIII

UserEndPoint and Application Sharing modalities

$
0
0

Can UserEndPoint handles Application Sharing Modalities?

Thanks,

-Lucy

 static void Main(string[] args)
        {
            _helper = new UCMASampleHelper();
            
	   _userEndpoint = _helper.CreateEstablishedUserEndpoint("My User" /*endpointFriendlyName*/);
            
           _userEndpoint.RegisterForIncomingCall<AudioVideoCall>(AudioVideoCall_Received);  
           _userEndpoint.RegisterForIncomingCall<InstantMessagingCall>(InstantMessagingCall_Received);
            _userEndpoint.RegisterForIncomingCall<ApplicationSharingCall>(ApplicationSharingCall_Received);
            
            _userEndpoint.ConferenceInvitationReceived += ConferenceInvitation_Received;
           
            Console.WriteLine("Waiting for incoming call...");

            _waitForCallToBeTransferred.WaitOne();
            UCMASampleHelper.PauseBeforeContinuing("Press ENTER to shutdown and exit.");

            // Shut down the sample.
            _helper.ShutdownPlatform();
        }

Application sharing with OCS R2

$
0
0
Hello, 

I need add a series of functionalities to an application, such as IM, Application sharing, etc. I would like to do it through OCS. Myu biggest problem until now is Application Sharing. I've read many different versions, some even say that there is no client API that allows the implementation of such funcitonalities. 

Questions: 

. Is it possible ? 
. If yes, how can I do it? What SDK should I use ? And if possible, are there any samples I can download ? :$

thanks in advanced, 

Pena

António Pena

whether it is possible to be connected from UCMA 4.0 to Lync Online?

$
0
0
Hi, whether it is possible to be connected from UCMA 4.0 to Lync Online?
Viewing all 889 articles
Browse latest View live