Thanks for the suggestion, but I already have this set!!<div><br><br><div class="gmail_quote">On Wed, Jun 30, 2010 at 11:13 AM, Richard Revels <span dir="ltr"><<a href="mailto:rrevels@bandwidth.com">rrevels@bandwidth.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Possibly this?<div><br></div><div><span style="font-family:Helvetica, Arial;font-size:12px">AVPs are persistent per SIP transaction, being available in "route", "branch_route" and "failure_route". To make them available in "onreply_route" armed via TM module, set "onreply_avp_mode" parameter of TM module (note that in the default "onreply_route", the AVPs of the transaction are not available).</span></div>
<div><font face="Helvetica, Arial"><br></font></div><div><font face="Helvetica, Arial"><br></font><div><div><div></div><div class="h5"><div>On Jun 30, 2010, at 12:43 AM, Brett Nemeroff wrote:</div><br></div></div><blockquote type="cite">
<div><div></div><div class="h5">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 style="font-family:'Trebuchet MS', sans-serif, Verdana, Arial;font-size:13px;color:rgb(102, 102, 102);line-height:21px"><pre 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 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></div></div><div class="im">
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></blockquote></div><br></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>