[Kamailio-Users] dialog problem

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 20 12:37:44 CEST 2009


fyi: I committed the patch on svn 1.5 branch. You can do update from there.

Thanks,
Daniel

On 04/20/2009 11:53 AM, Daniel-Constantin Mierla wrote:
> 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
>>>     
>>
>>
>>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/





More information about the sr-users mailing list