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
- UCWA: integrating advanced chat options
- When to refresh token?
- Added SIP-headers in MSPL application missing/being removed in Lync 2013
- Use Current Lync Session with UCWA
- Correct workflow for presence subcription for day/night
- Is UCMA 4.0 SDK free especially since it has Lync Server 2013 in the installation packages?
- Understanding PowerShell cmdlet for adding a trusted UCMA 4.0 application and a trusted UCMA 4.0 application endpoint
- Lync 2013 UCMA WCF Web Service
- Lync 2013 - consuming 180 ringing responses from a forked request
- Silent Uninstall lync 2013 client
- Microsoft Lync crashes on double clicking any user from the contacts list
- Custom Command Passing Converstation Text
- Lync CWE Automation server can't create object
- Set meeting with Skype for business (lync) using rest api
- Can we use Lync/Skype SDK in Eclipse IDE
Related Questions in OCS
- xml parsing error
- what are difference between "Lync Server 2010 SDK" / "UCMA 3.0 SDK" / and UCC API?
- Can't connect to Office Communication Server through Unified Communications API
- OCS/Lync Website presence indication
- Openshift Container Storage - copy file to persistent volume
- How can I synchronize my joomla users to OCS2 PKP conference site?
- OCS Error after Upgrade from Debian Stretch to Buster
- next cloud ocs create share api permission issue
- How to create folder and upload files using the OCS owncloud API
- Video editing on Microsoft Office Communicator
- Visual Studio 2010 debugging event
- Detecting which MCUs to connect on an incoming conference
- Apache2 mistakes with my websites
- Batch command to determine appropriate system folder and move .ocx files there, then register file
- Using UCMA 3.0 to build an OCS IM bot. Where do I start?
Related Questions in UCMA
- Lync / Skype 4 Business Bot
- Connecting standalone UCMA application to SIP trunk provider
- Skype For Business not showing HTML in conversations on Android
- Broadcasting IM in LYNC 2013
- Is UCMA 4.0 SDK free especially since it has Lync Server 2013 in the installation packages?
- UCMA application not connecting to Lync server
- Understanding PowerShell cmdlet for adding a trusted UCMA 4.0 application and a trusted UCMA 4.0 application endpoint
- Lync 2013 UCMA WCF Web Service
- How to setup an environment for UCMA 4.0 development
- How to create a MSPL script to redirect calls to an UCMA app
- How to check if a custom header exists on a message using a MSPL script
- UCMA recording app
- what are difference between "Lync Server 2010 SDK" / "UCMA 3.0 SDK" / and UCC API?
- Schedule a Lync Conference with UCMA 3.0
- using BeginVerifyPin and EndVerifyPin methods in a UCMA workflow
Related Questions in OFFICE-COMMUNICATOR
- How to get LYNC away time of a user
- Can Lync 2010 and Communicator 2007 (w/ or w/o R2) client be installed on the same machine
- Open Office Communicator Session from C#
- How to Get all users from Office Communicator to asp.net web page?
- Python - Office Communicator API - Is it possible to send messages despite restrictions
- Can I use the Microsoft Lync API to communicate with Communicator 2007/2007 R2?
- how to disable the flashing notification in office communicator (work group instant message)?
- Code a plugin for the Office Communicator Client?
- How to export/import MS Office Communicator contacts?
- Office Communicator 2007 send message from javascript
- Send chat message via Office Communicator Server (OCS) from Java application
- Calling Office Communicator via Silverlight Out of Browser
- Were you ever able to create a BOT using Office communicator 2007 R2
- Video editing on Microsoft Office Communicator
- How to read the contents of a screen from another application [Office Communicator]
Related Questions in UCMA2.0
- Can't connect to Office Communication Server through Unified Communications API
- Skype for Business UCMA SDK
- ApplicationEndPoint in UCMA applications
- UCMA Steps to create Trusted Application
- Change Presence of other contacts
- What are Limitations of ExpiryTime of ConferenceScheduleInformation in UCMA API?
- What is the difference between System.Speech.Recognition and Microsoft.Speech.Recognition?
- Using UCMA to connect to 3CX?
- How to establish a video call programmatically via UCMA 2.0?
- Publishing a custom presence message in OCS2007 R2 using UCMA 2.0 (visible in MOC)
- Sending formatted text with UCMA 2.0
- Is it possible to limit a conversation duration in OCS?
- UCMA 2.0: Resume a Terminated InstantMessagingCall
- UCMA: Check custom SIP headers on receiver side for custom sender information
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 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.