[Kamailio-Users] dialog problem

Jinsong Hu jinsong_hu at hotmail.com
Sat Apr 18 01:18:00 CEST 2009


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090417/a3bd89a9/attachment.htm>


More information about the sr-users mailing list