Hi Karuna,

You said you were trying to generate "fake" registration traffic,
correct? I assume you are using fake "[authentication]" parameters?

It seems like you:

Send REGISTER signal (CSeq 1)
Receive 401 signal (CSeq 1)
Send REGISTER with authentication signal (CSeq 2)
Receive 400 "Invalid authentication" signal (CSeq 2)

This is correct.

Maybe you want to change the line:

<recv response="200" ></recv>

to

<recv response="400" ></recv>

or

<recv response="200" next"2" optional="true" />
<recv response="400" />

<label id="2" />

Or are you expecting 200 "OK"? Oh, and "authetication" is mis-spelt :)
Maybe that is the issue?

HTH,

Simon



On 3/26/08, Karuna Gaur <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to generate fake registrations using SIPp tool. I an new user of
> sipp tool.
> I am having problem in authentication.
> I am using the script below.
> Sending the command:
> ./sipp 135.25.31.27:5060 -i 135.91.160.239 -p 5060 -sf registration.txt -m 1
> Getting error message:
> 2008-03-25 11:25:11: Unexpected message for Call-ID
> '[EMAIL PROTECTED]
> all.id': while expecting '200' response, received 'SIP/2.0 400 Invalid
> authetica
> tion header
> Via: SIP/2.0/UDP 135.91.160.239:5060;branch=z9hG4bK88855544011
> From: 8885554401 <sip:[EMAIL PROTECTED]>;tag=1
> To: 8885554401
> <sip:[EMAIL PROTECTED]>;tag=aprqngfrt-ppfvd20000040
> Call-ID: [EMAIL PROTECTED]
> CSeq: 2 REGISTER
> ' .
>
> I have set auth="true" and still it's not getting the Authentication header
> from the 401 message.
> Could you please help me.
>
> ?xml version="1.0" encoding="ISO-8859-1" ?>
>
> <scenario name="register">
> <send >
> <![CDATA[
> REGISTER sip:etsdev.lz.att.com SIP/2.0
> Via:SIP/2.0/UDP
> [local_ip]:[local_port];branch=z9hG4bK88855544011
> To: 8885554401 <sip:[EMAIL PROTECTED]>
> From:8885554401
> <sip:[EMAIL PROTECTED]>;tag=[call_number]
> Call-ID: [call_id]
> CSeq: 1 REGISTER
> Contact: 8885554401
> <sip:[EMAIL PROTECTED]:[local_port]>
> Content-Length: 0
> Max-Forwards: 70
> Expires:3600
> ]]>
> </send>
> <recv response="401" auth="true">
> </recv>
> <send >
> <![CDATA[
> REGISTER sip:etsdev.lz.att.com SIP/2.0
> Via: SIP/2.0/UDP
> [local_ip]:[local_port];branch=z9hG4bK88855544011
> From:8885554401
> <sip:[EMAIL PROTECTED]>;tag=[call_number]
> To: 8885554401 <sip:[EMAIL PROTECTED]>
> Contact: 8885554401
> <sip:[EMAIL PROTECTED]:[local_port]>
> [authetication]
> Call-ID: [call_id]
> CSeq: 2 REGISTER
> Max-Forwards: 70
> Expires:3600
> Content-Length: 0
> ]]>
> </send>
>
>
> <recv response="200" >
> </recv>
>
> </scenario>
>
> Thanks in advance.
> Kiran
>
> ________________________________
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now.
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to