[OpenSIPS-Users] pseudo-variable problem with increasing cps
Ronald Cepres
rbcepres at gmail.com
Thu Feb 24 16:47:00 CET 2011
Hi Tyler,
Yes it is. It's on the first part of the page (syntax section).
-Ronald
On Thu, Feb 24, 2011 at 4:35 PM, Tyler Merritt <tyler at fonality.com> wrote:
> 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
>>
>>
>
> _______________________________________________
> 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/82a2fc93/attachment.htm>
More information about the Users
mailing list