Re: [SR-Users] Add header on failure Route

2010-05-03 Thread Alex Rendour
Hello, The 404 No t found was received for another server, we had the code on the onreply_route and that work. if(t_check_status("404")){ xlog("L_ERR", "404 Not found\n"); append_hf("Reason: Q.850; cause=1\r\n"); xlog("L_ERR", "404 Not found apres\n"); exit; } Thank

Re: [SR-Users] Add header on failure Route

2010-04-30 Thread Daniel-Constantin Mierla
Hello, On 4/30/10 11:07 AM, Alex Rendour wrote: Hi, We need to add header on the failure route. Exemple: On failure 404 Not found, we need add header Reason: Q.850; cause=1 We tried this in failure_route: if(t_check_status("404")){ xlog("L_ERR", "404 Not found\n

[SR-Users] Add header on failure Route

2010-04-30 Thread Alex Rendour
Hi, We need to add header on the failure route. Exemple: On failure 404 Not found, we need add header Reason: Q.850; cause=1 We tried this in failure_route: if(t_check_status("404")){ xlog("L_ERR", "404 Not found\n"); append_to_reply("Reason: Q.850; cause=