Hello,

transaction stateful relaying is done by using t_relay().

For handling them with dialog, use dlg_manage() for those requests.

Cheers,
Daniel

On 30/03/16 14:35, Al S wrote:
Hi,


I would like to know how I can make subsequent messages in a dialog (ACK and BYE) to be stateful.
Your help will be greatly appreciated.


// reroute INVITE after timeout.
failure_route[MANAGE_FAILURE]
{
   if (t_branch_timeout())
   {
      # change to new destination IP
      $rd = "10.10.10.10";
      t_relay();
      exit;
   }
...
}

Thanks,
AS


_______________________________________________
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://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com