RE: Dialog's local tag wrongly replaced!

"Pham Nguyen, Quang Duy" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Hi Jeroen,
 
In which CVS did you fix? Is it 'dev.java.net'? I have just made a cvs
update there and retest and see that the problem still exists! Please
find attached the new log file, where I find following interesting logs:
 
- The callee sends the 'REFER' request and receives a '202 Accepted'
response. On receiving of the response the stack sets the local tag to
the remote one:
DEBUG -
gov.nist.javax.sip.stack.SIPTransactionStack.isDialogCreated(SIPTransact
ionStack.java:413) [isDialogCreated : REFER returning true]

DEBUG -
gov.nist.javax.sip.stack.SIPDialog.setLocalTag(SIPDialog.java:1293) [set
Local tag test_tag_0008345318
9530701611-3879682410491611-11-78554471:32113234:test_tag_0008345318]

- Later on the callee receives a 'BYE' request and is unable to respond
because of local tag mismatch (local tag equals to remote tag):

ERROR -
gov.nist.javax.sip.stack.SIPDialog.checkResponseTags(SIPDialog.java:2048
) [sipResponse.getToTag() = 32113234]

ERROR -
gov.nist.javax.sip.stack.SIPDialog.checkResponseTags(SIPDialog.java:2051
) [this.localTag() = test_tag_0008345318]

ERROR -
gov.nist.javax.sip.stack.SIPDialog.checkResponseTags(SIPDialog.java:2053
) [sipResponse.getFromTag() = test_tag_0008345318]

ERROR -
gov.nist.javax.sip.stack.SIPDialog.checkResponseTags(SIPDialog.java:2056
) [this.remoteTag = test_tag_0008345318]

best regards,
Duy
 
 


________________________________

From: Jeroen van Bemmel [mailto:[email protected]] 
Sent: Montag, 16. Oktober 2006 21:07
To: Pham Nguyen, Quang Duy; [email protected]
Subject: Re: [nist-sip] Dialog's local tag wrongly replaced!


On second try, I did manage to reproduce this. It occurs when the callee
sends REFER.
Fix in CVS
 
Regards,
 
Jeroen

	----- Original Message ----- 
	From: Jeroen van Bemmel <mailto:[email protected]>  
	To: Pham Nguyen, Quang Duy <mailto:[email protected]>  ; 
[email protected] 
	Sent: Monday, October 16, 2006 8:00 PM
	Subject: Re: [nist-sip] Dialog's local tag wrongly replaced!
	
	
	Duy,
	 
	I was unable to reproduce this problem using the latest JAIN SIP
1.2 CVS sources and a modified simplecallsetup example.
	Are you using the latest sources? Can you share the message log?
	 
	Regards,
	 
	Jeroen

		----- Original Message ----- 
		From: Pham Nguyen, Quang Duy <mailto:[email protected]>  
		To: [email protected] 
		Sent: Monday, October 16, 2006 3:25 PM
		Subject: [nist-sip] Dialog's local tag wrongly replaced!

		Hi,
		 
		I found a problem within the SIP stack while trying to
blind transfer a call by sending a REFER request on an existing dialog.
On receiving of a 202 Accepted response to the REFER request, the SIP
stack sets the local tag of the dialog to the remote one (this behavior
is wrong because the REFER request was sent on the existing dialog and
therefore the SIP stack should not change the local tag!) All other
requests that are sent by the remote side later can not be responded any
longer due to dialog's tag mismatch:
		 
		javax.sip.SipException: Response tags dont match with
Dialog tags

		at
gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(SIPServerTran
saction.java:1313)

		at
com.siemens.media.callcontrol.provider.sip.SipManager.sendResponse(SipMa
nager.java:514)

		at
com.siemens.media.callcontrol.provider.sip.SipManager.sendResponse(SipMa
nager.java:554)

		at
com.siemens.media.callcontrol.provider.sip.CallManager.processBye(CallMa
nager.java:1505)

		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

		at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

		at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

		at java.lang.reflect.Method.invoke(Method.java:585)

		at
com.siemens.media.callcontrol.provider.sip.SipManager.processRequest(Sip
Manager.java:802)

		at
gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:219)

		at
gov.nist.javax.sip.EventScanner.run(EventScanner.java:477)

		at java.lang.Thread.run(Thread.java:595)

		 
		Duy        

		
________________________________


		

		_______________________________________________
		nist-sip mailing list
		[email protected]
		http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
		

	
________________________________


	

	_______________________________________________
	nist-sip mailing list
	[email protected]
	http://www-x.antd.nist.gov/mailman/listinfo/nist-sip

_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
ProblemSendingResponseToByeRequest.log (application/octet-stream, 123.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.