Search code examples
cygwinsip

SIPP: ERROR OPENING TERMINAL: CYGWIN


I have been trying to install sipp [on windows] to test a point-to-point SIP application that I am writing. I installed sipp 3.2 as per instructions given here. I also installed cygwin. I am unable to run sipp even from from the same folder where I installed and it terminates with the cygwin error. Incidentally running just sipp provides the help documentation, but running any of the provided scenarios fails. Any thoughts?

Run sipp with embedded server (uas) scenario:
 ./sipp -sn uas
On the same host, run sipp with embedded client (uac) scenario
 ./sipp -sn uac 127.0.0.1


C:\Program Files\Sipp_3.2>sipp -sn uas
Error opening terminal: cygwin.

C:\Program Files\Sipp_3.2>sipp -sn uac
Error opening terminal: cygwin.

Solution

  • To run the resulting sipp executable from the Windows cmd shell, you have to set the the
    SIPPINSTDIR environment variable to the location of the executable. Without it, you'll get the "Error opening terminal: cygwin." error. For example, SET SIPPINSTDIR=c:\Users\me\Downloads\sipp.svn.