Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2230 by [email protected]: BYE is routed to unexpected IP
http://code.google.com/p/mobicents/issues/detail?id=2230

What steps will reproduce the problem?
I have B2BUA application which forwards requests to another application by adding routing headers (by pushRoute(...)), but Request-URI is not real and should be resolved by destination proxy....

What is the expected output? What do you see instead?
When I need to terminate call I create BYE for each leg and send them. But sometimes I got 408 response and in the logs I see wrong IP address.

Dec 13 13:57:02,644 [PipelineThread-218] com.avistar.callcontrol.sip.router.Utils DEBUG: Sending BYE directly to command: BYE sip:[email protected] SIP/2.0
Call-ID: [email protected]
CSeq: 1 BYE
From: "Dignen, Mike" <sip:[email protected]>;tag=49512418_8901895f_d1765349-06d2-4b43-9d4c-e9d35397db29
To: "[email protected]" <sip:[email protected]>
Max-Forwards: 70
User-Agent: AVSR-C3-Call-Control/1.1.1.61
Content-Length: 0

In this request Request-URI is not really valid, and request is routed to avistar.com/5060 (172.16.6.1) instead of 172.16.6.84/5062

Dec 13 13:57:02,648 [PipelineThread-218] org.mobicents.servlet.sip.core.DNSAddressResolver DEBUG: SRV lookup for host:transport avistar.com/udp returned nothing -- we are going to just use the domain name directly Dec 13 13:57:02,648 [PipelineThread-218] gov.nist DEBUG: gov.nist.javax.sip.stack.DefaultRouter.getNextHop(DefaultRouter.java:239) [Used request-URI for nextHop = avistar.com:5060/udp]

Dec 13 13:57:02,651 [PipelineThread-218] gov.nist DEBUG: gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(UDPMessageChannel.java:760) [sendMessage 172.16.6.1/5060
messageSize =  447 message = BYE sip:[email protected] SIP/2.0
Call-ID: [email protected]
CSeq: 1 BYE
From: "Dignen, Mike" <sip:[email protected]>;tag=49512418_8901895f_d1765349-06d2-4b43-9d4c-e9d35397db29
To: "[email protected]" <sip:[email protected]>
Max-Forwards: 70
User-Agent: AVSR-C3-Call-Control/1.1.1.61
Via: SIP/2.0/UDP 172.16.6.85:5060;branch=z9hG4bKd54e2fe4-890d-419e-863e-3845bce86789_c71fdaf2_2654320685409179
Content-Length: 0
]


What version of the product are you using? On what operating system?
Mobicents Sip Servlets from r14702.

Please provide any additional information below.
Please see attached log (7-ZIP is used because file is 100 MB)


Attachments:
        logs.7z  544 KB

Reply via email to