[OpenSER-Users] system variables : isbflagset

Daniel Grotti daniel.grotti at unibo.it
Thu Oct 4 09:55:42 CEST 2007


Thank for your answer.
But I'd like to know and read on std output the real value of bflag, not 
that it's set.
I don't know if it's possible.
Ex.:
....
....
xlog("L_INFO", "the value of branch flag is [STRING]");
if (method=="INVITE")
{ setbflag(6);
xlog("L_INFO","the value of bflag is now [STRING]");
};
....
..

so, which kind of [STRING] I have to put in?
Bye
daniel

Marcello Lupo wrote:
> Hi Daniel,
>
>
> if(isbflagset(6)) {
> xlog("L_NOTICE","BFLAG 6 is SET");
> }
>
>
> Bye,
> Marcello
>
> Daniel wrote:
>> Hi everybody,
>>
>> I'm using openser 1.2.2 and I'd like to know the result of some 
>> expression used in my main route.
>> For exemple, How can I read the answer of "isbflagset (6)" expression 
>> and write it on standard output with xlog ?
>>
>> thanks.
>> daniel
>>
>> Daniel
>> ________________________
>> e-mail : d.grotti at gmail.com <mailto:d.grotti at gmail.com>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>
>

-- 
------------------------------
	Daniel Grotti
DEIS - Università di Bologna
------------------------------
	Via Venezia, 52
47023 Cesena (FC) - ITALY
------------------------------
email: daniel.grotti at unibo.it
------------------------------	






More information about the Users mailing list