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

Ronald Cepres rbcepres at gmail.com
Thu Feb 24 16:45:08 CET 2011


Hi Dave,

That makes sense. I'll try it out.

-Ronald

On Thu, Feb 24, 2011 at 5:13 AM, Dave Singer <dave.singer at wideideas.com>wrote:

> 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
>>
>>
>
> _______________________________________________
> 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/20110224/247ae18a/attachment-0001.htm>


More information about the Users mailing list