[OpenSIPS-Devel] Module private data.
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Nov 25 06:57:32 CET 2008
Hi Daniel,
No, there is no guarantee about that - messages belonging to the same
transaction or dialog may be processed in randomly selected processes.
You need data persistence across a transaction (request+replies), you
can use the TM callbacks and to store your custom information as
callback parameters.
The same if you need persistence across dialog - use the dialog
callbacks with the same callback param mechanism.
Regards,
Bogdan
Daniel Corbe wrote:
> Hello,
>
> My question is how to go about handling cases where the module needs
> to track its own arbitrary information about an inbound request.
>
> Are subsequent requests which occur in-dialog and responses to
> requests in-transaction guaranteed to go to the same child process
> that the original request was dispatched to, or do I need to begin
> looking at shared memory semantics for my module?
>
> Thanks.
>
> -Daniel
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
More information about the Devel
mailing list