> I am trying to simulate AKA registration using SIPP. Below is UAC scenario
> script file. when my sipp script received 401 from proxy it is exiting
> from executing and displaying message "Syntax error or invalid [keyword]
> in scenario".

Looking into the manual I see the "0x" prepended before the strings akak_OP,
aka_K and aka_AMF. I assume that is the problem.

example: [authentication username=HappyFeet
aka_OP=0xCDC202D5123E20F62B6D676AC72CB318
aka_K=0x465B5CE8B199B49FAA5F0A2EE238A6BC aka_AMF=0xB9B9])

I did not face the problem during my own tests because I omitted the
aka-specific parameters and therefore SIPp uses some default values. It
works fine with Open Source IMS. I have attached my registration scenario
file.

Cheers
-franz

Attachment: register-bob-net1.sh
Description: Binary data

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">

<scenario name="registration">
	
<send retrans="500">
<![CDATA[
REGISTER sip:net1.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="net1.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:net1.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] password=bob]
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

Reply via email to