No, I didn't try forwarding after transaction timeout because no voicemail server is configured.

 

failure_route[MANAGE_FAILURE] {

        route(NATMANAGE);

 

        if (t_is_canceled()) {

                exit;

        }

 

        if (t_check_status("3[0-9][0-9]")) {

                t_reply("404", "Not found");

                exit;

        }

 

        if (t_check_status("486|408")) {

                $du = $null;

                route(TOVOICEMAIL);

                exit;

        }

}

 

Mickael

 

From: Daniel-Constantin Mierla [mailto:miconda@gmail.com]
Sent: Thursday, March 19, 2015 10:00 AM
To: Mickael Marrache; 'Kamailio (SER) - Users Mailing List'
Subject: Re: [SR-Users] Timeout after t_suspend and failure route

 

Have you tried forwarding after the timeout of suspended transaction occurred? What kind of operations you had in the failure route. Trying to see what scenarios were covered...

Cheers,
Daniel

On 18/03/15 21:13, Mickael Marrache wrote:

Thanks Daniel!

 

Your patch seems to have fixed it…

 

Mickael

 

From: Daniel-Constantin Mierla [mailto:miconda@gmail.com]
Sent: Wednesday, March 18, 2015 8:54 PM
To: Mickael Marrache; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Timeout after t_suspend and failure route

 

Can you try with the patch from the next commit?

- https://github.com/kamailio/kamailio/commit/6484b199fb48acc2c55f318812f2c968b845ca80

Cheers,
Daniel

On 18/03/15 17:09, Mickael Marrache wrote:

Confirmed.

 

Thanks,

Mickael


On 18 במרץ 2015, at 18:06, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

can't check the code right now, but to confirm, if you use t_on_failure() before suspending the transaction, isn't executed?

Cheers,
Daniel

On 18/03/15 15:56, Mickael Marrache wrote:

Hi,

 

When receiving an INVITE, I arm a failure route and set the fr_timer to 30 seconds. After the fr_timer expires, I need to do some operations however I see the failure route is not executed.

 

I guess it is related to the fact the INVITE has not been forwarded?

 

If yes, how can I execute code when a transaction times out after calling t_suspend?

 

Thanks,

Mickael





_______________________________________________
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




-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

_______________________________________________
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




-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com



-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com