Hello,

thanks for testing and reporting -- I reviewed the previous patch and indeed the condition was made on wrong variable. Should be now fixed by a new commit. You can test again with a fresh master branch clone.

Cheers,
Daniel

On 09.11.21 13:03, Chaigneau, Nicolas wrote:

Hello,

 

 

The issue is fixed after reverting this commit.

 

 

Regards,

Nicolas.

 

De : Daniel-Constantin Mierla <miconda@gmail.com>
Envoyé : mardi 9 novembre 2021 11:41

Hello,

there was a recent change trying to catch the case when setting the variable to a null string (it was reported to bug tracker as a side effect of operations done by other module, maybe lost?!?):

  * https://github.com/kamailio/kamailio/commit/6eb67eaa4fc27d1eb7da7b2b674ffe8e7f86ecbc

Can you try to revert and see if it fixes? Right now I don't have the time to test.

Cheers,
Daniel

On 09.11.21 10:10, Chaigneau, Nicolas wrote:

Hello,

 

 

I’ve just built Kamailio from the master.

 

Assigning a value to a « var » doesn’t seem to work anymore…

This works with Kamailio 5.5.2.

 

E.g. :

 

$var(my_var) = "hello";

xlog("L_WARN", "var(my_var): $var(my_var)\n");

 

# => This shows value 0.

 

 

 

 

 

Regards,

Nicolas.

 

 
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Feb 21-24, 2022 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/