< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Why TCP cannot work, when INVITE Via header without port parameter??


I create a SERVER using reciprocate and make it work on TCP 5060. The client is ACULAB (a MRCP client supporting SIP). My problem is:

         When ACULAB sents INVITE to my SERVER on TCP port 3342, why reciprocate always replies to the destination port 5060?

I find INVITE Via header contains NO port information, but I think it should reply the response to the port that the INVITE comes from?

                                                                                                                THANKS

 

DEBUG | 20060922-171851.526 | Server | RESIP:TRANSPORT | 2196 | TcpBaseTransport.cxx:109 | Received TCP connection from: [ V4 192.168.77.153:3342 TCP target domain=unspecified received on: Transport: [ V4 0.0.0.0:5060 TCP target domain=unspecified connectionId=0 ] connectionId=0 ] as fd=7152

DEBUG | 20060922-171851.526 | Server | RESIP:TRANSPORT | 2196 | ConnectionBase.cxx:45 | ConnectionBase::ConnectionBase, who: [ V4 192.168.77.153:3342 TCP target domain=unspecified received on: Transport: [ V4 0.0.0.0:5060 TCP target domain=unspecified connectionId=0 ] connectionId=0 ] 01B75168

DEBUG | 20060922-171851.526 | Server | RESIP:TRANSPORT | 2196 | TcpConnection.cxx:16 | Creating TCP connection [ V4 192.168.77.153:3342 TCP target domain=unspecified received on: Transport: [ V4 0.0.0.0:5060 TCP target domain=unspecified connectionId=0 ] connectionId=0 ] on 7152

DEBUG | 20060922-171851.589 | Server | RESIP:TRANSPORT | 2196 | ConnectionBase.cxx:200 | ##Connection: CONN_BASE: 01B75168 [ V4 192.168.77.153:3342 TCP target domain=unspecified received on: Transport: [ V4 0.0.0.0:5060 TCP target domain=unspecified connectionId=0 ] connectionId=2 ] received:

 

INVITE sip:mrcp@xxxxxxxxxxxxx SIP/2.0

Via: SIP/2.0/TCP iflytek-hjma.iflytek.com;branch=z9hG4bK1158916731666;received=192.168.77.153

Max-Forwards: 70

Contact: sip:hjma@xxxxxxxxxxxxxx

To: <sip:mrcp@xxxxxxxxxxxxx>

From: <sip:sip:hjma@xxxxxxxxxxxxxx>;tag=d9069bfc3e

Call-ID: 34d17c88e2

CSeq: 1 INVITE

Content-Type: application/sdp

Content-Length: 308

DEBUG | 20060922-171851.635 | Server | RESIP:TRANSPORT | 2196 | TransportSelector.cxx:521 | Looked up source for destination: [ V4 192.168.77.153:5060 TCP target domain=unspecified received on: Transport: [ V4 0.0.0.0:5060 TCP target domain=unspecified connectionId=0 ] connectionId=2 ] -> [ V4 192.168.77.79:0 TCP target domain=unspecified received on: Transport: [ V4 0.0.0.0:5060 TCP target domain=unspecified connectionId=0 ] connectionId=2 ] sent-by=iflytek-hjma.iflytek.com sent-port=0

DEBUG | 20060922-171851.635 | Server | RESIP:TRANSPORT | 2196 | TransportSelector.cxx:754 | Transmitting to [ V4 192.168.77.153:5060 TCP target domain=unspecified received on: Transport: [ V4 0.0.0.0:5060 TCP target domain=unspecified connectionId=0 ] connectionId=2 ] tlsDomain= via [ V4 192.168.77.79:5060 TCP target domain=unspecified received on: Transport: [ V4 0.0.0.0:5060 TCP target domain=unspecified connectionId=0 ] connectionId=2 ]

 

SIP/2.0 180 Ringing

Via: SIP/2.0/TCP iflytek-hjma.iflytek.com;branch=z9hG4bK1158916731666;received=192.168.77.153

Contact: <sip:mrcp@xxxxxxxxxxxxx>

To: <sip:mrcp@xxxxxxxxxxxxx>;tag=89304b14

From: <sip:sip:hjma@xxxxxxxxxxxxxx>;tag=d9069bfc3e

Call-ID: 34d17c88e2

CSeq: 1 INVITE

User-Agent: iflytek-UA

Content-Length: 0