<div dir="ltr">So Im writing a custom module to implement some of our business logic,<div>there are a few steps that im building into the module,  for example</div><div><br></div><div>conform_callerid</div><div>conform_destination </div>

<div><br></div><div>what I want to achive should be fairly simple, but let me explain and im sure someone will tell me where to look.</div><div><br></div><div>when I call conform_callerid, I want to store a few bits of info so Initially I store them in a global variable ( yup lazy & dangerous I guess )</div>

<div><br></div><div>then I write the pv "get" function, to return the value from the global.</div><div><br></div><div>this was only done as a quick proof of concept.</div><div>but being global, im sure the variable will be overwritten by other message etc etc..</div>

<div><br></div><div>so I effectively want to store some custom fields against the message.</div><div>I didnt see this on the msg structure, but maybe I missed something</div><div><br></div><div>or is there a better way to achieve this ??</div>

<div><br></div><div>basically I want to be able to call conform_callerid </div><div>then when I call conform_destination I want to look at some fields from the conform_callerid process  ( within the context of the message we are processing )</div>

<div><br></div><div>any pointers would be appreciated.</div><div><br></div><div>-- <br></div><div>Sincerely<br><br>Jay
</div></div>