Folks,
Please find attached patches for the IMS Bench version of SIPp (SVN/branches/ims_bench). (See attached file: sipp-imsbench-gcc44.patch)(See attached file: sipp-imsbench-keepalive.patch) [This is a re-send from 4/8/10 that didn't go thru (I think) due to list restrictions. Trying again...] 1. The 1st solves some compilation errors with gcc4.4. The stdlib prototypes of the str*() function changed in gcc4.4. See http://gcc.gnu.org/gcc-4.4/porting_to.html, and page 407 of http://www-d0.fnal.gov/~dladams/cxx_standard.pdf for more details. 2. The 2nd adds UDP keep-alive support (as command line option) to enable NAT pinhole support. Details of change are in README.txt: UDP KeepAlive support for NAT pinhole tunneling. SIP users may be configured to periodically send small 4-byte UDP packets to their remote (typically a proxy). This serves to keep any NAT pinholes open, so that the SIP server can contact the client later thru the NAT box. To enable: A. Use command line argument to SIPp "-keep_alive_period <secs>" where <secs> is the period between keep alive messages. Typically ~20sec. B. Add scenario action int_cmd="keep_alive_on". Typically this would occur at the end of the registration scenario. C. Add scdenario action int_cmd="keep_alive_off", typically at end of de-registration scenario (At point where it is ok for pinhole to close. Keep alives are implemented on a per-user basis: the int_cmd changes the state for each user. (e.g., the keep alive state is remembered into the next call for that user. The keep_alive_period defaults to zero, which disable sending keep alives. Regards, Kennard
sipp-imsbench-gcc44.patch
Description: Binary data
sipp-imsbench-keepalive.patch
Description: Binary data
------------------------------------------------------------------------------
_______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users