Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Registration of user from sipp
Author Message
mohsin
Brekeke Junior Member


Joined: 22 Oct 2008
Posts: 7

PostPosted: Mon Dec 22, 2008 6:03 am    Post subject: Registration of user from sipp Reply with quote

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/networkpatterns.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
Back to top
View user's profile Send e-mail
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Tue Dec 23, 2008 12:24 pm    Post subject: Reply with quote

Which Radius Server are you using?
Which Radius Plug-in are you using?
Back to top
View user's profile
mohsin
Brekeke Junior Member


Joined: 22 Oct 2008
Posts: 7

PostPosted: Thu Jan 01, 2009 10:51 pm    Post subject: Reply with quote

AAA Radius Server.

and Brekeke Radius Plugin
Back to top
View user's profile Send e-mail
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Wed Jan 07, 2009 12:18 pm    Post subject: Reply with quote

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.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1