Julian Lyndon-Smith
2007-Jan-23 07:47 UTC
[asterisk-users] stress-test realtime voicemail with sipp
We are in the process of implementing realtime voicemail. I was wanting to "stress-test" the system to see if or when it would fall over. Is it possible to use sipp to create say 250 calls, each of which leaves a message in the voicemail ? My dialplan is currently [default] exten => stress,1,Answer() exten => stress,2(vm),Voicemail(7777|su) exten => stress,3,Hangup() however, if I use sipp to test this, I get [Jan 23 14:43:51] WARNING[22782]: app.c:599 __ast_play_and_record: No audio available on SIP/sipp-b7c274b0?? I suspect that's because sipp itself is not sending audio. Is there any tricks I can do in the dialplan to get an extension to answer sipp and then send it to voicemail, but play some audio for the voicemail ? Thanks. Julian.
Victor Toofic
2007-Jan-23 08:09 UTC
[asterisk-users] stress-test realtime voicemail with sipp
El mar, ene 23 de 2007 a las 14:44 +0000, Julian Lyndon-Smith comentaba:> > however, if I use sipp to test this, I get > > [Jan 23 14:43:51] WARNING[22782]: app.c:599 __ast_play_and_record: No > audio available on SIP/sipp-b7c274b0?? > > I suspect that's because sipp itself is not sending audio.Why don't you use sipp with pcap support enabled? http://sipp.sourceforge.net/doc/reference.html You can modify a little bit some of the integrated scenarios to allow sipp to interoperate with your voicemail extension. http://sipp.sourceforge.net/doc/reference.html#UAC+with+media
Marco Mouta
2007-Jan-23 08:50 UTC
[asterisk-users] stress-test realtime voicemail with sipp
As far as I know: You need to compile sipp with media streaming and authentication or if you just want first to test you may provide an extension named "service" in the context defined in general section of your sip conf for external calls coming to your asterisk server without authentication: http://sipp.sourceforge.net/doc/reference.html#Installing+SIPp - *With PCAP play<http://sipp.sourceforge.net/doc/reference.html#pcapplay>and without authentication<http://sipp.sourceforge.net/doc/reference.html#authentication>support *: # gunzip sipp-xxx.tar.gz # tar -xvf sipp-xxx.tar # cd sipp # make pcapplay - *With PCAP play<http://sipp.sourceforge.net/doc/reference.html#pcapplay>and authentication<http://sipp.sourceforge.net/doc/reference.html#authentication>support *: # gunzip sipp-xxx.tar.gz # tar -xvf sipp-xxx.tar # cd sipp # make pcapplay_ossl Example: - Sipp being used as a SIP user agent Client: - Call Duration 10000ms - Dialing Calls with RTP using ulaw ./sipp -sf uac_pcap.xml -d 10000 192.168.34.6 -trace_err Where this IP is my * . Hope this helps, Plse provid some feedback. I would like also to learn from community how to understand Load average results with Top command while incrementing calls dial from sipp to asterisk, and how to determine max calls on Asterisk. This max calls is defined when Sipp calls to * starts being discarded? Best regards, Marco Mouta On 1/23/07, Julian Lyndon-Smith <asterisk@dotr.com> wrote:> > We are in the process of implementing realtime voicemail. I was wanting > to "stress-test" the system to see if or when it would fall over. > > Is it possible to use sipp to create say 250 calls, each of which leaves > a message in the voicemail ? > > My dialplan is currently > > [default] > > exten => stress,1,Answer() > exten => stress,2(vm),Voicemail(7777|su) > exten => stress,3,Hangup() > > however, if I use sipp to test this, I get > > [Jan 23 14:43:51] WARNING[22782]: app.c:599 __ast_play_and_record: No > audio available on SIP/sipp-b7c274b0?? > > I suspect that's because sipp itself is not sending audio. > > Is there any tricks I can do in the dialplan to get an extension to > answer sipp and then send it to voicemail, but play some audio for the > voicemail ? > > Thanks. > > Julian. > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070123/ab0bbebb/attachment.htm