<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi Kaan,<br>
        <br>
        In OpenSIPS, how do you script to have the REGISTER sent to both
        .3 and .5 ?<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 13.10.2014 13:11, Kaan Dandin wrote:<br>
    </div>
    <blockquote
      cite="mid:f4dx1qddr488m9k8nvjukinl.1413195116426@email.android.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div>
        <div>Hi Bogdan, </div>
        <div><br>
        </div>
        <div>Following 401 messages are coming from .3 , but not passed
          to .11</div>
        <div>by opensips (.141)</div>
        <div><br>
        </div>
        <div>Kind regards, </div>
        <div>Kaan</div>
        <div>
          <blockquote
            cite="mid:nth42o42tq4f3evtpkrnoaxk.1412974130826@email.android.com"
            type="cite">
            <blockquote
              cite="mid:jvgupurm6pit0jgfe15min64.1412838040190@email.android.com"
              type="cite">
              <blockquote
                cite="mid:1412410687.9891.YahooMailNeo@web121504.mail.ne1.yahoo.com"
                type="cite">
                <div style="color: rgb(0, 0, 0); background-color:
                  rgb(255, 255, 255); font-family: HelveticaNeue,
                  'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
                  sans-serif; font-size: 16px; ">
                  <div><a moz-do-not-send="true"
                      href="tel:63%201.233561">63 1.233561</a>    <a
                      moz-do-not-send="true" href="http://192.168.2.3/">192.168.2.3</a>          <a
                      moz-do-not-send="true"
                      href="http://192.168.2.141/">192.168.2.141</a>        
                    SIP      Status: 401 Unauthorized - Challenging the
                    UE    (0 bindings)<br>
                         <a moz-do-not-send="true"
                      href="tel:64%201.241624">64 1.241624</a>    <a
                      moz-do-not-send="true" href="http://192.168.2.3/">192.168.2.3</a>          <a
                      moz-do-not-send="true"
                      href="http://192.168.2.141/">192.168.2.141</a>        
                    SIP      Status: 401 Unauthorized - Challenging the
                    UE    (0 bindings)</div>
                </div>
              </blockquote>
            </blockquote>
          </blockquote>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div style="font-size:8px;color:#575757">Samsung Mobile
            tarafından gönderildi</div>
        </div>
      </div>
      <br>
      <br>
      <div>-------- Orjinal mesaj --------</div>
      <div>Kimden: Bogdan-Andrei Iancu <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a> </div>
      <div>Tarih:13 10 2014 10:09 (GMT+02:00) </div>
      <div>Alıcı: Kaan Dandin <a class="moz-txt-link-rfc2396E" href="mailto:kaandandin@yahoo.com">&lt;kaandandin@yahoo.com&gt;</a>,OpenSIPS
        users mailling list <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org">&lt;users@lists.opensips.org&gt;</a> </div>
      <div>Cc: Gunes Kurt <a class="moz-txt-link-rfc2396E" href="mailto:gkurt@itu.edu.tr">&lt;gkurt@itu.edu.tr&gt;</a>,"Ibrahim Hokelek,
        (BİLGEM-UEKAE)" <a class="moz-txt-link-rfc2396E" href="mailto:ibrahim.hokelek@tubitak.gov.tr">&lt;ibrahim.hokelek@tubitak.gov.tr&gt;</a> </div>
      <div>Konu: Re: YNT: Re: YNT: Re: [OpenSIPS-Users] RFC3261
        transaction matching failed error for the second 401
        Unauthorized - Challenging the UE </div>
      <div><br>
      </div>
      <div class="moz-cite-prefix"><tt>Hi Kaan,<br>
          <br>
          OK, you fork to .3 and .5 and I see only .5 answering -
          nothing back from .3 . So OpenSIPS sends back to IMS .11 the
          reply from .5, the 401.<br>
          Where is the problem?<br>
          <br>
          Regards,<br>
        </tt>
        <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
        On 10.10.2014 23:48, Kaan Dandin wrote:<br>
      </div>
      <blockquote
        cite="mid:nth42o42tq4f3evtpkrnoaxk.1412974130826@email.android.com"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        <div>
          <div>Yes 141 is opensips I am sending both 3 and 5 register
            messages when I get from 11 which is ims bench</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>
            <div style="font-size:8px;color:#575757">Samsung Mobile
              tarafından gönderildi</div>
          </div>
        </div>
        <br>
        <br>
        <div>-------- Orjinal mesaj --------</div>
        <div>Kimden: Bogdan-Andrei Iancu <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a>
        </div>
        <div>Tarih:09 10 2014 13:45 (GMT+02:00) </div>
        <div>Alıcı: Kaan Dandin <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:kaandandin@yahoo.com">&lt;kaandandin@yahoo.com&gt;</a>,OpenSIPS

          users mailling list <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:users@lists.opensips.org">&lt;users@lists.opensips.org&gt;</a>
        </div>
        <div>Cc: </div>
        <div>Konu: Re: YNT: Re: [OpenSIPS-Users] RFC3261 transaction
          matching failed error for the second 401 Unauthorized -
          Challenging the UE </div>
        <div><br>
        </div>
        <div class="moz-cite-prefix">Hi,<br>
          <br>
          Is .141 your OpenSIPS ? I see .141 is sending the REGISTRAR to
          both nodes  ( .3 and .5) .<br>
          <br>
          Regards,<br>
          <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
          On 09.10.2014 10:00, Kaan Dandin wrote:<br>
        </div>
        <blockquote
          cite="mid:jvgupurm6pit0jgfe15min64.1412838040190@email.android.com"
          type="cite">
          <meta http-equiv="Content-Type" content="text/html;
            charset=utf-8">
          <div>
            <div>Hi Bogdan, </div>
            <div><br>
            </div>
            <div>Thanks for your response. </div>
            <div>In this situation how can I configure opensips to pass
              this message to the destination. Is it a configuration
              change or should I use another function instead of t_relay
              ?</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Kind regards</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>
              <div style="font-size:8px;color:#575757">Samsung Mobile
                tarafından gönderildi</div>
            </div>
          </div>
          <br>
          <br>
          <div>-------- Orjinal mesaj --------</div>
          <div>Kimden: Bogdan-Andrei Iancu <a moz-do-not-send="true"
              class="moz-txt-link-rfc2396E"
              href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a>
          </div>
          <div>Tarih:07 10 2014 16:29 (GMT+02:00) </div>
          <div>Alıcı: Kaan Dandin <a moz-do-not-send="true"
              class="moz-txt-link-rfc2396E"
              href="mailto:kaandandin@yahoo.com">&lt;kaandandin@yahoo.com&gt;</a>,OpenSIPS


            users mailling list <a moz-do-not-send="true"
              class="moz-txt-link-rfc2396E"
              href="mailto:users@lists.opensips.org">&lt;users@lists.opensips.org&gt;</a>
          </div>
          <div>Cc: </div>
          <div>Konu: Re: [OpenSIPS-Users] RFC3261 transaction matching
            failed error for the second 401 Unauthorized - Challenging
            the UE </div>
          <div><br>
          </div>
          <div class="moz-cite-prefix"><tt>Hi Kaan,<br>
              <br>
              The log you refer to is a DBG and not an ERR (error) -
              when a new request is received, opensips (inside the
              t_relay) tries to match it against existing transactions
              to see if it a retransmission on not. The fact your
              request does not match means it is not a retransmission,
              but rather a new request.<br>
              <br>
              Regards,<br>
            </tt>
            <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
            On 04.10.2014 11:18, Kaan Dandin wrote:<br>
          </div>
          <blockquote
            cite="mid:1412410687.9891.YahooMailNeo@web121504.mail.ne1.yahoo.com"
            type="cite">
            <div style="color:#000; background-color:#fff;
              font-family:HelveticaNeue, Helvetica Neue, Helvetica,
              Arial, Lucida Grande, sans-serif;font-size:16px">
              <div>Hi all,</div>
              <div> </div>
              <div>I am making registration to the Open IMS
                nodes(192.168.2.3 and 192.168.2.5) simultaneously from
                IMS bench(192.168.2.11). Registration messages are going
                through OpenSIPS load balancer(192.168.2.141).</div>
              <div> </div>
              <div>Registration messages which are going to first Open
                IMS node(192.168.2.5) completed succesfully.</div>
              <div> </div>
              <div> </div>
              <div>But registration to second IMS node(192.168.2.3) is
                not completed successfully  since t_relay() function in
                OpenSIPS load balancer is giving "DBG:tm:matching_3261:
                RFC3261 transaction matching failed" error and not
                passing the "Status: 401 Unauthorized - Challenging the
                UE    (0 bindings)" messages to IMS bench.</div>
              <div> </div>
              <div>Below please find wireshark log and opensips logs in
                debug level=6.</div>
              <div> </div>
              <div>Do you have any idea for this problem.</div>
              <div> </div>
              <div>BR,</div>
              <div>Kaan</div>
              <div> </div>
              <div> </div>
              <div>o.     Time        Source               
                Destination           Protocol Info<br>
                     55 1.186495    192.168.2.11         
                192.168.2.141         SIP      Request: REGISTER
                sip:open-ims.test<br>
                     56 1.188443    192.168.2.141        
                192.168.2.3           SIP      Request: REGISTER
                sip:open-ims.test<br>
                     57 1.189001    192.168.2.141        
                192.168.2.5           SIP      Request: REGISTER
                sip:open-ims.test<br>
                     58 1.215792    192.168.2.5          
                192.168.2.141         SIP      Status: 401 Unauthorized
                - Challenging the UE    (0 bindings)<br>
                     59 1.216974    192.168.2.141        
                192.168.2.11          SIP      Status: 401 Unauthorized
                - Challenging the UE    (0 bindings)<br>
                     60 1.217486    192.168.2.11         
                192.168.2.141         SIP      Request: REGISTER
                sip:open-ims.test<br>
                     61 1.218516    192.168.2.141        
                192.168.2.3           SIP      Request: REGISTER
                sip:open-ims.test<br>
                     62 1.218804    192.168.2.141        
                192.168.2.5           SIP      Request: REGISTER
                sip:open-ims.test<br>
                     63 1.233561    192.168.2.3          
                192.168.2.141         SIP      Status: 401 Unauthorized
                - Challenging the UE    (0 bindings)<br>
                     64 1.241624    192.168.2.3          
                192.168.2.141         SIP      Status: 401 Unauthorized
                - Challenging the UE    (0 bindings)<br>
                     65 1.246112    192.168.2.5          
                192.168.2.141         SIP      Status: 200 OK - SAR
                succesful and registrar saved    (1 bindings)<br>
                     66 1.246919    192.168.2.141        
                192.168.2.11          SIP      Status: 200 OK - SAR
                succesful and registrar saved    (1 bindings)</div>
              <div> </div>
              <div> </div>
              <div> </div>
              <div>Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]: xlog method:
                [REGISTER] totag: [&lt;null&gt;] sipid: [192.168.2.11]
                messageid:  [68] callid:  [<a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:56-6888@192.168.2.11">56-6888@192.168.2.11</a>]
                callsequence: [2]<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:uri:has_totag: no totag<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                xlog_initialregister<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:core:comp_scriptvar: str 20 : 192.168.2.11<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:tm:t_newtran: transaction on
                entrance=0xffffffffffffffff<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:core:parse_headers: flags=ffffffffffffffff<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:core:get_hdr_field: content_length=0<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:core:get_hdr_field: found end of header<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:core:parse_headers: flags=78<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:tm:t_lookup_request: start searching: hash=35746,
                isACK=0<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:tm:matching_3261: RFC3261 transaction matching
                failed<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:tm:t_lookup_request: no transaction found<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:tm:run_reqin_callbacks: trans=0x7fcda4739918,
                callback type 1, id 1 entered<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:tm:run_reqin_callbacks: trans=0x7fcda4739918,
                callback type 1, id 0 entered<br>
                Oct  3 10:01:35 ubuntu
                /usr/local/opensips/sbin/opensips[8938]:
                DBG:core:check_ip_address: params 192.168.2.11,
                192.168.2.11, 0<br>
                <br>
              </div>
            </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
        </blockquote>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>