I actually don't use and never used module purple.
Did you successfully used this module in previous versions? If so, probably something else got broken and unnoticed as it seems no one is using it.

Anyway, the tips to try to solve this are as always:
  - enable debug and try to understand what is happening.
  - collect packets to see if and how module purple tries to contact gtalk.

On Fri, Dec 10, 2010 at 10:07 PM, Meftah Tayeb <tayeb.meftah@gmail.com> wrote:
hmmmmmm
module loaded
the user is registered to sip with presence
but not logged in to gtalk

any idea?
thanks
Le 10/12/2010 03:02, mayamatakeshi a écrit :

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:

 
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.

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list


-- 
Meftah Tayeb
inum: +883510001288000
Phone: +13602276297
Fax: +12538020313