Hello Nikolay,
On Wed, Jan 14, 2009 at 7:55 PM, Nikolay Kondratyev <[email protected]> wrote:
> As far as I understand from the manual, including [field2] is the same as
> including [authentication username=3853 password=3853]…. Is that true?
>
Yes, same thing.
> I also tried including [authentication username=3853 password=3853]
> directly, instead of including it from a csv file.
>
> But alas, the second Register still contains incomplete Authorization
> header:
>
> Authorization:
> ,nonce="0769acd81e2821f41cf5103c0668da82496dbc54",response="bff0efb69c5d26b0d18516e50288c705",algorithm=MD5
>
>
>
> This syntax does not work for me...
>
> Could it be something wrong with my sipp installation? I installed sipp
> using yum from a standard repository…
>
> Is there an error in my scenario below?
>
> Could somebody give me a working example of registration scenario or try my
> scenario?
>
I've tried your scenario and it works. I just had to change the
response="401" with response="407" because of my proxy server (I'm attaching
the modified scenario just to make you sure about it).
Here's my sipp version:
[r...@abtcom.]# sipp -v
SIPp v3.1-TLS, version svn532, built Sep 3 2008, 19:13:57.
It may be something with your version.
I suggest you to get the latest version from svn repo.
regards,
mayama
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="register_client">
<send retrans="500">
<![CDATA[
REGISTER sip:[remote_ip] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[fiel...@[field1]>;tag=[call_number]
To: <sip:[fiel...@[field1]>
Call-ID: [call_id]
CSeq: 1 REGISTER
Contact: sip:[fiel...@[local_ip]:[local_port]
Max-Forwards: 5
Expires: 1800
User-Agent: SIPp/Linux
Content-Length: 0
]]>
</send>
<recv response="407" auth="true">
</recv>
<send retrans="500">
<![CDATA[
REGISTER sip:[remote_ip] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:[fiel...@[field1]>;tag=[call_number]
To: <sip:[fiel...@[field1]>
Call-ID: [call_id]
CSeq: 2 REGISTER
Contact: sip:[fiel...@[local_ip]:[local_port]
[field2]
Max-Forwards: 5
Expires: 1800
User-Agent: SIPp/Linux
Content-Length: 0
]]>
</send>
<recv response="200">
</recv>
</scenario>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users