[sr-dev] about dp_translate()

Juha Heinanen jh at tutpro.com
Mon Mar 29 18:12:24 CEST 2010


currently, dialplan module dp_translate() function requires src/dest
style second parameter even in cases where a dialplan id consists of
rules where subst_exp and repl_exp are missing, i.e., when
dp_translate() is only used for matching and possibly setting of attrs
avp.

how about if i try to change the syntax of second param to be

src[/dst]

if /dst is missing then no replacement is done?

-- juha



More information about the sr-dev mailing list