So Im writing a custom module to implement some of our business logic,
there are a few steps that im building into the module, for example
conform_callerid
conform_destination
what I want to achive should be fairly simple, but let me explain and im
sure someone will tell me where to look.
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 )
then I write the pv "get" function, to return the value from the global.
this was only done as a quick proof of concept.
but being global, im sure the variable will be overwritten by other message
etc etc..
so I effectively want to store some custom fields against the message.
I didnt see this on the msg structure, but maybe I missed something
or is there a better way to achieve this ??
basically I want to be able to call conform_callerid
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 )
any pointers would be appreciated.
--
Sincerely
Jay