[SR-Users] script local flags
Daniel-Constantin Mierla
miconda at gmail.com
Tue Nov 1 14:59:58 CET 2011
On 11/1/11 1:06 PM, Uri Shacked wrote:
> Hi,
> I am using the script local flags. i set a flag like this
> "setsflag(6)" in order to use it afterwards.
> i notice that this flag is relevent only for the request i am dealing
> with right now. because after the reply the flag seems to reset
> without me doing that doing "issflagset(6)" and getting nowhere :-)
> am i right or am i using it wrong?
scripts flags are valid for the duration of executing a root routing
block and they are private for each sip worker process, not persistent
per transaction. Looks like you need to use transaction (message) flags.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda
More information about the sr-users
mailing list