<p>I found a work-around - I assume there is a new branch created when the contact is using TCP because the following fixes it</p>
<pre><code># 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);
}
}
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1966?email_source=notifications&email_token=ABO7UZPUXMPGINX2ZSO3QBLPZCATXA5CNFSM4HP7CJVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXBUCRQ#issuecomment-499335494">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOOEVRC2D3VBY562MLPZCATXANCNFSM4HP7CJVA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZOU7J5EYO2NDFZE2M3PZCATXA5CNFSM4HP7CJVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXBUCRQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1966?email_source=notifications\u0026email_token=ABO7UZPUXMPGINX2ZSO3QBLPZCATXA5CNFSM4HP7CJVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXBUCRQ#issuecomment-499335494",
"url": "https://github.com/kamailio/kamailio/issues/1966?email_source=notifications\u0026email_token=ABO7UZPUXMPGINX2ZSO3QBLPZCATXA5CNFSM4HP7CJVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXBUCRQ#issuecomment-499335494",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>