[SR-Users] Purple Error.
mayamatakeshi
mayamatakeshi at gmail.com
Fri Dec 10 02:40:25 CET 2010
On Thu, Dec 9, 2010 at 11:55 PM, David J <david at styleflare.com> wrote:
> Yes. That module is loaded.
> On Dec 9, 2010 7:48 AM, "mayamatakeshi" <mayamatakeshi at gmail.com> wrote:
>
> > On Thu, Dec 9, 2010 at 9:36 PM, David J. <david at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101210/26076a2b/attachment-0001.htm>
More information about the sr-users
mailing list