SIP Subscription Refreshes

312 Views Asked by At

I am currently attempting to build an application using Jain-Sip and am having difficulty implementing a feature which will re-subscribe to the contacts I wish to continue receiving presence updates from. I am currently attempting to do this using dialogs, as in the following guide: http://www.oracle.com/technetwork/articles/entarch/introduction-jain-sip2-085495.html

I am wanting to do this for various contacts, so I have maintained an array of dialogs which I can hopefully use when dealing with the various contacts. The problem is, I receive an exception which says as follows:

javax.sip.SipException: Dialog (dialog) not yet established or terminated Terminated Dialog

If you could point me in the right direction I would be very grateful, Adam

1

There are 1 best solutions below

17
On

You should attach post debug logs to see what is going on. Typically it will be obvious why a dialog is terminated - either a timeout, manual delete or error from somewhere.