I want to use the Dialog layer in my application. At what point do I create the dialog? Before sending the initial request or on receiving the 200?
If I create a dialog (provider.getNewDialog) when I send the sip client transaction (and attach to its dialog ACI) then I don't get the on200Response event fired. However if I attach to the sip client transaction ACI then I get the on200Response, and I then can get the transaction from the javax.sip.ResponseEvent but not the dialog (is null), and I can't seem to create an Ack on a Dialog created on that Transaction, I get
javax.sip.SipException: unable to create request.
Caused by: java.lang.NullPointerException
|Register/login to use all DevPortal features - ( Log in | Sign up )|