[SR-Users] $var assignment broken on master ?
nicolas.chaigneau at capgemini.com
Tue Nov 9 19:41:36 CET 2021
Current master works fine for me now.
Thanks for the fix!
De : Daniel-Constantin Mierla <miconda at gmail.com>
Envoyé : mardi 9 novembre 2021 19:10
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.
On 09.11.21 13:03, Chaigneau, Nicolas wrote:
The issue is fixed after reverting this commit.
De : Daniel-Constantin Mierla <miconda at gmail.com><mailto:miconda at gmail.com>
Envoyé : mardi 9 novembre 2021 11:41
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?!?):
Can you try to revert and see if it fixes? Right now I don't have the time to test.
On 09.11.21 10:10, Chaigneau, Nicolas wrote:
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.
$var(my_var) = "hello";
xlog("L_WARN", "var(my_var): $var(my_var)\n");
# => This shows value 0.
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<http://www.asipto.com>
www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Feb 21-24, 2022 (America Timezone)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users