Access Keys:
Skip to content (Access Key - 0)









How do I create an in-dialog response from a callback?

Print this page

Question

How do I create an in-dialog response from a async callback where you don't have the original request event (say the ondialogconfirmed event from setting up another dialog). I am reluctant to use dialog.getFirstTransaction() as it is deprecated in 1.2

I then tried to create a server transaction from the Request CMP and do a SipProvider.getNewServerTransaction(Request request) and got:

java.lang.UnsupportedOperationException
  at com.opencloud.slee.resources.sip.ra.MessageProcessor.getNewServerTransaction(MessageProcessor.java:372)

I then tried to store the RequestEvent and got the NotSerializableException:

com.opencloud.ejb.exceptions.ContainerRuntimeException: serialization failed 
...
Caused by: java.io.NotSerializableException: com.opencloud.slee.resources.sip.ra.TransactionActivityHandle

Answer

Register/login to use all DevPortal features - Log in | Sign up )

Adaptavist Theme Builder Powered by Atlassian Confluence