[sr-dev] [kamailio/kamailio] t_set_fr only works with UDP (#1966)

Boden Garman notifications at github.com
Thu Jun 6 05:34:19 CEST 2019


I found a work-around - I assume there is a new branch created when the contact is using TCP because the following fixes it

```
# User location service
route[LOCATION] {
        [...]
        # per subscriber ring time
        if ($avp(s:ring_time) != $null) {
                # xlog("setting time out to $avp(s:ring_time)");
                t_set_fr($avp(s:ring_time) * 1000);
                t_set_max_lifetime($avp(s:ring_time) * 1000, 0);
        }
}
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1966#issuecomment-499335494
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190605/742664b5/attachment-0001.html>


More information about the sr-dev mailing list