On Fri, Dec 10, 2010 at 10:57 AM, David J <david@styleflare.com> wrote:

I will test it. Seems to have worked


OK. 
After confirmation, please notify the developers:
http://sip-router.org/tracker/

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