Hello,
I try to build basic scenarios with the sipp tool to verify some basic
functionality of OpenIMSCore (previously SIP Express Router), so I started with
Register - DeRegister. While I was able to REGISTER successfully (as for the
callflow and what FHoSS reported), I am unable to use results of previous
authentication (from 2 REGISTER). I tried to use [authenticate user= ...
password= ...] once more, but the nonce count is then again 0000001 which seems
to result in 471 Unauthorized.
My question therefore is, is there a mechanism how to include correct
authorization header with right (increased) value of Nonce Count (nc)?
For reference, please see my scenario:
UE -> PCSCF
REGISTER ->
<- 471
REGISTER ->
<- 200 OK
<pause 5000 ms>
REGISTER (Expires = 0) ->
<- 200 OK
The attached source files are based on example source files from openimscore
site.
Best regards
Lukas
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="registration-deregistration">
<!--
Initial REGISTER
-->
<send retrans="500">
<![CDATA[
REGISTER sip:open-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 20
From: "alice" <sip:al...@open-ims.test>;tag=[call_number]
To: "alice" <sip:al...@open-ims.test>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg///[call_id]
CSeq: 1 REGISTER
Contact: <sip:al...@[local_ip]:[local_port]>
Expires: 60
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
Authorization: Digest username="al...@open-ims.test", realm="open-ims.test", algorithm="MD5"
Supported: path
]]>
</send>
<!--
401
-->
<recv response="401" auth="true" rtd="true">
<action>
<ereg regexp=".*" search_in="hdr" header="Service-Route" assign_to="RegRouteVar" />
</action>
</recv>
<!--
2. REGISTER
-->
<send retrans="500">
<![CDATA[
REGISTER sip:open-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Route: [$RegRouteVar]
Max-Forwards: 20
From: "alice" <sip:al...@open-ims.test>;tag=[call_number]
To: "alice" <sip:al...@open-ims.test>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg///[call_id]
CSeq: 2 REGISTER
Contact: <sip:al...@[local_ip]:[local_port]>
Expires: 60
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
[authentication username=al...@open-ims.test password=alice]
Supported: path
]]>
</send>
<!--
200 OK
-->
<recv response="200">
</recv>
<!-- Timeout -->
<pause milliseconds="5000"/>
<!--
DeREGISTER
-->
<send retrans="500">
<![CDATA[
REGISTER sip:open-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 20
From: "alice" <sip:al...@open-ims.test>;tag=[call_number]
To: "alice" <sip:al...@open-ims.test>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg///[call_id]
CSeq: 3 REGISTER
Expires: 60
Contact: <sip:al...@[local_ip]:[local_port]>
User-Agent: Sipp v1.1-TLS, version 20061124
[authentication]
Content-Length: 0
]]>
</send>
<!--
200 OK
-->
<recv response="200">
</recv>
<!--
Timeout
-->
<pause milliseconds="3000"/>
<!--
DeREGISTER
-->
<send retrans="500">
<![CDATA[
REGISTER sip:open-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 20
From: "alice" <sip:al...@open-ims.test>;tag=[call_number]
To: "alice" <sip:al...@open-ims.test>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg///[call_id]
CSeq: 3 REGISTER
Expires: 0
Contact: <sip:al...@[local_ip]:[local_port]>
User-Agent: Sipp v1.1-TLS, version 20061124
[authentication]
Content-Length: 0
]]>
</send>
<!--
<recv response="401" auth="true" rtd="true">
<action>
<ereg regexp=".*" search_in="hdr" header="Service-Route" assign_to="1" />
</action>
</recv>
<send retrans="500">
<![CDATA[
REGISTER sip:open-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Route: [$1]
Max-Forwards: 20
From: "alice" <sip:al...@open-ims.test>;tag=[call_number]
To: "alice" <sip:al...@open-ims.test>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg///[call_id]
CSeq: 2 REGISTER
Contact: <sip:al...@[local_ip]:[local_port]>
Expires: 300
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
[authentication username=al...@open-ims.test password=alice]
Supported: path
]]>
</send>
-->
<recv response="200" rtd="true">
</recv>
<ResponseTimeRepartition value="10, 20"/>
<CallLengthRepartition value="10"/>
</scenario>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users