[SR-Users] $var assignment broken on master ?

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 9 11:41:11 CET 2021


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.
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211109/bfee5bb9/attachment.htm>


More information about the sr-users mailing list