Say I have a user on OCS who represents my application endpoint, and I try to message them from a web application locally (I built on top of the BasicIMCall sample application), and at some point they close the chat window, how do I resume the InstantMessagingCall? I have looked all over the web for the answer but I can't figure it out. Once the user closes the window, the call state becomes Terminated. How do I recover the call along with its call history and continue or restart the terminated conversation?
UCMA 2.0: Resume a Terminated InstantMessagingCall
383 Views Asked by Ovidius At
2
There are 2 best solutions below
0
Krishna
On
Register Call State Change event for Incoming IM Call:
call.StateChanged +=new EventHandler<CallStateChangedEventArgs>(call_StateChanged);
Further you can get state of call and when it terminates , you can initiate new call:
protected void call_StateChanged(object sender, CallStateChangedEventArgs e)
{
if (e.State == CallState.Terminated)
{
//Initiate new call again
}
}
To recover call history, i think you have to store transcript of previous conversation.
Related Questions in LYNC
- Lync 2013 Client SDK - unable to turn off only my video
- C# Application Lync Function migrated to MS teams
- UCWA - getting all meetings not just ones you scheduled
- Migration from Skype for Business on premises to Teams
- Is there any code # cmd powershell to change Lync call forwarding setting to new number?
- Is there a way to connect to New-CsOnlineSession using an oauth token?
- Easiest way to get skype user presence using dotnetcore?
- Open user in skype-for-business(Lync)
- Batch Delete Folders That start a specific way
- Skype for Business 2019 and MSPL + managed code not working
- Is there any document that maps the status codes returned in Client.StateChanged Event with their intended purpose?
- Is Lync CWE is compatible with Skype for Business
- How to dock Skype4Business main window to parent application
- Can microsoft team app be used in UI suppression mode as Skype for business?
- UCMA 5.0 - File sharing doesn't work if conference is created by an UCMA application
Related Questions in OCS
- Error encountered during terminal catkin build ocs2(ubuntu20)
- OCS Inventory NG LDAP + SSO
- Plugin OCS Inventory Open Ports
- Itop data collector for OCS Inventory NG issue
- next cloud ocs create share api permission issue
- How can I synchronize my joomla users to OCS2 PKP conference site?
- Openshift Container Storage - copy file to persistent volume
- OCS Error after Upgrade from Debian Stretch to Buster
- OCS Inventory integration in iTop Combodo
- Apache2 mistakes with my websites
- Updating a Firefox registry entry
- 2 Table Joins with WHERE clause
- How to create folder and upload files using the OCS owncloud API
- Batch command to determine appropriate system folder and move .ocx files there, then register file
- Start and Office Communicator Chat from Python
Related Questions in UCMA
- Access participant audio in a UCMA call and replace them
- Skype for Business Client (Endpoint) App using UCMA 6.0 SDK does not record call when ported. "Recorder cannot start due to I/O Error."
- UCMA 6.0 App built for X64 works on 1st laptop, fails on 2nd laptop with: System.IO.FileNotFoundException: . . . 'SIPEPS, Version=7.0.0.0
- UCMA subscribing to presence of many users
- Easiest way to get skype user presence using dotnetcore?
- Getting User Presence using UCMA?
- Is Lync CWE is compatible with Skype for Business
- UCMA 5.0 - File sharing doesn't work if conference is created by an UCMA application
- UCMA How to detect call ring duration and transfer call before busy signal and terminate?
- UCMA 5.0 vs UCMA Performance
- Create phone conference using UCMA
- Add IM message to UCMA AudioVideo Call
- Set online meeting properties to Appointment object using EWS
- How to monitor call activity of all users in domain and join calls using UCMA Trusted Application
- Skype for Business UCMA SDK
Related Questions in OFFICE-COMMUNICATOR
- Modify msrtcsip-userenabled Active Directory Attribute
- How to get LYNC away time of a user
- Excel VBA - Sending Group Message via Lync / Communicator API
- Where did the communicator API go with Lync 2013 for VBA?
- How to Get all users from Office Communicator to asp.net web page?
- how to disable the flashing notification in office communicator (work group instant message)?
- Sending out IMs to Lync/OCS programmatically
- Dragging Virtual Files Into Microsoft Office Communicator 2007
- How to enable Office Communicator presentation mode programmatically
- At startup on windows 7, a box opens with the title communicator.exe and it says: The application was unable to start correctly (0xc0150002)
- Send chat message via Office Communicator Server (OCS) from Java application
- Office Communicator 2007 send message from javascript
- Open Office Communicator from Web page
- Can I use the Microsoft Lync API to communicate with Communicator 2007/2007 R2?
- Python - Office Communicator API - Is it possible to send messages despite restrictions
Related Questions in UCMA2.0
- Skype for Business UCMA SDK
- ApplicationEndPoint in UCMA applications
- Change Presence of other contacts
- UCMA Steps to create Trusted Application
- What are Limitations of ExpiryTime of ConferenceScheduleInformation in UCMA API?
- UCMA: Check custom SIP headers on receiver side for custom sender information
- UCMA 2.0: Resume a Terminated InstantMessagingCall
- Publishing a custom presence message in OCS2007 R2 using UCMA 2.0 (visible in MOC)
- How to establish a video call programmatically via UCMA 2.0?
- Is it possible to limit a conversation duration in OCS?
- What is the difference between System.Speech.Recognition and Microsoft.Speech.Recognition?
- Using UCMA to connect to 3CX?
- Can't connect to Office Communication Server through Unified Communications API
- Sending formatted text with UCMA 2.0
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If they closed the chat with you will will receive a event state that tells you the state is terminated. Its up to you want to do at that point.
If you want to talk to him again you would need to
BeginEstablishtheInstantMessagingCallagain. Then he would need to accept on his side for you to chat again.