[OpenSIPS-Users] Convert 183SDP to 180 fr_inv_timer problem

Brett Nemeroff brett at nemeroff.com
Wed Jun 30 06:43:10 CEST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100629/cce8551e/attachment.htm 


More information about the Users mailing list