[OpenSIPS-Users] pseudo-variable problem with increasing cps

Dave Singer dave.singer at wideideas.com
Wed Feb 23 22:13:43 CET 2011


Ronald,

The only time I've seen it be null in failure route is if there was no reply
received,
you might add a check to see if it was a local timeout:

if ( t_local_replied("all") ) {
   xlog("did not get any response");
} else {
  xlog("$(<reply>ci): $C(rx)failure route: $(<reply>rs)
$(<reply>rr)$C(xx)\n");
}

Dave

On Wed, Feb 23, 2011 at 10:04 AM, Ronald Cepres <rbcepres at gmail.com> wrote:

> Hi all,
>
> I'm setting up opensips as a stateful proxy, and i have the following
> snippet of code on the failure route:
>
> failure_route[1] {
> xlog("$(<reply>ci): $C(rx)failure route: $(<reply>rs)
> $(<reply>rr)$C(xx)\n");
>
>         # Failure route routine...
> }
>
> The values of the call-id, response code and reason are normally there.
>
> but on higher cps, i often get this:
>
> <null>: failure route: <null> <null>
>
> Does this mean that the transaction was already destroyed before opensips
> got the reply?
>
> I wonder if anyone comes across this problem. Any help would be
> appreciated. Thanks!
>
>
>
> Regards,
>
> Ronald
>
> _______________________________________________
> 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/20110223/8965868f/attachment.htm>


More information about the Users mailing list