This Question is Possibly Answered

1 "correct" answer available (5 pts) 2 "helpful" answers available (1 pts)
3 Replies Last post: Aug 10, 2009 9:11 PM by joegen  
Click to view sam's profile   19 posts since
Jul 20, 2009

Aug 4, 2009 8:25 AM

OSS InboundCall BYE seems to be sent to wrong port


Dear

We do have a Proxy and also an UA on the same machine using same IP but different ports. (Proxy has 5060, AU has 5062)

OSS SoftPhone gets an Inbound Call from the UA. UA->Proxy->OSS. OSS Answer the Call. OK. OSS Disconnects the Call but sends the BYE to the UA (Port 5062) instead to the Proxy using Port 5060. It seems that OOS is using Contact Header Field for sending the BYE instead of using the Record-Route what the Proxy has inserted.

Thanks for any help. Regards Samuel.

Click to view joegen's profile   519 posts since
Apr 28, 2007
1. Aug 7, 2009 12:21 AM in response to: sam
Re: OSS InboundCall BYE seems to be sent to wrong port
Hi Sam,

Can you put a breakpoint at SIPSrvRecord.cxx:193 just before the BYE is sent and check which condition leads to the if block below not getting called?

if( packet.GetRouteSize() > 0 )
      {
        hasTransport = TRUE;
        Route route = packet.GetRouteAt( 0 );
        RouteURI routeURI;
        
        if( route.GetURI( routeURI ) )
          operator=(routeURI.GetURI());
      }
.
.
.


Joegen
Click to view joegen's profile   519 posts since
Apr 28, 2007
3. Aug 10, 2009 9:11 PM in response to: sam
Re: OSS InboundCall BYE seems to be sent to wrong port
This definitely looks like OpenSBC is traying to traverse NAT when it doesnt have to. I'll investigate this further. Please send more information if you find something new.