[OpenSER-Devel] need advice for avp lock

Klaus Darilion klaus.mailinglists at pernau.at
Thu Oct 18 10:00:38 CEST 2007


You could take a look at the tm module which also supports locking for 
AVP access in reply route:
http://openser.org/docs/modules/1.3.x/tm#AEN304

regards
klaus

Di-Shi Sun schrieb:
> All,
>  
> We met a race condition for accessing avp values. We use avps to store 
> some info. Both 180 and 200 messages may trigger a logic to access the 
> avp values. Sometimes they arrive at almost the same time. Would anyone 
> please give us some advice on what lock mechanism we should use for it?
>  
> Thanks,
>  
> Di-Shi Sun
> VoIP Routing, Accounting, Security
> www.TransNexus.com <http://www.TransNexus.com>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel



More information about the Devel mailing list