<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, Sasmita!<br>
      <br>
      Did you follow the WS tutorial[1]? You need to use the
      fix_nated_register(); function for REGISTER messages, to overwrite
      the contact with the IP&port</tt><tt> the message was received
      from.</tt><br>
    <tt>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <br>
      [1] <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2">http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2</a><br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 02/13/2017 03:15 PM, Sasmita Panda
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALf-Q45MkizhWV=aWA8Aja0HMC=jwqFnFTAC4VJa5KpM4Z1frQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">I think path is not getting saved in the location
        table in oepnsips-2.2 but its getting saved in opensips-1.11  . 
        <div><br>
        </div>
        <div>Is there any difference saving path in the location table
          on case of opensips-2.2 . If yes then what ?</div>
        <div><br>
        </div>
        <div><br>
        </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 Mon, Feb 13, 2017 at 1:00 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>      The wss authentication is working now . Thank
                you for your suggestion  . </div>
              <div><br>
              </div>
              <div>     But now I am facing another issue . When I am
                registering a number from SIPML5 in contact the hostname
                is somehow  "df7jal23ls0d.invalid"  like this . And when
                I am dialing that number opensips is giving error . I am
                getting "476  Unresolvable hostname ". Bellow is the
                error in opensips logs . What should I do for this . 
                This is coming with version: opensips 2.2.2
                (x86_64/linux) .</div>
              <div><br>
              </div>
              <div>
                <div>ERROR:core:do_action: next_branches failed</div>
                <div>ERROR:core:sip_resolvehost: forced proto 6 not
                  matching sips uri</div>
                <div>CRITICAL:core:mk_proxy: could not resolve hostname:
                  "df7jal23ls0d.invalid"</div>
              </div>
              <div>ERROR:tm:uri2proxy: bad host name in URI<br>
              </div>
              <div><br>
              </div>
              <div>    </div>
              <div>        There is another setup of mine ,
                opensips-1.11 with ovesip for wss gateway . that was
                working fine . rather the hostname in that case is also
                the same but there is no such problem . </div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>      Is this a known issue or I need to set any
                parameter for this . If yes then what . My usrloc module
                looks like bellow .</div>
              <div>
                <div>loadmodule "usrloc.so"</div>
              </div>
              <div>
                <div>modparam("usrloc", "db_mode", 2)</div>
                <div>modparam("usrloc", "use_domain", 1)</div>
                <div>modparam("usrloc", "matching_mode", 1)</div>
              </div>
              <div><br>
              </div>
              <div>     I have tried with other options also . But yet
                its not working . Still I am trying . If anybody can
                help me with this then It will be helpful .</div>
              <div><br>
              </div>
              <div>Thanks </div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>   </div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div><br>
              </div>
            </div>
            <div class="gmail_extra"><span class=""><br clear="all">
                <div>
                  <div class="m_-2537272874133733371gmail_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, Feb 10, 2017 at 7:04
                    PM, Tito Cumpen <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:tito@xsvoce.com" target="_blank">tito@xsvoce.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">Sasmita,
                        <div><br>
                        </div>
                        <div>I am using the following which works well
                          with sipml5 and sipjs</div>
                        <div>
                          <div> loadmodule "proto_wss.so"</div>
                          <div>  modparam("proto_wss",
                            "wss_max_msg_chunks", 8)</div>
                          <div>   modparam("tls_mgm",
                            "certificate","/etc/opensips/t<wbr>ls/domain.com.crt")</div>
                          <div>   modparam("tls_mgm",
                            "private_key","/etc/opensips/t<wbr>ls/domain.com.key")</div>
                          <div>  modparam("tls_mgm", "ca_list",
                            "/etc/opensips/tls/<a moz-do-not-send="true"
                              href="http://domain.com" target="_blank">domain.com</a>.<wbr>pem")</div>
                          <div>  </div>
                          <div>  modparam("tls_mgm", "tls_method",
                            "tlsv1")</div>
                          <div>  modparam("tls_mgm", "verify_cert", "0")</div>
                          <div>  modparam("tls_mgm", "require_cert",
                            "0")</div>
                        </div>
                      </div>
                      <div class="m_-2537272874133733371HOEnZb">
                        <div class="m_-2537272874133733371h5">
                          <div class="gmail_extra"><br>
                            <div class="gmail_quote">On Thu, Feb 9, 2017
                              at 5:37 AM, 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 running opensips-2.2
                                    with , tls_mgm , proto_tls ,
                                    proto_wss . </div>
                                  <div>my config look like bellow .</div>
                                  <div><br>
                                  </div>
                                  <div>
                                    <div><br>
                                    </div>
                                    <div>
                                      <div>listen=udp:x.x.x.x.:5507</div>
                                      <div>listen=tcp:x.x.x.x:5060</div>
                                      <div>listen=tls:x.x.x.x:5061</div>
                                      <div>listen=<a class="moz-txt-link-freetext" href="wss:x.x.x.x:5062">wss:x.x.x.x:5062</a></div>
                                      <div>listen=<a class="moz-txt-link-freetext" href="ws:x.x.x.x:5063">ws:x.x.x.x:5063</a></div>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>alias="<a
                                        moz-do-not-send="true"
                                        href="http://domain.com"
                                        target="_blank">domain.com</a>"</div>
                                    <div>alias="<a
                                        moz-do-not-send="true"
                                        href="http://domain.com:5507"
                                        target="_blank">domain.com:5507</a>"</div>
                                    <div>alias="<a
                                        moz-do-not-send="true"
                                        href="http://domain.com:5061"
                                        target="_blank">domain.com:5061</a>"</div>
                                    <div>alias="<a
                                        moz-do-not-send="true"
                                        href="http://domain.com:5061"
                                        target="_blank">domain.com:5061</a>"</div>
                                    <div>alias="<a
                                        moz-do-not-send="true"
                                        href="http://domain.com:5062"
                                        target="_blank">domain.com:5062</a>"</div>
                                    <div><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>#### WebSocket and
                                      WebSocketSecure protocol</div>
                                    <div>loadmodule "proto_tls.so"<br>
                                    </div>
                                    <div>loadmodule "proto_wss.so"</div>
                                    <div>loadmodule "proto_ws.so"</div>
                                    <div><br>
                                    </div>
                                    <div># Certificate management</div>
                                    <div>loadmodule "tls_mgm.so"</div>
                                    <div><br>
                                    </div>
                                    <div>modparam("tls_mgm",
                                      "tls_method", "TLSv1")</div>
                                    <div>modparam("tls_mgm",
                                      "certificate",
                                      "/usr/local/etc/opensips/tls/u<wbr>ser/user-cert.pem")</div>
                                    <div>modparam("tls_mgm",
                                      "private_key",
                                      "/usr/local/etc/opensips/tls/u<wbr>ser/user-privkey.pem")</div>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>        When I am making tls
                                    connection with  " <a
                                      moz-do-not-send="true"
                                      href="http://domain.com:5061"
                                      target="_blank">domain.com:5061</a>
                                    " , then the connection is get
                                    established .</div>
                                  <div><br>
                                  </div>
                                  <div>But from sipml5 phone when I am
                                    making wss connection in browser i
                                    am getting error </div>
                                  <div> " failed: Error in connection
                                    establishment:
                                    net::ERR_INSECURE_RESPONSE "<br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>      In opensips side I am not
                                    getting any error . What should I do
                                    to resolve the problem .Please help
                                    me . I have tried every possible way
                                    . </div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>Thanks </div>
                                  <span
                                    class="m_-2537272874133733371m_-97434891044401116HOEnZb"><font
                                      color="#888888">
                                      <div>Sasmita </div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                    </font></span></div>
                                <div class="gmail_extra"><span><br
                                      clear="all">
                                    <div>
                                      <div
class="m_-2537272874133733371m_-97434891044401116m_725492127920500107gmail_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_-2537272874133733371m_-97434891044401116h5">
                                      <div class="gmail_quote">On Tue,
                                        Feb 7, 2017 at 2:34 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">Thank you so
                                            much .</div>
                                          <div class="gmail_extra"><span><br
                                                clear="all">
                                              <div>
                                                <div
class="m_-2537272874133733371m_-97434891044401116m_725492127920500107m_295904660818497691gmail_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_-2537272874133733371m_-97434891044401116m_725492127920500107h5">
                                                <div class="gmail_quote">On
                                                  Tue, Feb 7, 2017 at
                                                  2:30 PM, Răzvan
                                                  Crainea <span
                                                    dir="ltr"><<a
                                                      moz-do-not-send="true"
href="mailto:razvan@opensips.org" target="_blank">razvan@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>
                                                        Yes, both
                                                        proto_ws,
                                                        proto_wss and
                                                        rtpengine
                                                        modules are
                                                        mature enough
                                                        and are ready to
                                                        use.<br>
                                                        <br>
                                                        Best regards,<br>
                                                      </tt>
                                                      <pre class="m_-2537272874133733371m_-97434891044401116m_725492127920500107m_295904660818497691m_5931716180448031999moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="m_-2537272874133733371m_-97434891044401116m_725492127920500107m_295904660818497691m_5931716180448031999moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
                                                      <div>
                                                        <div
class="m_-2537272874133733371m_-97434891044401116m_725492127920500107m_295904660818497691h5">
                                                          <div
class="m_-2537272874133733371m_-97434891044401116m_725492127920500107m_295904660818497691m_5931716180448031999moz-cite-prefix">On
                                                          02/07/2017
                                                          10:47 AM,
                                                          Sasmita Panda
                                                          wrote:<br>
                                                          </div>
                                                        </div>
                                                      </div>
                                                      <blockquote
                                                        type="cite">
                                                        <div>
                                                          <div
class="m_-2537272874133733371m_-97434891044401116m_725492127920500107m_295904660818497691h5">
                                                          <div dir="ltr">Hi
                                                          All ,
                                                          <div><br>
                                                          </div>
                                                          <div>       I
                                                          am quite
                                                          intrested to
                                                          use
                                                          opensips-2.2
                                                          with rtpengine
                                                          . Is this
                                                          working good
                                                          or there is
                                                          any open issue
                                                          till now with
                                                          this module .</div>
                                                          <div><br>
                                                          </div>
                                                          <div>      And
                                                          what about
                                                          proto_ws and
                                                          proto_wss .
                                                          Are these
                                                          modules
                                                          working fine ?
                                                          Please let me
                                                          know if any
                                                          precausion I
                                                          need to take
                                                          before using
                                                          this .</div>
                                                          <div><br>
                                                          </div>
                                                          <div>     Till
                                                          now I was
                                                          using
                                                          opensips-1.11
                                                          .  So this
                                                          will be very
                                                          new for me .
                                                          Please let me
                                                          know if there
                                                          is any open
                                                          issue or any
                                                          link on which
                                                          I will get the
                                                          details .</div>
                                                          <div><br>
                                                          </div>
                                                          <div><br
                                                          clear="all">
                                                          <div>
                                                          <div
class="m_-2537272874133733371m_-97434891044401116m_725492127920500107m_295904660818497691m_5931716180448031999gmail_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>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          <fieldset
class="m_-2537272874133733371m_-97434891044401116m_725492127920500107m_295904660818497691m_5931716180448031999mimeAttachmentHeader"></fieldset>
                                                          <br>
                                                          </div>
                                                        </div>
                                                        <pre>______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true" class="m_-2537272874133733371m_-97434891044401116m_725492127920500107m_295904660818497691m_5931716180448031999moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="m_-2537272874133733371m_-97434891044401116m_725492127920500107m_295904660818497691m_5931716180448031999moz-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>
    

  </div>


______________________________<wbr>_________________

Users mailing list

<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>

<a moz-do-not-send="true" 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>


</blockquote></div>
</div></div></div>
</blockquote></div>
</div></div></div>

______________________________<wbr>_________________

Users mailing list

<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>

<a moz-do-not-send="true" 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>


</blockquote></div>
</div>
</div></div>
______________________________<wbr>_________________

Users mailing list

<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>

<a moz-do-not-send="true" 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>


</blockquote></div>
</div></div></div>
</blockquote></div>
</div>


<fieldset class="mimeAttachmentHeader"></fieldset>
<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>
</body></html>