I can't register in OpenSER using SIPp.
SIPp versions tested
2.0.1 Windows (TLS),
Latest from SVN on linux
X-Lite registers w/o any problems.

In pcap file & messages you can see 2 regsitration attempts. first
form x-lite (sucessfull) and second from SIPp.

This looks like OpenSER and SIPp have some differences in MD5 authentification.

-- 
Vladimir Romanov

Attachment: registration.pcap
Description: Binary data

Attachment: run.sh
Description: Bourne shell script

Attachment: users.csv
Description: MS-Excel spreadsheet

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

<scenario name="registration">
  <send retrans="500">
    <![CDATA[
      REGISTER sip:[realm] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      Max-Forwards: 70
      Contact: <sip:[EMAIL PROTECTED]:[local_port]>
      To: "[field0]" <sip:[EMAIL PROTECTED]>
      From: "[field0]" <sip:[EMAIL PROTECTED]>;tag=[call_number]
      Call-ID: [call_id]
      CSeq: [cseq] REGISTER
      Expires: [reg_expires]
      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
      User-Agent: SIPp 
      Content-Length: 0
    ]]>
  </send>

  <recv response="401" auth="true"/>

  <send retrans="500">
    <![CDATA[
      REGISTER sip:[realm] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      Max-Forwards: 70
      Contact: <sip:[EMAIL PROTECTED]:[local_port]>
      To: "[field0]" <sip:[EMAIL PROTECTED]>
      From: "[field0]" <sip:[EMAIL PROTECTED]>;tag=[call_number]
      Call-ID: [call_id]
      CSeq: [cseq] REGISTER
      Expires: [reg_expires]
      Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
      User-Agent: SIPp 
      [authentication username="[field0]" password="[field1]"]
      Content-Length: [len]
    ]]>
  </send>

  <recv response="200" crlf="true" />

  <pause milliseconds="30000"/>
                
  <send retrans="500">
    <![CDATA[
      REGISTER sip:[realm] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      Max-Forwards: 20
      From: "[field0]" <sip:[EMAIL PROTECTED]>;tag=[call_number]
      To: "[field0]" <sip:[EMAIL PROTECTED]>
      Call-ID: [call_id]
      CSeq: [cseq] REGISTER
      Contact: <sip:[EMAIL PROTECTED]:[local_port]>
      Authorization: Digest username="[EMAIL PROTECTED]", realm="example.com"
      Expires: 0
      Content-Length: 0
      User-Agent: SIPp 
    ]]>
  </send>

  <recv response="401" auth="true"/>

  <send retrans="500">
    <![CDATA[
      REGISTER sip:[realm] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      Max-Forwards: 20
      From: "[field0]" <sip:[EMAIL PROTECTED]>;tag=[call_number]
      To: "[field0]" <sip:[EMAIL PROTECTED]>
      Call-ID: [call_id]
      CSeq: [cseq] REGISTER
      Contact: <sip:[EMAIL PROTECTED]:[local_port]>
      Expires: 0
      Content-Length: 0
      [authentication username=[field0] password=[field1]]
    ]]>
  </send>

  <recv response="200" crlf="true" />

  <pause milliseconds="2500"/>

  <ResponseTimeRepartition value="10, 20, 40, 80, 160, 320, 640, 1280, 2560, 5120, 10240"/>
  <CallLengthRepartition value="10, 20, 40, 80, 160, 320, 640, 1280, 2560, 5120, 10240"/>

</scenario>

Attachment: register.cmd_
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to