Daniel-Constantin Mierla writes:
Dialplan can evaluate variables, is it a special case
you need to return
variables and then evaluate after dp_translate() again?
I made a test rule:
match_exp subst_exp repl_exp
^\#11\#$ (empty) $fu
and dp_translate(id) on sip:#11#@test.tutpro.com produced
sip:$fu@test.tutpro.com.
Same with or without
modparam("dialplan", "match_dynamic", 1)
Also, I would prefer to have a function to evaluate strings rather than
have a dp_translate specific feature.
-- Juha