I have done a similar type of load test but the approach was different. No scripting. But I did use pjsua library for it's convenient features. If you are going to send 4 calls at a time load should not be an issue with pjsua's high volume issues. I used pjsua.exe as a guide for how to setup the code. I only got to 93 simultaneous calls because of the pjsua library usage. And my calls where several minutes long. But I was also testing the play/record/get digits functionality presented. I also only used G711ulaw. It takes some work to get it right. Biggest issue you will face if your goes like mine: deadlock. Watch what you do in a pjsip callback function. You don't want anything that last longer than 200ms because in the timeframe pjsua_hangup() will give you a 70009 error if it can't get to the pjsua mutex. Best solution I have found is to queue up the callback function data and handle the event elsewhere. Because in a lot of the callback functions like on_incoming_call() you are called from the pjsua thread with a double lock on the pjsua mutex. Good luck. At 12:28 AM 7/23/2009, Joel Dodson wrote: >Hi Padmaja, > >I've written a signaling and media gateway and call generator using >pjsip. I didn't use pjsua though, I wrote to a lower layer API using >the invite session abstraction. pjsip is definitely capable of >generating lots of load. I had 256 simultaneous calls going through >my signaling/media gateway with the call generator making 3 calls per >second and calls lasting a random amount of time. It took a bit of >work to do though, and it's not very configurable, and I'm only using >g711ulaw. > >You should check into SIPp (http://sipp.sourceforge.net/) for >scriptable load generation. It has a very well done XML scripting >environment. I'm not sure about multiple codecs though. > >Joel > > >On Wed, Jul 22, 2009 at 10:10 PM, Padmaja<rvpadmaja at gmail.com> wrote: > > Hi all, > > > > I need to do bulk call testing with my gateway. For that I need to send 4 > > calls at a time to my GW and set a duration for these 4 calls. After the > > calls are successfully completed, there would be a short pause after which > > again 4 calls will be placed from pjsip to the gateway. This would be > > repeated some thousand times. Is this possible to do with pjsip through > > scripting? Has anyone done this? Is it possible to send different codec on > > different call or all the calls wiill have the same codec list? Anyone who > > did multiple call testing using pjsip, please advice. > > > > Thanks, > > Padmaja > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip at lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > >_______________________________________________ >Visit our blog: http://blog.pjsip.org > >pjsip mailing list >pjsip at lists.pjsip.org >http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org