I can't reproduce, using master branch, but should be the same code. I tried 
with the default config adding at the top of request_route:

```
                xlog("=====+++ cfg var: $sel(cfg_get.wurst.wasser)\n");
                $var(cw) = $sel(cfg_get.wurst.wasser);
                xlog("=====+++ var: $var(cw)\n");
```

The definition was like in your example:

```
wurst.wasser = "mic check 123" desc "bla"
```

The logs were:

```
 1(41976) DEBUG: <core> [core/select.c:412]: run_select(): Calling SELECT 
0x1078e1230
 1(41976) ERROR: <script>: =====+++ cfg var: mic check 123
 1(41976) DEBUG: <core> [core/select.c:412]: run_select(): Calling SELECT 
0x1078e1230
 1(41976) ERROR: <script>: =====+++ var: mic check 123
```

Might be something specific to your config...

-- 
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/1159#issuecomment-311922129
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to