running sipp from java
<p>Hello I am programming a java interface for the sipp command line programm.My current code is:</p>

<pre><code> ProcessBuilder builder = new ProcessBuilder("sipp", "-sn uac",
              "127.0.0.1");
        Map&lt;String, String&gt; environment = builder.environment();
        Process javap = builder.start();
        InputStreamReader tempReader = new InputStreamReader(new BufferedInputStream(javap.getInputStream()));
        BufferedReader reader = new BufferedReader(tempReader);
        while (true){
            String line = reader.readLine();
            if (line == null)
                break;
            System.out.println(line);
            }
</code></pre>

<p>This does not work for me thought, I have sipp enviroment variable set so this is not the problem. The standard output is sipp's help message. What am I doing wrong? Also I would like to know once I got sipp running is it possible to pass arguments to the processBuilder object associated with it so I can change the call rate? i.e. sipp let users change call rate by pressing + , - , * is this possible? </p>

<p>regards maxsap</p>
