Comment #3 on issue 2354 by alexander.kozlov.IV:
B2buaHelper.createResponseToOriginalRequest() does not set different To tag
to created response.
http://code.google.com/p/mobicents/issues/detail?id=2354
Also, I tried to write unit test when I sent INVITE to forked proxy,
maybe something wrong with test, but responses with different to-tag are
marked as Retransmission.
DEBUG Mobicents-SIP-Servlets-UDPMessageChannelThread-3
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processResponse(SipApplicationDispatcherImpl.java:782)
- Response SIP/2.0 180 Ringing
To: <sip:[email protected]:5056>;tag=tag2
Via: SIP/2.0/UDP
127.0.0.1:5070;branch=z9hG4bK58bcef55-87bc-440f-90ba-3c0d3212438f_8a1e29b3_16255907
CSeq: 1 INVITE
Call-ID: [email protected]
From:
<sip:[email protected]:5070>;tag=38143681_8a1e29b3_58bcef55-87bc-440f-90ba-3c0d3212438f
Contact: <sip:[email protected]:5056>
Content-Length: 0
DEBUG Mobicents-SIP-Servlets-UDPMessageChannelThread-3
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processResponse(SipApplicationDispatcherImpl.java:802)
- is Forked Response false
DEBUG Mobicents-SIP-Servlets-UDPMessageChannelThread-3
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processResponse(SipApplicationDispatcherImpl.java:803)
- is Retransmission true
.........................
DEBUG Mobicents-SIP-Servlets-UDPMessageChannelThread-6
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processResponse(SipApplicationDispatcherImpl.java:782)
- Response SIP/2.0 200 OK
To: <sip:[email protected]:5056>;tag=tag2
Via: SIP/2.0/UDP
127.0.0.1:5070;branch=z9hG4bK58bcef55-87bc-440f-90ba-3c0d3212438f_8a1e29b3_16255907
CSeq: 1 INVITE
Call-ID: [email protected]
From:
<sip:[email protected]:5070>;tag=38143681_8a1e29b3_58bcef55-87bc-440f-90ba-3c0d3212438f
Contact: <sip:[email protected]:5056>
Content-Length: 0
DEBUG Mobicents-SIP-Servlets-UDPMessageChannelThread-6
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processResponse(SipApplicationDispatcherImpl.java:802)
- is Forked Response false
DEBUG Mobicents-SIP-Servlets-UDPMessageChannelThread-6
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processResponse(SipApplicationDispatcherImpl.java:803)
- is Retransmission true
Attachments:
logs.txt 389 KB