Hello, Klaus, >> >> I noticed that OpenSER replies with status code "408 Request Timeout" >> when the fr_timer (tm module) expires. I am wondering if the response >> code "504 Server Timeout" would be more appropriate in this case. The >> status code 408 means that "the server could not produce a response, >> e.g., a user location, within the time indicated in the Expires >> request-header field. The client MAY repeat the request without >> modifications at any later time."; and the status code 504 means "the >> server did not receive a timely response from an external server it > Hello everybody, > > What if there is a 180 ringing response from the upstream server, but > no 200 OK within fr_timeout. Is this a "timely response"? Well, for fr_timer, if there is any 1xx response from the upstream server then fr_timer is deactivated and fr_inv_timer is activated. Then fr_inv_timer is expecting the final response from the upstream server, for example, 200 OK. If it is not getting a final response, then I think yes, it is not getting a "timely response". > Further, usually 5xx are server internal errors. Thus, If an upstream > timeout is triggered, IMO this is not a server error. Well, 4xx are usually client errors. IMHO, when a fr_timer or fr_inv_timer expires in OpenSER, it is kind of more a server internal error, then a client error. After all, the client sent a perfectly valid request. So, the server should take the blame on itself rather then tell the client "you know what, you are wrong, not me".
Regards, Anatoly. >> accessed in attempting to process the request." It sounds to me that >> the description of the status code 504 better describes what happens >> in OpenSER when the fr_timer expires. Any comments? I am using >> OpenSER 1.2.x. >> >> Best regards, >> Anatoly Pidruchny. >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.openser.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.openser.org/cgi-bin/mailman/listinfo/users
