Does the same occur in a profile without values? It may be that the
wrappers were fixed up to mandate use of values in profiles that are
keyed by values. 

On Mon, Jul 15, 2019 at 05:45:06PM -0400, Nathan Angelacos wrote:

> 
> In kamailio < 5.1.x it used to be possible to get total number of items
> in a dialog_with_profile by skipping the "value" paramter, such as:
> 
> modparam ( "dialog", "profiles_with_value", "outbound" )
> .
> .
> .
> get_profile_size ( "outbound", "$var(myvar)" );
> 
> 
> However, 5.1.x and 5.2.x report:
> 
> ERROR: dialog [dialog.c:912]: w_get_profile_size_helper(): invalid
> value parameter
> 
> 
> The documentation (
> https://kamailio.org/docs/modules/5.2.x/modules/dialog.html#dialog.f.get_profile_size
> )
> 
> Indicates the "value" paramter is still optional.
> 
> I'm sure I must be missing something obvious... Any ideas?
> 
> 
> Thanks!
> 
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> [email protected]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to