Hi Brett, see the restart_fr_on_each_reply param (default 1) - you need to have it enabled if you want to change the fr_inv_timer changed at reply time.
But your problem is the "drop()" - if you drop the reply, the fr_inv_timer will not be re-armed. Regards, Bogdan Brett Nemeroff wrote: > Thanks for the suggestion, but I already have this set!! > > > On Wed, Jun 30, 2010 at 11:13 AM, Richard Revels > <rrev...@bandwidth.com <mailto:rrev...@bandwidth.com>> wrote: > > Possibly this? > > 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). > > > On Jun 30, 2010, at 12:43 AM, Brett Nemeroff wrote: > >> Hello List, >> 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.. >> >> >> 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? >> >> Any suggestions on what to do here? >> >> What I have is essentially: >> >> onreply_route[1] >> { >> ... >> $avp(s:fr_inv_timer)=200; >> if(t_check_status("183")) { >> perl_exec("sendReplyAs180"); >> drop(); >> } >> } >> >> Thanks, >> Brett >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org <mailto:Users@lists.opensips.org> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > Users@lists.opensips.org <mailto:Users@lists.opensips.org> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu OpenSIPS Bootcamp 20 - 24 September 2010, Frankfurt, Germany www.voice-system.ro _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users