I understand regarding append_branch in the route blocks being wrong.
However, without it, here is what a call looks like if the first gateway
fails:
Invite ------> 1.1.1.1
Fail <------ 1.1.1.1
OK, proceed to route(2)
Invite ------> 1.1.1.1
Fail <------ 1.1.1.1
OK, proceed to route(3)
Invite ------> 1.1.1.1
Fail <------ 1.1.1.1
OK, give up.
For some reason, the gateway ip address in the 2nd and 3rd invites
doesn't get altered by rewritehostport. Any guidance is most appreciated.
Thanks,
Matt
Iñaki Baz Castillo wrote:
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.
What you mean with "rewritehostport fails in subsequent routes"?