Re: Incoming SIP message handling
Levent Tinaz <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
I have a thread problem too. if I process request and response events in worker
threads, I am getting :
javax.sip.TransactionAlreadyExistsException: server transaction already exists!
at
gov.nist.javax.sip.SipProviderImpl.
getNewServerTransaction(SipProviderImpl.java:400)
at redi12.ProxyWorker.forwardRequestFinal(ProxyWorker.java:395)
at redi12.ProxyWorker.processRequest(ProxyWorker.java:295)
at redi12.ProxyWorker.run(ProxyWorker.java:577)
We use JSIP 1.2, and "javax.sip.AUTOMATIC_DIALOG_SUPPORT", "off"
I investigated the error little bit. It creates a dialog although
DIALOG_SUPPORT=off
snipped from SipProviderImpl.java
398 if (sipStack.isDialogCreated(sipRequest.getMethod())) {
399 if (sipStack.findTransaction((SIPRequest) request, true) != null)
400 throw new TransactionAlreadyExistsException(
401 "server transaction already exists!");
Are we missing something here ?