Hi,
Does local server generated 408 time out reply go to onreply_route? If so, can I change the status code to a 200 class code by doing: $rs = "202"? If I can change it, does it still go to failure_route? (It's not a 400 class response anymore.)
The scenario I want to test it's easy to produce. Otherwise I would just try it......
Regards,
Allen
Hello,
local 408 doesn't go in onreply routes, but you can get to failure_route and there use t_reply(...) to send out a different response code. However, never tried replacing 408 with 200 because it a different meaning and makes no much sense at least for INVITEs. But failure route is used quite commonly to change a 3xx response to 4xx/5xx.
Cheers, Daniel
On 02/07/14 06:43, Allen Zhang wrote:
Hi,
Does local server generated 408 time out reply go to onreply_route?
If so, can I change the status code to a 200 class code by doing: $rs = "202"?
If I can change it, does it still go to failure_route? (It’s not a 400 class response anymore.)
The scenario I want to test it’s easy to produce. Otherwise I would just try it……
Regards,
Allen
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