I tested with the master, but should be no change on these components
from 6.1, and all looks ok:

    $avp(x) = "alfa";
    xlog("=== $cfg(route): 1 avp x: $avp(x)\n");
    $sht(h1=>x) = "a";
    xlog("=== $cfg(route): 2 avp x: $avp(x)\n");

The output:

 1(2932823) ERROR: <script>: === DEFAULT_ROUTE: 1 avp x: alfa
 1(2932823) ERROR: <script>: === DEFAULT_ROUTE: 2 avp x: alfa

Try to run with debug=3 and see if other hints are printed in the log.

Cheers,
Daniel

On 22.05.26 19:22, Alex Balashov via sr-users wrote:
> Does this happen even without the intervening $sht assignment?
>
>> On May 22, 2026, at 11:49 AM, Benoît Panizzon via sr-users 
>> <[email protected]> wrote:
>>
>> Hi Gang
>>
>> Just updated our dev plattform from 5.8 to 6.1
>>
>> Now I have $avp variables loosing their content.
>>
>>
>>                xlog("L_INFO", "$cfg(route): 4 DEST: $avp(destination_e164) 
>> \n");
>>                $sht(custprof=>$var(get_custprofileid)) = $var(xcustprof);
>>                xlog("L_INFO", "$cfg(route): 5 DEST: $avp(destination_e164) 
>> \n");
>>
>> 2026-05-22T15:43:25.346183+00:00 dev-core01 kamailio[7543]: INFO: [1 
>> 044400xxxx SDc1pa001-4e1ed786dd4928cd90b8b72f465d372a-tc8lgn3 10198 
>> INVITE]<script>: GET_CUST_PROFILE: 4 DEST: +41800800800 
>> 2026-05-22T15:43:25.346221+00:00 dev-core01 kamailio[7543]: INFO: [1 
>> 044400xxxx SDc1pa001-4e1ed786dd4928cd90b8b72f465d372a-tc8lgn3 10198 
>> INVITE]<script>: GET_CUST_PROFILE: 5 DEST: <null> 
>>
>> Did I perhaps miss something during upgrade?
>>
>> I consulted:
>> https://www.kamailio.org/wikidocs/install/upgrade/
>>
>> -- 
>> Mit freundlichen Grüssen
>>
>> -Benoît Panizzon- @ HomeOffice und normal erreichbar
>> -- 
>> I m p r o W a r e   A G    -    Leiter Commerce Kunden
>> ______________________________________________________
>>
>> Zurlindenstrasse 29             Tel  +41 61 826 93 00
>> CH-4133 Pratteln                Fax  +41 61 826 93 01
>> Schweiz                         Web  http://www.imp.ch
>> ______________________________________________________
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions -- 
>> [email protected]
>> To unsubscribe send an email to [email protected]
>> Important: keep the mailing list in the recipients, do not reply only to the 
>> sender!
> --
> Alex Balashov
> Principal Consultant
> Evariste Systems LLC
> Web: https://evaristesys.com, https://www.csrpswitch.com
> Tel: +1-706-510-6800
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions -- 
> [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!

-- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to