On Nov 12, 2009 at 11:44, Juha Heinanen <jh(a)tutpro.com> wrote:
Andrei Pelinescu-Onciul writes:
I haven't thought that someone might use
do_action() w/ APPEND_BRANCH_T
instead of directly using append_branch().
andrei,
as i mentioned, i converted the do action thing to append_branch. i
still have in lcr module this:
memset(&act, '\0', sizeof(act));
act.type = SET_URI_T;
act.val[0].type = STRING_ST;
act.val[0].u.string = r_uri;
init_run_actions_ctx(&ra_ctx);
rval = do_action(&ra_ctx, &act, _m);
is there a similar high-level replacement for SET_URI_T do_action?
Yes, it's rewrite_uri(msg, str uri), but you don't need to change,
SET_URI_T hasn't been modified.
Andrei