Re: [SR-Users] Append to reply in default action of failure_route

2015-12-28 Thread Andrew Pogrebennyk
Thanks Dmitri, I have to look closer at it, but for me it breaks parallel forking, e.g. I need to reply only when it's the last branch. Andrew On 12/22/2015 05:46 PM, Dmitri Savolainen wrote: > Andrew, I use smth like this for adding header to any response > > request_route{ > > if (is_method("

Re: [SR-Users] Append to reply in default action of failure_route

2015-12-22 Thread Dmitri Savolainen
Andrew, I use smth like this for adding header to any response request_route{ if (is_method("INVITE")){ t_check_trans(); t_on_failure("INV_FAIL"); t_relay("mysip", "5060"); } } failure_route[INV_FAIL] { xlog("L_INFO", "failure_route code: $T_reply_code; reason:

Re: [SR-Users] Append to reply in default action of failure_route

2015-12-22 Thread Andrew Pogrebennyk
Hello Efelin, I stumbled upon the issue you described here. Have you been able to find a solution? I've tried to play with t_reply(), but no luck so far. Regards, Andrew On 11/18/2013 10:00 AM, Efelin Novak wrote: > Hi, > > I would like to append a header to a 'winning' negative reply in > failu