[SR-Users] stateful messages in a dialog

Daniel-Constantin Mierla miconda at gmail.com
Fri Apr 1 11:30:46 CEST 2016


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160401/a0196322/attachment.html>


More information about the sr-users mailing list