Patches item #2894256, was opened at 2009-11-08 21:05 Message generated for change (Tracker Item Submitted) made by mitko-mitev You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=637566&aid=2894256&group_id=104305
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: sipp Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mitko Mitev (mitko-mitev) Assigned to: Nobody/Anonymous (nobody) Summary: Pcap paly with 2 network interfaces Initial Comment: Scenario: a PC with 2 network interfaces: for example IF 1 - 10.80.60.21 IF 2 - 10.80.60.22 Run 2 sipp scripts, the first configured both with media and signalig address to IF 1, the second configured to 10.80.60.22. The scripts have a remote IP same remote SIP server, which is reachable from both interfaces. In both is used pacap play commnad. While the first scripts sends both SIP messages and RTP packets via IF 1, the second script sends SIP messages via IF2, but RTP are sent via IF !!!! I found the reason for this bug. While signalig socket is bound to the local IP address via bind() method from SOCKET API, the media socket is not bound. It means then the send_packet() method is used, there is no guarantee via which interface the packet will be sent. Fix: I added the call of bind method for mediasocket in the send_packets.c module -method send_packets. With fix the sending of RTP packets works fine. The packets are sent via right network IF. I attached the patch file with the fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=637566&aid=2894256&group_id=104305 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
