[SR-Users] LCR defunct_gw use

Andreas Granig agranig at sipwise.com
Thu Mar 31 16:58:39 CEST 2011


Hi,

On 03/31/2011 03:38 PM, Juha Heinanen wrote:
> Ricardo Martinez writes:
>> This 408 response code is generated in the failure_route only?.... what if
>> a gateway really answers a call with 408 because there was no answer from
>> the client... this response is handled by the on_reply route , isn't?
> 
> before you call t_relay you set no-answer timeout to be a small value (a
> few seconds) so that you are able to try the next gw as soon as
> possible.  if your gw is alive, it will give you immediately a 1xx
> response, which you process in on_reply route.  if you get 408 without
> having seen 1xx, you can defunct the gw in failure route.

Until 1.5.x, there has been a t_local_replied() in tm for checking
whether the reply (e.g. the 408) has been generated locally. What
happened to that one? How would you do this in 3.x reliably without
depending on an 1xx response from the outside?

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110331/08e5d834/attachment.pgp>


More information about the sr-users mailing list