|
@@ -509,7 +509,7 @@ int do_action(struct run_act_ctx* h, struct action* a, struct sip_msg* msg)
|
|
ret=append_branch(msg, &a->val[0].u.str, &msg->dst_uri,
|
|
ret=append_branch(msg, &a->val[0].u.str, &msg->dst_uri,
|
|
&msg->path_vec, a->val[1].u.number,
|
|
&msg->path_vec, a->val[1].u.number,
|
|
(flag_t)flags, msg->force_send_socket,
|
|
(flag_t)flags, msg->force_send_socket,
|
|
- 0, 0);
|
|
|
|
|
|
+ 0, 0, 0);
|
|
/* if the uri is the ruri and q was also not changed, mark
|
|
/* if the uri is the ruri and q was also not changed, mark
|
|
ruri as consumed, to avoid having an identical branch */
|
|
ruri as consumed, to avoid having an identical branch */
|
|
if ((a->val[0].u.str.s == 0 || a->val[0].u.str.len == 0) &&
|
|
if ((a->val[0].u.str.s == 0 || a->val[0].u.str.len == 0) &&
|