[Kamailio-Users] failure route problem - duplicate invites
Matthew McGuire
matthewmcguire at yahoo.com
Wed Sep 10 05:28:27 CEST 2008
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"?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080909/a16609f6/attachment.htm
More information about the Users
mailing list