### Description

When an ID is defined using `!#defexps` it cannot be used in modparam

### Troubleshooting

```
#!define TEST1 "key=s:value"
## this works
modparam("pv", "varset", TEST1)

# in shell: export TEST2='key=s:value'
#!defenvs TEST2
modparam("pv", "varset", TEST2)

# this does not work
#!defexps TEST3  "key=s:value"
modparam("pv", "varset", TEST3)

0(2437437) CRITICAL: <core> [core/cfg.y:3900]: yyerror_at(): parse error in 
config file kamailio.cfg, line 85, column 26-32: syntax error


```


#### Reproduction

* in config file, define ID with `#!defexps` then use in `modparam()`

#### Debugging Data




-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3631
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to