[SR-Users] segfault kamailio 3.01 avp_copy flag g
Daniel-Constantin Mierla
miconda at gmail.com
Thu May 6 22:20:04 CEST 2010
On 5/6/10 10:13 PM, Daniel-Constantin Mierla wrote:
>
> On 5/6/10 10:12 PM, Jon Bonilla (Manwe) wrote:
>> El Thu, 06 May 2010 21:15:38 +0200
>> Daniel-Constantin Mierla<miconda at gmail.com> escribió:
>>
>>> Hello,
>>>
>>> hopefully was a easy one, please fetch latest git and try again. Let me
>>> know if is fixed.
>>>
>>>
>> worked.
>>
>> BTW, is there a preferred way to do this in kamailio 3?
>>
>> $avp(s:caller_block_out_list) = $avp(s:block_out_list);
>>
>> or
>>
>> avp_copy("$avp(s:block_out_list)", "$avp(s:caller_block_out_list)/gd");
>>
> do you have only one value for that avp or many? If only one, then
> assignment is more actual. Lot of stuff from avpops is obsoleted by
> script operations, a reason avpops has not been much under focus lately.
completing a bit - no much work on avpops is a result of avps being just
a sub-class of script variables. when avpops was created, it was
practically no script variables, avps+avpops being the only way to do
kind of variable-like operations.
Now there are many script variables, so the script language offer
mechanisms for dealing with.
Cheers,
Daniel
--
Daniel-Constantin Mierla
* http://www.asipto.com/
More information about the sr-users
mailing list