unfortunately, I have these distributed over multiple files. However, the way I 
set it up looks something like these blocks:

```
.
.
.
#!ifdef A
    group_name.a = A
#!else
    group_name.a = 0
#!endif
.
.
.
```

the variable used first in the file (`a` in this case) ends up being the last 
variable in the cfg block. Hence, that's the one that gets corrupted. 

This doesn't happen always. We might have hit an edge case where this is 
happening so it might be hard for you to duplicate it. 

To set these variables later, I just use:

```
kamctl kamcmd cfg.set group_name a 1
```

It is usually during these set operations that the value gets corrupted. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1583#issuecomment-403908179
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to