Hi Jehanzaib,
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).
Regards,
Bogdan
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
http://opensips.org/training/OpenSIPS_Bootcamp_2018/
On 11/04/2018 11:55 PM, J E H A N Z A I B wrote:
Hi team,
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?
here is the dialog config.
loadmodule "dialog.so"
modparam("dialog", "enable_stats", 1)
modparam("dialog", "cachedb_url", "redis:mysip://mysipx.xx.xx:xxxx/")
This is how I check my profile size.
create_dialog();
set_dlg_profile("myuniqprof","$avp(myprofile_id)");
get_profile_size("myuniqprof","$avp(myprofile_id)","$var(current_profile_size)");
Please note I am using version: opensips 1.11.3-notls
--
Regards,
Jehanzaib
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users