< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Hi all!
My company is using reciprocate 1.7 to do performance tests for our own SIP products. It’s working pretty well but we run into the following problem.
Assume the following test environment (Windows Server 2003):
!!!!
Ethernet adapter Local Area Connection 3:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 9.9.9.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : 9.9.9.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : 9.9.9.3 à SIP stack wants to use this IP as source IP address for all outgoing traffic
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : 9.9.9.4 à system under test resides behind this IP address (destination IP from SIP stack’s point of view)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Evidently, all IP addresses, SIP stack tester, software under test are running on the same physical machine.
This is the intended traffic flow:
9.9.9.3:25000 (stack) à 9.9.9.4:5060 (system under test)
!!!!
The SIP stack is initialized like this:
!!!!
mDum->addTransport(UDP, “25000”, V4, “9.9.9.3”);
!!!!
While running the tests the following error occur:
!!!!
DEBUG | 20120329-130256.631 | reSIPUA | RESIP:TRANSPORT | 4544 | TransportSelector.cxx:651 | Looked up source for destination: [ V4 9.9.9.4:5060 UDP target domain=9.9.9.4 mFlowKey=0 ] -> [ V4 9.9.9.3:0 UDP target domain=9.9.9.4 mFlowKey=0 ] sent-by= sent-port=0
DEBUG | 20120329-130256.631 | reSIPUA | RESIP:TRANSPORT | 4544 | TransportSelector.cxx:1276 | findTransportBySource([ V4 9.9.9.3:0 UDP target domain=9.9.9.4 mFlowKey=0 ])
DEBUG | 20120329-130256.631 | reSIPUA | RESIP:TRANSPORT | 4544 | TransportSelector.cxx:1344 | Exact interface / Specific port: [[ V4 9.9.9.4:25000 UDP target domain=unspecified mFlowKey=0 ] -> 01818BE8]
DEBUG | 20120329-130256.631 | reSIPUA | RESIP:TRANSPORT | 4544 | TransportSelector.cxx:1345 | Any interface / Specific port: []
DEBUG | 20120329-130256.631 | reSIPUA | RESIP:TRANSPORT | 4544 | TransportSelector.cxx:1346 | Exact interface / Any port: [[ V4 9.9.9.4:25000 UDP target domain=unspecified mFlowKey=0 ] -> 01818BE8]
DEBUG | 20120329-130256.631 | reSIPUA | RESIP:TRANSPORT | 4544 | TransportSelector.cxx:1347 | Any interface / Any port: []
WARNING | 20120329-130256.631 | reSIPUA | RESIP:TRANSPORT | 4544 | TransportSelector.cxx:1349 | Can't find matching transport [ V4 9.9.9.3:0 UDP target domain=9.9.9.4 mFlowKey=0 ]
!!!!
Things would work if I would use addTransport with address “9.9.9.1” (first address if checked with ipconfig) or in case IP address is not specified at all (where source address will be automatically chosen as 9.9.9.4).
Question:
Is there any way SIP stack would use a defined source IP address and still find the correct route?
Thanks for your help in advance!
Best regards,
Peter Schollbach
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/