This is a bug in 1.5.0. It is in the process of
being patched.
Jinsong Hu wrote:
Hi,
I am trying to use get_profile_size in the dialog module. but copy
and paste from the kamailio 1.5.0 module
http://kamailio.org/docs/modules/1.5.x/dialog.html#id2531307
get_profile_size("caller","$fu");
xlog("currently, the user %fu has $avp(size) active outgoing calls\n");
doesn't work at all. then finally decide to use pv.so and got
following setting:
modparam("dialog", "dlg_flag", 4)
modparam("pv", "varset", "size=i:44")
get_profile_size("caller","$fu", "$shv(size)");
but even this doesn't work either:
Apr 17 22:56:33 sip1m01 /usr/sbin/kamailio[7201]:
ERROR:core:fix_actions: fixing failed (code=-6) at cfg line 373
Apr 17 22:56:33 sip1m01 /usr/sbin/kamailio[7201]: ERROR:core:main:
failed to fix configuration with err code -6
can anybody tell me how to call this properly ?
Jinsong
------------------------------------------------------------------------
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users