You can tell SIPp to change its rate using the control socket. 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).
If you do modify the injection file, I would suggest using something like a MySQL database as a backing store and querying the database. You really really want to avoid anything that will block in SIPp code (because it is single threading blocking in one place will delay all traffic processing). Charles Manish Sapariya <[email protected]> 01/22/2009 11:05 PM To [email protected] cc Subject [Sipp-users] Can sipp call rate and call parameter be controlled by external script/program Hi All, Little background: ================== We have openser/asterisk/openfire based collabration system. XMPP is used extensively as control channel amongst the client. For establishing the calls, the clients first register using XMPP and then request SIP parameters using XMPP control message. The sip stack then uses these extra headers that are returned in XMPP response to establish sip/audio calls. What I need: ============ I have XMPP client script, which can register as multiple users and get the extra SIP header information. My question is, can I ask sipp to initiate call whenever my xmpp user is ready with extra sip params, and make sipp call using these params and at the rate at which xmpp script is asking sipp to make call? Any hints would be appreciated. If not possible in in stock sipp, any hints regarding what area of code might need changes. One area of sipp (though I have not looked at code in great details), is the part where CSV based parameter handling is done. What I think should be possible is to replace CSV reading part of code with socket based reading. If I can open a socket for reading the next call parameters and block until these parameters are not receivede, my external script should be able to send call params by sending data to this socket. Does this sound workable? Any other alternative? Thanks and Regards, Manish ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
