On Thu, Dec 9, 2010 at 11:55 PM, David J <da...@styleflare.com> wrote:
> Yes. That module is loaded. > On Dec 9, 2010 7:48 AM, "mayamatakeshi" <mayamatake...@gmail.com> wrote: > > > On Thu, Dec 9, 2010 at 9:36 PM, David J. <da...@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 sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users