[Kamailio-Users] dialog problem
Alex Balashov
abalashov at evaristesys.com
Sat Apr 18 01:20:13 CEST 2009
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 at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775
More information about the Users
mailing list