On Tue, Jan 17, 2012 at 6:20 PM, mayamatakeshi <mayamatake...@gmail.com>wrote:

>
> 2012/1/17 Anya Verizi <anya_ver...@hotmail.com>
>
>>
>>  Hello,
>>
>> I'm new ewith Sipp and please can you explain me basic things. I have
>> installed sipp and asterisk and try this command sipp -sn uac -d 20000 -s
>> service my_Ip_address -l 10 but I got the error :
>> Aborting call on an unexpected BYE for call: 5-6765@127.0.0.1.
>>
>
> Ths means asterisk is terminating the call.
> The uac scenario (used when you pass "-sn uac") is expecting to be able to
> send BYE after 20 seconds (-d 20000). But since a BYE came from the other
> side before this, the test fails.
> So you can resolve this by two ways:
>   - adjust asterisk to not disconnect the call before 20 seconds
>   - adjust the scenario to wait for the BYE instead of send BYE.
>
>
>>
>> And please can you explain me about his uac and uas xml files. Where are
>> they (Im using centos)?
>>
>
> They are embedded inside sipp itself.
> You can dump them to files using this:
>   sipp -sd uac > uac.xml
>   sipp -sd uas > uas.xml
>

Then, after editing then according to your needs, use them with option -sf
(scenario file) instead of -sn (scenario):

sipp -sf uac.xml -d 20000 -s service my_Ip_address -l 10


>
>
>>  Should I change this files ?
>>
>
> Depends of what you want to test. They are just basic scenarios to start
> with. They are perfectly fine to be used in several tests, but not to any
> test. That's why you need to prepare your own scenarios using them as basis.
> Also, if you google for sipp and scenarios you will find lots of them like
> these:
>   https://github.com/saghul/sipp-scenarios
>
>
>>  Or not? Should I use pcaplay ?
>>
>
> Only if you need to play a pcap file to the distant end. I all depends on
> what you are testing.
>
>>
>> Please if you have time to answer me, I need help....
>>
>
> Best way to learn how to use sipp is to read the documentation:
> http://sipp.sourceforge.net/doc/reference.html
> Then ask questions in the sipp mailing list.
>
> regards,
> takeshi
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to