[Kamailio-Users] dialog problem

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 20 11:53:43 CEST 2009


Here is again the patch attached. Try it and let me know if works. I 
will commit it on 1.5 branch once I get another report that is working 
(I did my tests...).

Thanks,
Daniel

On 04/18/2009 01:20 AM, Alex Balashov wrote:
> 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
>>     
>
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dialog-profile2.patch
Type: text/x-patch
Size: 3844 bytes
Desc: not available
Url : http://lists.kamailio.org/pipermail/users/attachments/20090420/76d28080/attachment.bin 


More information about the Users mailing list