[OpenSER-Devel] [ openser-Patches-1775285 ] Add new assignment operator (:=) to config script

Daniel-Constantin Mierla daniel at voice-system.ro
Fri Aug 24 10:06:02 CEST 2007


Hello,

On 08/24/07 10:56, Alex Hermann wrote:
> On Thursday 23 August 2007 10:43, SourceForge.net wrote:
>   
>> I applied the patch with some changes:
>> - all existing avps with same name are deleted, and therefore, after this
>> assignment there will be only one. It looks to me less exposed to
>> confusions for admins. Let me know if that is fine with you
>>     
> This was the intent of the patch. I thought it already did this. What did you 
> change?
>   
you destroyed only the first avp in list before adding a new one, I 
changed to destroy all avps with same name and then add the new avp (a 
parameter value fo destroyavps() changed from 0 to 1).

Cheers,
Daniel

>   
>> - in addition, :=null is same as delete all avps with that name
>>     
> Ok.
>   



More information about the Devel mailing list