<br><br><div class="gmail_quote">On Thu, Dec 9, 2010 at 11:55 PM, David J <span dir="ltr"><<a href="mailto:david@styleflare.com">david@styleflare.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p>Yes. That module is loaded.</p>
<div class="gmail_quote">On Dec 9, 2010 7:48 AM, "mayamatakeshi" <<a href="mailto:mayamatakeshi@gmail.com" target="_blank">mayamatakeshi@gmail.com</a>> wrote:<div class="im"><br type="attribution">> On Thu, Dec 9, 2010 at 9:36 PM, David J. <<a href="mailto:david@styleflare.com" target="_blank">david@styleflare.com</a>> wrote:<br>
> <br>>> If anyone can direct me how to resolve.<br>>><br>>><br>>> I load presence.so,pua.so,purple.so<br>>><br>>> When I run kamailio I see.<br>>><br>>><br>>> Dec 9 14:36:05 localhost /usr/local/sbin/kamailio[1605]: ERROR: purple<br>
>> [purple.c:148]: can't import load_tm<br>>><br>> <br></div>> Function load_tm is defined at module tm.so. Are you loading this module?<br></div>
</blockquote></div><div><br></div><div><br>I took a look at the code.<br>It seems there was a change in the API but module purple was not updated. It calls load_tm this way (purple.c):<br><br>if((load_tm=(load_tm_f)find_export("load_tm", 0, 0))==NULL) <br>
<br>But all other modules call it this way:<br><br>if((load_tm=(load_tm_f)find_export("load_tm", NO_SCRIPT, 0))==NULL)<br><br>NO_SCRIPT is defined as -1.<br><br>So I believe just changing the above will permit to load the module.</div>