<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    kamailio has an embedded msrp relay functionality. You have to load
    and configure msrp module -- it is new in upcoming release (3.3.0,
    planned to be out about mid of June):<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/devel/modules/msrp.html">http://kamailio.org/docs/modules/devel/modules/msrp.html</a><br>
    <br>
    Have you tried with it as well? I developed the current version, but
    had no good clients I could test with at that time, so I used mainly
    network sending tools to simulate msrp traffic.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 5/24/12 1:27 PM, Reichert Alexander
      wrote:<br>
    </div>
    <blockquote
cite="mid:CBECC7E3A142D8418DAA17E4659FF9F1E1252E614D@CROEXCFWP04.gemalto.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi,<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">We are developing a Java based SIP gateway
          implementation and are performing some integration tests on a
          kamailio/msrprelay server (plugin from <a class="moz-txt-link-abbreviated" href="http://www.msrprelay.org">www.msrprelay.org</a>). <o:p></o:p></p>
        <p class="MsoNormal">The SIP signaling part works so far, but
          when sending a MSRP message, the client receives a 501
          &#8220;Unknown method&#8221; error. However, it seems the request does not
          reach the MSRP module on the server as there is no
          corresponding trace log on the server side.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">On Protocol level, everything looks fine so
          far, the sequence executed is as follows:<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">--&gt;SIP REGISTER<o:p></o:p></p>
        <p class="MsoNormal">&lt;-- SIP/2.0 401 Unauthorized<o:p></o:p></p>
        <p class="MsoNormal">--&gt;SIP REGISTER<o:p></o:p></p>
        <p class="MsoNormal">&lt;--SIP/2.0 200 OK<o:p></o:p></p>
        <p class="MsoNormal">--&gt;INVITE<o:p></o:p></p>
        <p class="MsoNormal">&lt;--SIP/2.0 407 Proxy Authentication
          Required<o:p></o:p></p>
        <p class="MsoNormal">--&gt;ACK<o:p></o:p></p>
        <p class="MsoNormal">--&gt;INVITE<o:p></o:p></p>
        <p class="MsoNormal">&lt;--SIP/2.0 180 Ringing<o:p></o:p></p>
        <p class="MsoNormal">&lt;--SIP/2.0 180 Ringing<o:p></o:p></p>
        <p class="MsoNormal">&lt;--SIP/2.0 200 OK<o:p></o:p></p>
        <p class="MsoNormal">--&gt;ACK<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">The INVITE is processed with the following
          SDP packet in the request:<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">v=0<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">o=-
          1337788359935 1337788359935 IN IP4 localhost<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">s=MSRP Session<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">c=IN IP4
          localhost<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">t=0 0<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">m=message 2855
          TCP/MSRP *<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">a=path:msrp://localhost:2855/U3FuvW00m62UY0020H71;tcp<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">a=accept-types:message/cpim
          text/* application/im-iscomposing+xml<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">a=accept-wrapped-types:*<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">a=setup:active<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">And response:<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">v=0<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">o=- 3546777215
          3546777216 IN IP4 46.105.78.68<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">s=sipsimple
          0.20.0<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt"><span lang="DE">c=IN
            IP4 46.105.78.68<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:36.0pt"><span lang="DE">t=0
            0<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:36.0pt"><span lang="DE">m=message
            57233 TCP/MSRP *<o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:36.0pt">a=path:msrp://msrphost:2855/5AUNTOt7XlFsK7VuT4SzETEzMzc3ODg0MTUuMDcyOjQ2LjEwNS43OC42OA==;tcp
          msrp://msrphost:57233/6bf6dd73b9e4587b65b6;tcp<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">a=accept-types:message/cpim
          text/* application/im-iscomposing+xml<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">a=accept-wrapped-types:*<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">a=setup:passive<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">But when sending the MSRP message, 501 is
          returned:<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">MSRP f0CHA1TD
          SEND<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">To-Path:
          msrp://msrphost:57233/6bf6dd73b9e4587b65b6;tcp<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">From-Path:
          msrp://localhost:52673/b10XadK9;tcp<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">Message-ID:
          13377883623135c260a3568cc<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">Byte-Range:
          1-*/14<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">Hello Francois<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">-------f0CHA1TD$<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">MSRP f0CHA1TD
          501 Unknown method: SEND<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">To-Path:
          msrp://localhost:52673/b10XadK9;tcp<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">From-Path:
          msrp://msrphost:57233/6bf6dd73b9e4587b65b6;tcp<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">-------f0CHA1TD$<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">When testing with two sip-simple client
          endpoints, MSRP messaging works fine, but on protocol traces
          we cannot identify any differences between sip-simple
          communication flows and the ones we are implementing.<o:p></o:p></p>
        <p class="MsoNormal">Does anyone have a hint on what is wrong in
          this message flow? Any advice is appreciated.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Thanks,<o:p></o:p></p>
        <p class="MsoNormal">Alex<o:p></o:p></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
    <br>
    <br>
  </body>
</html>