On Sun, Oct 27, 2013 at 4:08 PM, Juha Heinanen <jh@tutpro.com> wrote:
mayamatakeshi writes:

> failure_route[1] {
>         $ru = "sip:0313241342@192.168.2.2"
>         append_branch();
>         t_relay();
> }
>
> However, the INVITE is sent to both the subscriber location and the new
> branch.
> So, is it now necessary to somehow to "drop" the original branch?
> If so, how do I do that?

try leaving append_branch() out.


Thanks. That didn't work: the INVITE was sent only to the original branch (subscriber location).
But it helps with this:

failure_route[1] {
        $ru = "sip:0313241342@192.168.2.2:5060"
        $du = "sip:" + $rd + ":" + $rp;
        t_relay();
}

So, use the same branch that failed and just change the destination uri.
That worked.

Regards,
Takeshi