[SR-Users] pseudo variables in strings
Juha Heinanen
jh at tutpro.com
Mon Apr 4 09:05:37 CEST 2016
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 at 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
More information about the sr-users
mailing list