Registration of user from sipp

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
mohsin
Posts: 7
Joined: Wed Oct 22, 2008 5:22 am

Registration of user from sipp

Post by mohsin »

1. Brekeke Product Name and version:Brekeke PBX version 2.2.6.2

2. Java version:1.5

3. OS type and the version:WindowXP

4. UA (phone), gateway or other hardware/software involved:Sipp

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :

6. Your problem:



Hi All,
I am facing a problem in registration using sipp to the brekeke sip server with AAA Radius.

I have an in house Radius Server which is running on the same machine with brekeke sip server and running register xml scenario of sipp on another machine.

I have installed all the plug-ins needed for accounting & authentication with sip server.

The xml which I am using is for register as below:




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

<scenario name="UAC Basic Registration">

<label id="0" />
<send retrans="500" start_rtd="true">
<![CDATA[
REGISTER sip:[field1] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch];
From: [field0] <sip:[field0]@[field1]>;tag=[call_number]
To: [field0] <sip:[field0]@[field1]>
Call-ID: [call_id]
CSeq: [cseq] REGISTER
Contact: [field0] <sip:[field0]@[local_ip]:[local_port]>;expires=691200
Max-Forwards: 70
Content-Length: 0

]]>
</send>

<recv response="100" rtd="true" optional="true" />
<recv response="200" rtd="true" next="3" optional="true" />
<recv response="403" rtd="true" next="2" optional="true" />
<recv response="404" rtd="true" next="2" optional="true" />
<recv response="401" rtd="true" auth="true" next="1" crlf="true" />
<recv response="407" rtd="true" auth="true" next="1" crlf="true" />

<label id="1" />
<send retrans="500" start_rtd="true">
<![CDATA[
REGISTER sip:[field1] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch];
From: [field0] <sip:[field0]@[field1]>;tag=[call_number]
To: [field0] <sip:[field0]@[field1]>
Call-ID: [call_id]
CSeq: [cseq] REGISTER
Contact: [field0] <sip:[field0]@[local_ip]:[local_port]>;expires=691200
[field2]
Max-Forwards: 70
Content-Length: 0
]]>
</send>

<recv response="100" rtd="true" optional="true" />
<recv response="400" rtd="true" next="2" optional="true" />
<recv response="403" rtd="true" next="2" optional="true" />
<recv response="404" rtd="true" next="2" optional="true" />
<recv response="200" rtd="true" next="3" crlf="true" />

<label id="2" />
<nop>
<action>
<exec int_cmd="stop_call" />
</action>
</nop>

<label id="3" />
<!-- Definition of the response time repartition table (unit is ms). -->
<ResponseTimeRepartition value="30, 50, 80, 100, 150, 200, 300, 400, 500, 600, 700, 1000, 1200, 1400, 1500" />

<!-- Definition of the call length repartition table (unit is ms). -->
<CallLengthRepartition value="30, 50, 80, 100, 150, 200, 300, 400, 500, 600, 700, 1000, 1200, 1400, 1500" />
</scenario>




and the csv file is as below:

SEQUENTIAL
vineet1;192.168.100.30;[authentication username=vineet1@192.168.100.30 password=vineet1];


And the command which I am running from cmd propmt is:

sipp -sf register.xml -inf raj.csv -r 3 -rp 10000 -trace_screen -trace_err -i 192.168.100.145 192.168.100.30:5060 -trace_msg


I am getting message for 100 trying and 401 unauthorized.

Now the problem is here that the packet goes well to sip server but it has not forwarded to AAA Radius server.

Please Help me.

Thanks & Regards

Moshin
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

Which Radius Server are you using?
Which Radius Plug-in are you using?
mohsin
Posts: 7
Joined: Wed Oct 22, 2008 5:22 am

Post by mohsin »

AAA Radius Server.

and Brekeke Radius Plugin
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

Does your Radius server support Digest Authentication?
Let me know the product name of the Radius.

http://www.ietf.org/rfc/rfc4590.txt
http://tools.ietf.org/html/draft-sterman-aaa-sip-04


>> Now the problem is here that the packet goes well to sip server but it has not forwarded to AAA Radius server.

How did you capture packets?
You may not capture packets when a destination is in the same computer.
Post Reply