Hi

I am wondering, if a profile with value can on the same time be used as
profile without value of this usages exclude each other.

Like doing:

set_dlg_profile("caller");
set_dlg_profile("caller","$si");

get_profile_size("caller","$var(c_total)");
get_profile_size("caller","$si","$var(c_ip)");

xlog("L_INFO", "$cfg(route): Total Caller: $var(c_total)\n");
xlog("L_INFO", "$cfg(route): Caller from $si: $var(c_ip)\n");

I fear this is not possible, as I keep getting:

w_set_dlg_profile_helper(): invalid value parameter
and
w_get_profile_size_helper(): invalid value parameter

right?

Mit freundlichen Grüssen

-Benoît Panizzon-
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to