Hi,

As you note, -aa only works for specific message types. What you need
here is an out-of-call scenario file (for which the command-line
option is -oocsn ooc_default or -oocsf <file.xml>) - in UAC mode, an
out-of-call scenario will be triggered by any message that doesn't
match a generated call, and the built-in ooc_default scenario will
respond to any messages with a 200 OK.

To see how an out-of-call scenario is progressing (message counts and
so on) you can type "c" to enter command mode, then "set display ooc".
The command "set display main" sets it back.

Looking at the patch you link to, I don't see much advantage to it
over out-of-call scenarios, other than that it allows injection files
to be used. In particular, I'm not sure it will dump statistics to a
file correctly - the ooc_scenario code currently doesn't and the -rxsf
patch doesn't add any code to do so, so I don't think it would be more
useful in automated performance testing (where SIPp is used a lot).

If you're not using SIPp in a performance-testing environment with
high call loads, you may want to take a look at Quaff, a Ruby gem I
designed for writing simpler test call scenarios for functional
testing (and letting them be more easily integrated into other test
harnesses/reporting frameworks) - one of my particular goals there was
easily supporting this "register then receive a call" scenario. The
gem is at http://rubygems.org/gems/quaff and there are example scripts
at https://github.com/rkday/quaff-examples and
https://github.com/Metaswitch/clearwater-live-test/tree/master/lib/tests.

Best,
Rob Day
(SIPp maintainer)

On 15 January 2014 19:11,  <synverli...@hushmail.com> wrote:
> Dragos, Thanks for your response.
>
> I did in fact, modified UAS .... added  <recv request="MESSAGE">
> But it had issues accepting incoming message, and returns an error:
> "Discarding message which can't be mapped to a known SIPp call".
>
> I saw an exact issue reported by others in the past, and as I comprehend
> there were two solutions offered.
>
> 1. Use  option -aa in command line, which would return an automatic 200 back
> <--- I tried and it didn't work for me, perhaps it only works for 'INVITE',
> 'UPDATE', & 'NOTIFY'
>
> 2. Apply patch to Sipp suggested by 'Matthew Briggs' per
> http://sourceforge.net/p/sipp/mailman/message/28912552/
>     and use additional options in the command line -- 'rxsf'
>
> Anyone tried option-2, can you please share more details on it.
>
> FYI ... I'm using is  SIPp v3.3
>
>
> On Wednesday, January 15, 2014 at 2:30 AM, "Dragos Dinu" <dd...@ezuce.com>
> wrote:
>
> Hi,
>
> Sipp can be indeed used to emulate a receiving client (UAS). Maybe a
> starting point would be to check the scenario example files for a UAS,
> understand them and change them for your needs.
>
> Here, you have a basic UAS scenario which just answers a call, but you can
> find more advanced scenarios.
> http://sipp.sourceforge.net/doc/uas.xml.html
>
> Dragos
>
>
> On Wed, Jan 15, 2014 at 2:49 AM, <synverli...@hushmail.com> wrote:
>>
>> Hi,
>> I'm new to SIPp, and want to know whether it can be used to emulate a
>> client receiving messages sent by another SIP client - per say Jitsi.
>> Both SIPp & Jitsi are configured with accounts available on same server of
>> course.
>> Any suggestions to get started would be of great help.
>>
>> Thanks.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Sipp-users mailing list
>> Sipp-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sipp-users
>>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to