<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">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">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_-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">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-bin/mailman/listinfo/users</a><br>
</blockquote></div>