[Kamailio-Users] failure route problem - duplicate invites

Raúl Alexis Betancor Santana rabs at dimension-virtual.com
Wed Sep 10 09:01:39 CEST 2008


El Wednesday 10 September 2008 07:44:49 Klaus Darilion escribió:
> Iñaki Baz Castillo schrieb:
> > El Martes, 9 de Septiembre de 2008, Matthew McGuire escribió:
> >> Thanks for the pointers.
> >>
> >> When I remove append_branch from the route blocks, for some reason,
> >> rewritehostport fails in subsequent routes. No errors show up in the
> >> log, but the call will proceed through each block, traceable by the log
> >> statements, but the host ip address on the new invites is the same as
> >> the first invite.
> >
> > I just can sure you that these append_branch() in route[1] and route[2]
> > are completely wrongs since they are duplicating the original request, no
> > more.
>
> Route[2] is called from the failure_route. Thus, the append_branch in
> route[2] is necessary.

But it's wrongly called, because he calls append_branch() on failure_route[1] 
BEFORE calling route[2] and then inside route[2] he calls append_branch again, 
so it's called twice.

-- 
Raúl Alexis Betancor Santana
Dimensión Virtual S.L.




More information about the sr-users mailing list