(no subject)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

(no subject)

jehanzaibkiani
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Thanks,

Jehanzaib
Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Bogdan-Andrei Iancu-2
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users