Hello List,<div>Thomas Gelf wrote a nice code snippet that converts a 183 SDP to a 180 in an onreply route. I just tried this out and it works great..</div><div><br></div><div><br></div><div>Only one problem. I reset my $avp(s:fr_inv_timer) right before I call it and the change isn't being honored. I'm wondering if it has to do with a t_function not being called?<br>
<br></div><div>Any suggestions on what to do here?</div><div><br></div><div>What I have is essentially:</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif, Verdana, Arial; font-size: 13px; color: rgb(102, 102, 102); line-height: 21px; "><pre class="escaped" style="font-size: 0.9em; font-family: 'Lucida Console', 'Andale Mono', 'Courier New', Courier; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(235, 235, 235); border-right-color: rgb(235, 235, 235); border-bottom-color: rgb(235, 235, 235); border-left-color: rgb(235, 235, 235); background-color: rgb(251, 254, 250); ">
onreply_route[1]
{
...
$avp(s:fr_inv_timer)=200;</pre><pre class="escaped" style="font-size: 0.9em; font-family: 'Lucida Console', 'Andale Mono', 'Courier New', Courier; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(235, 235, 235); border-right-color: rgb(235, 235, 235); border-bottom-color: rgb(235, 235, 235); border-left-color: rgb(235, 235, 235); background-color: rgb(251, 254, 250); ">
if(t_check_status("183")) {
perl_exec("sendReplyAs180");
drop();
}
}</pre></span></div><div><br></div><div>Thanks,</div><div>Brett</div><div><br></div>