<div dir="ltr">Thanks,<div><br></div><div style>Dani </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 15, 2013 at 1:22 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    <tt>Hi Dani,<br>
      <br>
      If you do parallel forking to all 5 registrations of the client
      and all fails, the failure route is triggered only once (as all
      branches belong to the same transaction and failure route is
      triggered when the transaction fails).<br>
      <br>
      So the final answer -&gt; one time.<br>
      <br>
      Regards<br>
    </tt>
    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
    <br>
    On 02/15/2013 12:22 PM, Dani Popa wrote:
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Five SIP clients with the same username.
        <div><br>
        </div>
        <div>Dani<br>
          <div class="gmail_extra"><br>
            <br>
            <div class="gmail_quote">On Fri, Feb 15, 2013 at 12:19 PM,
              Dani Popa <span dir="ltr">&lt;<a href="mailto:dani.popa@gmail.com" target="_blank">dani.popa@gmail.com</a>&gt;</span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                <div dir="ltr">Hi,
                  <div><br>
                  </div>
                  <div>Regarding msilo module and example from the
                    documentation, one simple question:</div>
                  <div><br>
                  </div>
                  <div>if i have 5 clients already registered and non of
                    them know IM(message sip method), on next
                    failure_route(it was taken from modules
                    documentation). haw many times the message is stored
                    in database ? In fact the question is, because of
                    sip forking, how many times the IM message is stored
                    in db with m_store on failure_route.</div>
                  <div><br>
                  </div>
                  <div>Thanks,</div>
                  <div>Dani</div>
                  <div><br>
                  </div>
                  <div>
                    <pre style="padding-left:15pt;background-color:rgb(254,254,238);border:1px solid rgb(153,204,204)">failure_route[1] {
    # forwarding failed -- check if the request was a MESSAGE 
    if (!method==&quot;MESSAGE&quot;)
    {
        exit;
    };
    
    log(1,&quot;MSILO:the downstream UA doesn&#39;t support MESSAGEs\n&quot;);
    # we have changed the R-URI with the contact address, ignore it now
    if (m_store(&quot;$ou&quot;))
    {
        log(&quot;MSILO: offline message stored\n&quot;);
        t_reply(&quot;202&quot;, &quot;Accepted&quot;); 
    }else{
        log(&quot;MSILO: offline message NOT stored\n&quot;);
        t_reply(&quot;503&quot;, &quot;Service Unavailable&quot;);
    };
}</pre>
                  </div>
                  <span><font color="#888888">
                      <div>
                        <div><br>
                        </div>
                        -- <br>
                        Dani Popa
                      </div>
                    </font></span></div>
              </blockquote>
            </div>
            <br>
            <br clear="all">
            <div><br>
            </div>
            -- <br>
            Dani Popa
          </div>
        </div>
      </div>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>Dani Popa
</div>