<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <font face="monospace">Hi Robert,<br>
      <br>
      I guess you are talking about his
      <a class="moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/3.2.x/msilo.html#idp5708384">https://opensips.org/html/docs/modules/3.2.x/msilo.html#idp5708384</a>
      ? Which looks like it was not updated since ages.....it is not
      even 3.2 compatible actually.<br>
      <br>
      The "</font><font face="monospace"># if the downstream UA does not
      s<span style="background-color:#ffff54;">up</span><span
        style="background-color:#ffffff;">port MESSAGE requests" block
        is outside the "if(!lookup("location")) ", so it is done when
        the lookup() succeeded. And to be honest I do not see that
        "t_on_if()" anywhere .....<br>
        <br>
        Regards, <br>
      </span></font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021 
  <a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
    <div class="moz-cite-prefix">On 11/11/21 10:34 PM, Robert Dyck
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:1963995.0S5aU1g85B@blacky">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The
        module documentation for msilo gives us an example of
        configuration to deploy the service.</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">In
        a block staring with "<span style="color:#000000;"><span
            style="font-family:monospace;"><span
              style="background-color:#ffffff;">if(!look</span><span
              style="background-color:#ffff54;">up</span><span
              style="background-color:#ffffff;">("location"))" we see
              the following --</span></span></span></p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">      #
        if the downstream UA does not s<span
          style="background-color:#ffff54;">up</span><span
          style="background-color:#ffffff;">port MESSAGE requests </span><br>
               # go to failure_route[1] <br>
               t_on_if
        (!db_does_uri_exist("$ru","subscriber"))failure("1"); <br>
               t_relay(); <br>
               exit;<br>
        We didn't actually establish that the lookup failed because
        Message is unsupported. Lookup has only one failure return code
        -1. This does not tell us if the lookup failure was due to an
        non-existant AOR, no UAs registered or method not supported.</p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">In
        the statement "t_on_if
        (db_does_uri_exist("$ru","subscriber"))failure("1"); " t_on_if
        is not documented. Does it mean we should immediately go to the
        failure route if the AOR does not exist.</p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">If
        the AOR does not exist why would we do ---</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">   if
        (m_store("$ou")) <br>
           { <br>
               log("MSILO: offline message stored\n"); <br>
               t_reply("202", "Accepted"); <br>
           }else{ <br>
               log("MSILO: offline message NOT stored\n"); <br>
               t_reply("503", "Service Unavailable"); <br>
           };</p>
      <br>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Some
        clarification would be appreciated.</p>
      <p
        style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Rob</p>
      <p> </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>