[SIPForum-discussion] Sipp Registration Problem

vineet vineet at brainroots.com
Mon Dec 22 12:53:02 UTC 2008


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 at 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

Vineet







More information about the discussion mailing list