Hello,
I am considering to release Kamailio v5.7.3 (out of branch 5.7) soon
(likely on Friday 17 or during the beginning of next week). If anyone is
aware of issues not yet on the bug tracker, report them there asap in
order to have a better chance to be fixed.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - www.kamailioworld.com
### 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 …
[View More]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/3631(a)github.com>
[View Less]