I'm trying to write a shell script that will spin off a number of sipp invocations in the foreground using "xterm -e ./sipp ......". This works great for running any xml file that does not include running pcapplay. A series of xterm windows pops up and I can watch the progress of each sipp invocation. But as soon as I run a script that includes pcapplay, the script ends and that window closes as soon as the first pcapplay execution ends.
I found that if I add code to sipp.cpp to ignore SIGHUP (signal (SIGHUP,SIG_IGN), this problem goes away, but I have to issue a "kill" command to really get rid of the process and free up the ports. Evidently the SIGHUP is being raised when the send_wrapper function in call.cpp ends the media thread. I suspect there must be something different about how signals are handled when the terminal window is opened with "xterm -e ./sipp" vs just running sipp in an xterm window, but I'm not sure what that is. Any ideas? Is there a better way to do this? Thanks Don Morrison ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
