> > You can tell SIPp to change its rate using the control socket. > Can I tell sipp, not to make next call, until I am ready again? You can set the rate to zero. > > You can probably change the call parameters using extended 3PCC. If you > > establish a socket to a 3PCC element and setup various parameters (look at > > the replace and insert actions so that you can update the in-memory > > representation of the CSV file); you can then pass those parameters to
> > another instance of SIPp that will generate the calls (or you might even > > be able to generate the calls from that instance). > I will study 3PCC in more details, but can I pass the parameter from > my external script to 3PCC? Only if your external script speaks 3PCC. It is relatively simple. You open a TCP connection to the 3PCC port, and send messages terminated by "\27" (i.e. the character 27. The messages can contain anything you want. The messages are SIP-like, and are something like the following: Call-ID: Foo From: class Any-Random-Header: Value Body text\27 Where Foo is the call ID you select, From is the names in slave.cfg, and Any-Random-Header and Body text are the infomration you want to put in. SIPp internally adds the \27, but if you need an external script you'll need to do it yourself. > > If you do modify the injection file, I would suggest using something like > > a MySQL database as a backing store and querying the database. > I believe this is alternative to my socket based approach. However if > 3PCC approach works, I may not need to need this. In any case, could you > please point me to the files, that I should start looking at? message.cpp defines the keywords (the SendingMessage class parses the XML into a structure); call.cpp (create_sending_message) interprets the structure created by message.cpp; and infile.cpp handles the file keywords. Charles ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users