On Wed, Mar 2, 2011 at 1:57 AM, mayamatakeshi <mayamatake...@gmail.com>wrote:

>
> On Wed, Mar 2, 2011 at 1:26 AM, Gopalakrishnan A.N <sai...@gmail.com>wrote:
>
>> Forgot to attach the wireshark log. Please apply the filter in the filter
>> box "sip || udp" to pin point the registration process.
>>
>
> SIPp is terminating the "call" (actually, you never send BYE while
> processing REGISTER. This is a SIPp bug) because the scenario is expecting a
> 401/407 but received 100 instead.
> So just add this into the scenario before the tags for 401 and 407.
>
>   <recv response="100" optional="true"/>
>

Also, you wouldn't even have to look at the packet capture to figure this
out. Just trust what sipp says: when the call failed, it probably exited
printing something like "Unexpected message 100 while waiting for 401".
So, you just have not read the docs to understand how sipp works, but in
essence, it is very simple, it sends messages (tags <send/>) and waits for
messages (tags <recv/>).
If an unexpected message is received, it considers the "call" failed. A
failure doesn't mean sipp is broken. It means sipp successfully detected an
inconsistency between the scenario and the system under test.
And the scenario file is not wrong: you have to adjust it according to what
is expected to happen. The sooner you read that single doc page, the sooner
you will be writing your own scenarios. Don't leave it for for later, you
are stuck on this extremely simple thing for 11 days already.
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to