Hi Bhanuprasad,
> The script given by you for registration is for MD5, I modified and used
> once the system encounters [authentication....] header field my system is
> throwing error "Syntax error or invalid [keyword] in scenario".
No, the script also covers AKAv1-MD5. In that case default values (zero) for
the parameters aka_AMF and aka_OP are used, which are also the default
values used by FHoSS (Open Source IMS platform).
As an exercise I have added the AKA-specific parameters in the same scenario
(see attachment) and it also works. I just used the values from the FHoSS
and I verified it also with changing values. - No syntax errors.
I hope that helps.
Franz
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="registration">
<send retrans="500">
<![CDATA[
REGISTER sip:net2.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 20
From: "bob" <sip:[EMAIL PROTECTED]>;tag=[call_number]
To: "bob" <sip:[EMAIL PROTECTED]>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg1///[call_id]
CSeq: 1 REGISTER
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
Expires: 300
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
Authorization: Digest username="[EMAIL PROTECTED]", realm="net2.test"
Supported: path
]]>
</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:net2.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Route: [$1]
Max-Forwards: 20
From: "bob" <sip:[EMAIL PROTECTED]>;tag=[call_number]
To: "bob" <sip:[EMAIL PROTECTED]>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg2///[call_id]
CSeq: 1 REGISTER
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
Expires: 300
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
[authentication [EMAIL PROTECTED] aka_K=0x626f6200000000000000000000000000 aka_AMF=0x0000 aka_OP=0x00000000000000000000000000000000]
Supported: path
]]>
</send>
<recv response="200">
</recv>
<ResponseTimeRepartition value="10, 20"/>
<CallLengthRepartition value="10"/>
</scenario>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users