[sr-dev] [tracker] Comment added: Received replies should get higher preference than locally generated ones

sip-router admin at sip-router.org
Fri Mar 26 21:33:35 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#54 - Received replies should get higher preference than locally generated ones
User who did this - Iñaki Baz Castillo (ibc)

----------
Other example. Unfortunatelly sometimes PSTN gateways reply 503 when there is some network or routing issue in the PSTN leg (I see them all the days). Even worse is the fact that sometimes such 503 comes after some seconds of ringing (180/183). So:
- Parallel forking to gw1 and gw2.
- gw1 is not reachable and TM generates a timeout (so a local 408).
- gw2 rings for some seconds (180) and later replies 503.

IMHO the winning reply should be 503 (so 500 finally as per RFC 3261). But I expect that TM would choose 408.

The main problem here is the 408 treatment. Even if RFC 3261 states that a fr_timer timeout generates a 408, it's clear that such 408 should be different as is the 408 is locally generated after fr_inv_timeout (with 1XX response received in the branch) or if the 408 has been received from upstream.

Definitely I think that a fr_timer timeout should generate some other "internal" code rather than 408 (i.e. 492 or whatever). This means: "server unreachable, no response received at all". And such code should have the lowest priority when choosing the final response, even if other codes are 5XX (if they are 5XX received from upstream).

Note that SR already does something similar when a transport layer occurs in TCP. Theorically (as per RFC 3261) TM should generate a 503, but TM generates a local 477.
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=54#comment59

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.



More information about the sr-dev mailing list