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

Brett Nemeroff brett at nemeroff.com
Wed Jun 30 18:31:38 CEST 2010


Thanks for the suggestion, but I already have this set!!


On Wed, Jun 30, 2010 at 11:13 AM, Richard Revels <rrevels at 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100630/d1a81491/attachment.htm 


More information about the Users mailing list