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
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