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

Tyler Merritt tyler at fonality.com
Thu Feb 24 09:35:12 CET 2011


Is this construct in the scripting variables page and I just missed it?

$(<reply>rs)

I had no idea you could throw in stuff like that to the variables.

On Thu, Feb 24, 2011 at 6: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/ced1e0c5/attachment.htm>


More information about the Users mailing list