The modules from 1.5 should work out of the box with
1.4. My plan is to
test them a while in 1.5 and backport before next minor release
1.4.x.
daniel,
unfortunately the above does not seem to be true. when i copy presence
module from 1.5 and try to make it, i get
make[1]: Entering directory `/usr/src/4.1-src/openxg-kamailio/modules/presence'
publish.c:46:26: error: ../../cmpapi.h: No such file or directory
Compiling bind_presence.c
...
Compiling notify.c
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops
-falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition
-Wmissing-field-initializers -Wredundant-decls -DMOD_NAME='"presence"'
-DNAME='"kamailio"' -DVERSION='"1.4.3-tls"'
-DARCH='"i386"' -DOS='"linux"'
-DCOMPILER='"gcc 4.3.2"' -D__CPU_i386 -D__OS_linux -D__SMP_yes
-DCFG_DIR='"/usr/local/etc/kamailio/"' -DPKG_MALLOC -DSHM_MEM
-DSHM_MMAP -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS
-DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC -DSVNREVISION='"2:5638M"'
-DUSE_TLS -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT
-DHAVE_SELECT -I/usr/local/ssl/include -I/usr/local/include -I/usr/include/openssl
-I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include -c notify.c -o
notify.o
notify.c: In function ??get_p_notify_body??:
notify.c:728: error: ??EVENT_DIALOG_SLA?? undeclared (first use in this function)
notify.c:728: error: (Each undeclared identifier is reported only once
notify.c:728: error: for each function it appears in.)
-- juha