Hi Henning,<br><br>I am getting all of OpenSER modparam information from a web service (SOAP/HTTP) as opposed to configuring openser through the config file. So when OpenSER boots it fetches all the information includeing modules to load, etc,etc and configures the modules. I have also created a structure that holds addresses of all of my backend web service hosts. It is this pointer i want to make available to quite a few custom modules, hence the question.<br>
<br>BUT, thanks for the help, its working like a charm!<br><br>cheers<br>Jason<br><br><div class="gmail_quote">On Thu, Mar 19, 2009 at 1:37 PM, Henning Westerholt <span dir="ltr">&lt;<a href="mailto:henning.westerholt@1und1.de">henning.westerholt@1und1.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thursday 19 March 2009, Jason Penton wrote:<br>
</div><div class="im">&gt; yes I had forgotten to include globals.h, something I realised just after<br>
&gt; sending the mail again :D<br>
&gt;<br>
&gt; However, one other question: is it possible to pass in core data to a<br>
&gt; module process?<br>
<br>
</div>Ok. :-)<br>
<br>
How do you define &quot;core data&quot;? You get all variables that you assign before<br>
the fork (see main.c), after the fork each individual children have their own<br>
data. Don&#39;t know what you want to achive, but if you add a new variable to<br>
the core that is used only from one module perhaps its easier to use a module<br>
parameter instead.<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Henning<br>
</font></blockquote></div><br>