<div dir="ltr"><div>[root@localhost opensips]# opensips -V</div><div><br></div><div>version: opensips 2.2.2 (x86_64/linux)</div><div>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</div><div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div><div>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</div><div>main.c compiled on 12:17:33 May 29 2017 with gcc 4.8.5</div><div><br></div><div><br></div><div><br></div><div> Do you want me to test after applying the patch ?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div>
<br><div class="gmail_quote">On Wed, Jul 5, 2017 at 3:13 PM, Liviu Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p><tt>Sasmita, could you please post the output of "opensips -V"? A
        similar bug on 2.2 has been discussed and fixed exactly one
        month ago [1]</tt></p>
    <p><tt>[1]: </tt><tt><a class="m_-4743913171445162555moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/af07e238" target="_blank">https://github.com/OpenSIPS/<wbr>opensips/commit/af07e238</a></tt></p><span class="HOEnZb"><font color="#888888">
    <pre class="m_-4743913171445162555moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="m_-4743913171445162555moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre></font></span><div><div class="h5">
    <div class="m_-4743913171445162555moz-cite-prefix">On 05.07.2017 08:27, Sasmita Panda
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Actually I am not saving data in memory . It in DB
        only mode . So I am seeing in database . I get 2 contacts of
        same Username, From same IP and Different Port .</div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="m_-4743913171445162555gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr"><b><i>Thanks & Regards</i></b>
              <div><i>Sasmita Panda</i></div>
              <div><i>Network Testing and Software Engineer</i></div>
              <div><i>3CLogic , ph:07827611765</i></div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Tue, Jul 4, 2017 at 10:17 PM,
          Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Sasmita,<br>
                <br>
                Have you checked via "opensipsctl ul show" to see that
                you actually have 2 registrations under the same AOR ??<br>
                <br>
                Best regards,<br>
              </tt>
              <pre class="m_-4743913171445162555m_5272598549699215262moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="m_-4743913171445162555m_5272598549699215262moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>

OpenSIPS Bootcamp 2017, Houston, US
  <a class="m_-4743913171445162555m_5272598549699215262moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html" target="_blank">http://opensips.org/training/O<wbr>penSIPS_Bootcamp_2017.html</a>
</pre>
              <div>
                <div class="m_-4743913171445162555h5">
                  <div class="m_-4743913171445162555m_5272598549699215262moz-cite-prefix">On
                    07/04/2017 04:03 PM, Sasmita Panda wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="m_-4743913171445162555h5">
                    <div dir="ltr">Hi All .
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>          While saving contact , I have
                        written save("location","c1fp1") . It means when
                        a new register comes that will get added and the
                        old contact will get de-reg in its expire time .
                        <div><br>
                        </div>
                        <div>         But , if 1 contact is existing ,
                          and another 2 register comes at the same time
                          with different contact(same Ip different port
                          ) and same Username then what will happen .</div>
                        <div><br>
                        </div>
                        <div>       According to my observation ,
                          opensips is saving both the new contacts . Is
                          that write . While I am forcing a single
                          contact this should not happen . </div>
                        <div><br>
                        </div>
                        <div>      Please assist me if I am doing
                          anything wrong .</div>
                        <div><br>
                        </div>
                        <div>
                          <div class="m_-4743913171445162555m_5272598549699215262gmail_signature">
                            <div dir="ltr"><b><i>Thanks & Regards</i></b>
                              <div><i>Sasmita Panda</i></div>
                              <div><i>Network Testing and Software
                                  Engineer</i></div>
                              <div><i>3CLogic , ph:07827611765</i></div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <br>
                    <fieldset class="m_-4743913171445162555m_5272598549699215262mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-4743913171445162555m_5272598549699215262moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-4743913171445162555m_5272598549699215262moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="m_-4743913171445162555mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-4743913171445162555moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-4743913171445162555moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>