<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Sasmita,<br>
      <br>
      Sharing the contacts themselves is not really enough - as you have
      WS endpoints, they use TCP connections, which can be initiated by
      end-point only (the registrar cannot). So if an endpoint registers
      with R1 server and, sharing the contacts, the R2 server tries to
      deliver a call to the endpoint, it will not be able to do it as
      the WS connection is with R1. So R2 should create a new
      connection, but with WS the endpoint is not listening for new
      connections - this is the error you get: OpenSIPS (as R2) failing
      to open an R2 connection to the endpoint.<br>
      <br>
      Best 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>

OpenSIPS Summit May 2017 Amsterdam
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
    <div class="moz-cite-prefix">On 04/17/2017 09:43 AM, Sasmita Panda
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALf-Q46Y_ktCRBFFrh9BBySEZsMOMZ8NBhbS+AtPZvX_bBON_Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">Please help me in this . I am in middle of
        something and not getting in solution for this . Any kind of
        suggestion is welcome .
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Thanks </div>
        <div>Sasmita</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 Fri, Apr 14, 2017 at 4:28 PM,
          Sasmita Panda <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">When I am using TCP for both UAS and UAC ,
              db_mode 3 is working fine . Call getting connected .
              <div><br>
              </div>
              <div>When I am using TCP for UAC and UAS is sipml5 which
                is wss over tcp . In this case it giving 477 Send fail .
                What must be the cause . How will I solve this problem .</div>
            </div>
            <div class="gmail_extra"><span class=""><br clear="all">
                <div>
                  <div class="m_6559308794783819571gmail_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>
              </span>
              <div>
                <div class="h5">
                  <div class="gmail_quote">On Fri, Apr 14, 2017 at 2:54
                    PM, Sasmita Panda <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:spanda@3clogic.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:spanda@3clogic.com">spanda@3clogic.com</a></a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">Below is the error I am getting .
                        <div><br>
                        </div>
                        <div>
                          <div><a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd
                            buffer of 416 kb</div>
                          <div> <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a><wbr>: TCP
                            keepalive enabled on socket 26</div>
                          <div> ERROR:core:tcp_connect_blocki<wbr>ng:
                            timeout 99386 ms elapsed from 100000 s</div>
                          <div> ERROR:proto_<a class="moz-txt-link-freetext" href="ws:ws_sync_connec">ws:ws_sync_connec</a><wbr>t:
                            tcp_blocking_connect failed</div>
                          <div> ERROR:proto_<a class="moz-txt-link-freetext" href="ws:ws_connect">ws:ws_connect</a>: connect
                            failed</div>
                          <div> ERROR:proto_<a class="moz-txt-link-freetext" href="ws:proto_ws_send">ws:proto_ws_send</a>: connect
                            failed</div>
                          <div> ERROR:tm:msg_send: send() for proto 5
                            failed</div>
                          <div> ERROR:tm:t_forward_nonack: sending
                            request failed</div>
                        </div>
                      </div>
                      <div class="gmail_extra"><span><br clear="all">
                          <div>
                            <div
                              class="m_6559308794783819571m_-7482552793423107225gmail_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>
                        </span>
                        <div>
                          <div class="m_6559308794783819571h5">
                            <div class="gmail_quote">On Fri, Apr 14,
                              2017 at 2:44 PM, Sasmita Panda <span
                                dir="ltr"><<a moz-do-not-send="true"
                                  href="mailto:spanda@3clogic.com"
                                  target="_blank">spanda@3clogic.com</a>></span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                <div dir="ltr">Hi All ,
                                  <div><br>
                                  </div>
                                  <div>     I am using opensips-2.2 . I
                                    wanted to deploy atleast 2 server
                                    sharing same DB which is in a
                                    another box . </div>
                                  <div><br>
                                  </div>
                                  <div>      In this case we need to use
                                    db_mode:3 . But I am getting 477
                                    send fail .</div>
                                  <div><br>
                                  </div>
                                  <div>      Even if I have a single
                                    server with its own database , and I
                                    am running in db_mode 3 , its giving
                                    me the same error . It seems like I
                                    am missing something .</div>
                                  <div><br>
                                  </div>
                                  <div>     I had attached my .cfg file
                                    . Please have a look and let me know
                                    if I am missing anything .</div>
                                  <div>      </div>
                                  <div>
                                    <div>
                                      <div
class="m_6559308794783819571m_-7482552793423107225m_-1453729555419448564gmail_signature"
                                        data-smartmail="gmail_signature">
                                        <div dir="ltr"><b><i>Thanks
                                              & Regards</i></b><span
class="m_6559308794783819571m_-7482552793423107225HOEnZb"><font
                                              color="#888888">
                                              <div><i>Sasmita Panda</i></div>
                                              <div><i>Network Testing
                                                  and Software Engineer</i></div>
                                              <div><i>3CLogic ,
                                                  ph:07827611765</i></div>
                                            </font></span></div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>