[Devel] Question on avpops

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Jun 6 22:12:48 CEST 2006


Hello,

On 06/06/06 17:51, Jonas Appel wrote:
> Hi all,
>
> I hava a question: Is there a reason why the avpops functions are not usable 
> in reply routes?
>   
yes, it is a reason - reply routes are not executed under lock (mutex), 
so the transaction's AVPs cannot be accessed safe. It is on the todo 
list to find a solution for it, also, the default reply route does not 
use tansaction AVPs, so there should not be any problem. If you know 
what are you doing, you can change the source of avpops and allow usage 
in onreply_route -- just be careful where you use them.


Cheers,
Daniel

> Thanks in advance!
>
> regards,
>   



More information about the Devel mailing list