<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Jehanzaib,<br>
      <br>
      For a profile to be shared via a noSQL db it must have the '/s'
      marker at the end (when you define it and when you use it).<br>
      <br>
      Regards,<br>
      Bogdan<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/04/2018 11:55 PM, J E H A N Z A I
      B wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKrJzCyuAxYWTNroD6kvpKLcVZ1g6vrLpmXodUs0Hn6t2ocjOw@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div>Hi team,</div>
                    <div><br>
                    </div>
                    <div>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><br>
                    </div>
                    <div>here is the dialog config.</div>
                    <div><br>
                    </div>
                    <div>loadmodule "dialog.so"<br>
                      modparam("dialog", "enable_stats", 1) </div>
                    <div>modparam("dialog", "cachedb_url",
                      "redis:mysip://mysipx.xx.xx:xxxx/")</div>
                    <div><br>
                    </div>
                    <div>This is how I check my profile size.<br>
                    </div>
                    <div>        create_dialog();<br>
                             
                      set_dlg_profile("myuniqprof","$avp(myprofile_id)");<br>
                    </div>
                    <div>        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><br>
                    </div>
                    <div>Please note I am using version: opensips
                      1.11.3-notls<br>
                      <br>
                    </div>
                    <div><br>
                    </div>
                    <div><br clear="all">
                    </div>
                    <br>
                    -- <br>
                    <div class="gmail_signature" dir="ltr">
                      <div>Regards,</div>
                      <div>Jehanzaib</div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </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>