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:$f...@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

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to