Re: [SR-Users] getting the local 408 response

2016-07-12 Thread Jayesh Nambiar
Hi, I didnt cross my mind that I can use t_on_failure before t_suspend. I'll try that right away. Used to writing that before t_relay every time. Thanks, - Jayesh On Tue, Jul 12, 2016 at 4:50 PM Sebastian Damm wrote: > Hello, > > On Tue, Jul 12, 2016 at 12:55 PM, Daniel-Constantin Mierla > wr

Re: [SR-Users] getting the local 408 response

2016-07-12 Thread Sebastian Damm
Hello, On Tue, Jul 12, 2016 at 12:55 PM, Daniel-Constantin Mierla wrote: > if you set t_on_failure() before t_suspend(), then you should get > failure_route executed when the transaction timed out in suspended state. That's exactly how it works. We set up something like this last week. route{

Re: [SR-Users] getting the local 408 response

2016-07-12 Thread Daniel-Constantin Mierla
Hello, if you set t_on_failure() before t_suspend(), then you should get failure_route executed when the transaction timed out in suspended state. Or are you looking for something else? Cheers, Daniel On 12/07/16 11:38, Jayesh Nambiar wrote: > Hello, > So the question fundamentally is, if I t_

Re: [SR-Users] getting the local 408 response

2016-07-12 Thread Jayesh Nambiar
Hello, So the question fundamentally is, if I t_suspend a transaction and kamailio sends a 408 to that leg because of the fr_timer configured, would I have access to that response? Thanks again. - Jayesh On Mon, Jul 11, 2016 at 6:26 PM Jayesh Nambiar wrote: > Hi Carsten, > Thanks for respondin

Re: [SR-Users] getting the local 408 response

2016-07-11 Thread Jayesh Nambiar
Hi Carsten, Thanks for responding. 1) I basically call a t_suspend for an incoming INVITE and resume it when the call is ready to be patched. 2) I set my fr_timer as 30 seconds as I do not want the caller to wait for a long time to get connected. 3) So when kamailio responds back with a 408 after 3

Re: [SR-Users] getting the local 408 response

2016-07-11 Thread Carsten Bock
Hi Jayesh, you should be able to catch this in a regular failure_route(). What do you want to achieve? Replace the response? failure_route[myfailure] { # Execute, in case we # - get a local generated "408" # - receive a 5xx or 6xx reply from the proxy. if (t_branch_timeout() || t_