THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Alex Hermann (axlh)
Attached to Project - sip-router
Summary - Received replies should get higher preference than locally generated ones
Task Type - Bug Report
Category - tm
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - In the current version, the reply with the highest priority (lowest response
code) gets forwarded. At least in a situation with DNS based failover this can be
unwanted. When I have 2 hosts in a failover situation and the first is offline, a local
408 is generated. If the 2nd host responds with a higher response-code, the 408 gets
forwarded.
If the 2nd branch responds, it would be more logical to forward it, as it has information
on the callee. If the callee responds 603, the upstream proxy or caller may want to do
failover based on that code. If it always received 408, this is impossible.
Suggested fix: forward the highest priority _received_ response. optionally, make this
behaviour configurable.
Standards complicance: the rfc's talk about _forwarding_ the highest priority
response. This implies it should have been _received_ by the proxy. A proxy should only
'invent' replies if there are no other options left.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=54
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.