<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Jehanzaib,<br>
      <br>
      Again, use the /s marker - see
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.4.x/dialog.html#param_profiles_with_value">http://www.opensips.org/html/docs/modules/2.4.x/dialog.html#param_profiles_with_value</a>
      .<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>
OpenSIPS Bootcamp 2018
  <a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
    <div class="moz-cite-prefix">On 11/06/2018 01:11 AM, J E H A N Z A I
      B wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKrJzCwtx1VPbTdW4zSBQhV8JyTt4ff-VOAqhEq5doBrMtSJeg@mail.gmail.com">
      <div dir="ltr">
        <div>Hi there,</div>
        <div><br>
        </div>
        <div>I am not sure why the dialog stats will not  be shared. If
          all records are going to redis then I have a redis cluster
          which synchs the cache. </div>
        <div>When I fetch the profile size it should be same (if it is
          being fetched from the redis) across all the opensips node. I
          am bit sceptical to upgrade without knowing what's happening. <br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Tue, Nov 6, 2018 at 4:53 AM SamyGo <<a
            href="mailto:govoiper@gmail.com" moz-do-not-send="true">govoiper@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">
            <div dir="ltr">I have a strong feeling that you're using an
              old version of opensips to expect it to share dialog
              states/profiles. I think you'll need to use newer opensips
              2.4+ having dialog sharing capability using proto_bin and
              clusterer module:
              <div><a
href="http://www.opensips.org/html/docs/modules/2.4.x/dialog.html#param_profile_replication_cluster"
                  target="_blank" moz-do-not-send="true">http://www.opensips.org/html/docs/modules/2.4.x/dialog.html#param_profile_replication_cluster</a><br>
              </div>
              <div><br>
              </div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr">On Mon, Nov 5, 2018 at 5:30 AM J E H A N Z A
              I B <<a href="mailto:jehanzaib.kiani@gmail.com"
                target="_blank" moz-do-not-send="true">jehanzaib.kiani@gmail.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <div dir="ltr">
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent">Hi
                    team,</div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent"><br
                      style="font:400 13.33px/19.99px
                      Arial,Helvetica,sans-serif;outline:transparent
                      0px;overflow:visible;font-size-adjust:none;font-stretch:100%">
                  </div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent">I
                    used redis cache for dialog storage. I have 2
                    different servers both are sharing the same redis.
                    Is the profile size shared in this case?</div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent"><br
                      style="font:400 13.33px/19.99px
                      Arial,Helvetica,sans-serif;outline:transparent
                      0px;overflow:visible;font-size-adjust:none;font-stretch:100%">
                  </div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent">here
                    is the dialog config.</div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent"><br
                      style="font:400 13.33px/19.99px
                      Arial,Helvetica,sans-serif;outline:transparent
                      0px;overflow:visible;font-size-adjust:none;font-stretch:100%">
                  </div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent">loadmodule
                    "dialog.so"<br style="font:400 13.33px/19.99px
                      Arial,Helvetica,sans-serif;outline:transparent
                      0px;overflow:visible;font-size-adjust:none;font-stretch:100%">
                    modparam("dialog", "enable_stats", 1) </div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent">modparam("dialog",
                    "cachedb_url", "redis:mysip://mysipx.xx.xx:xxxx/")</div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent"><br
                      style="font:400 13.33px/19.99px
                      Arial,Helvetica,sans-serif;outline:transparent
                      0px;overflow:visible;font-size-adjust:none;font-stretch:100%">
                  </div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent">This
                    is how I check my profile size.<br style="font:400
                      13.33px/19.99px
                      Arial,Helvetica,sans-serif;outline:transparent
                      0px;overflow:visible;font-size-adjust:none;font-stretch:100%">
                  </div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent">       
                    create_dialog();<br style="font:400 13.33px/19.99px
                      Arial,Helvetica,sans-serif;outline:transparent
                      0px;overflow:visible;font-size-adjust:none;font-stretch:100%">
                           
                    set_dlg_profile("myuniqprof","$avp(myprofile_id)");<br
                      style="font:400 13.33px/19.99px
                      Arial,Helvetica,sans-serif;outline:transparent
                      0px;overflow:visible;font-size-adjust:none;font-stretch:100%">
                  </div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent">       
                    get_profile_size("<span style="font:400
                      13.33px/19.99px
Arial,Helvetica,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:100%;float:none;background-color:transparent">myuniqprof</span>","$avp(<span
                      style="font:400 13.33px/19.99px
Arial,Helvetica,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:100%;float:none;background-color:transparent">myprofile_id</span>)","$var(current_profile_size)");</div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent"><br
                      style="font:400 13.33px/19.99px
                      Arial,Helvetica,sans-serif;outline:transparent
                      0px;overflow:visible;font-size-adjust:none;font-stretch:100%">
                  </div>
                  <div style="font:400 13.33px/19.99px
                    Arial,Helvetica,sans-serif;outline:transparent
0px;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;overflow:visible;text-decoration:none;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:100%;background-color:transparent">Please
                    note I am using version: opensips 1.11.3-notls</div>
                  <br clear="all">
                  <br>
                  -- <br>
                  <div
                    class="m_-7478744542531662348m_-4721841067767085652gmail_signature"
                    dir="ltr">
                    <div>Regards,</div>
                    <div>Jehanzaib</div>
                  </div>
                </div>
              </div>
              _______________________________________________<br>
              Users mailing list<br>
              <a href="mailto:Users@lists.opensips.org" target="_blank"
                moz-do-not-send="true">Users@lists.opensips.org</a><br>
              <a
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
            </blockquote>
          </div>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org" target="_blank"
            moz-do-not-send="true">Users@lists.opensips.org</a><br>
          <a
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <br>
      -- <br>
      <div dir="ltr" class="gmail_signature"
        data-smartmail="gmail_signature">
        <div>Regards,</div>
        <div>Jehanzaib</div>
      </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>