In the config file:

#!define KEYVALUE "key=s:value"
modparam("pv", "varset", KEYVALUE)

works. But if I try to use defexp or defexps the ID KEYVALUE
is not set as expected and the parser complains.

## this doesn't parse

#!defexp KEYVALUE2 "key=s:value"
#!defexps KEYVALUE3 "key=s:value"

# both these lead to syntax error
modparam("pv", "varset", KEYVALUE2)
modparam("pv", "varset", KEYVALUE3)


Any ideas why defexp doesn't behave the same way here?

Shih-Ping
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to