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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to