Hello,
the GIT branch 4.3 was created, it will host the release series 4.3.x.
To get this branch from GIT, you can use:
git clone https://github.com/kamailio/kamailio.git kamailio
cd kamailio
git checkout -b 4.3 origin/4.3
Notes about installing Kamailio from this branch are available at:
- http://www.kamailio.org/wiki/install/4.3.x/git
Hopefully in about two weeks or so the full release of 4.3.0 will be out.
>From now on, any corresponding fix has to be pushed first to master
branch and then cherry-picked to branch 4.3. No new features can get in
branch 4.3. Enhancements to documentation or helping tools are still
allowed.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
In an effort to incorporate the Erlang module into my RPM builds, I get the following errors and compilation fails on Fedora 21 X86_64:
```
make[1]: Entering directory '/builddir/build/BUILD/kamailio-4.2.5/modules/erlang'
Makefile.defs defs skipped
Makefile.defs defs skipped
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c erl_helpers.c -o erl_helpers.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c handle_emsg.c -o handle_emsg.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c handle_rpc.c -o handle_rpc.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_list.c -o pv_list.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c cnode.c -o cnode.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_pid.c -o pv_pid.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_tuple.c -o pv_tuple.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_xbuff.c -o pv_xbuff.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_atom.c -o pv_atom.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c pv_ref.c -o pv_ref.o -MMD -MP
pv_pid.c: In function 'pv_pid_parse_name':
pv_pid.c:60:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:60:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_pid.c:60:1218: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:60:1672: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:98:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:98:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_pid.c:98:1304: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:98:1801: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:106:5: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:106:5: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_pid.c:106:1251: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:106:1721: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:131:3: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:131:3: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_pid.c:131:1199: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_pid.c:131:1644: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c mod_erlang.c -o mod_erlang.o -MMD -MP
erl_helpers.c: In function 'erl_init_ec':
erl_helpers.c:238:6: warning: variable 'port' set but not used [-Wunused-but-set-variable]
int port;
^
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c epmd.c -o epmd.o -MMD -MP
pv_atom.c: In function 'pv_atom_parse_name':
pv_atom.c:57:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:57:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_atom.c:57:1220: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:57:1675: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:95:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:95:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_atom.c:95:1306: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:95:1804: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:103:5: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:103:5: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_atom.c:103:1253: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:103:1724: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:128:3: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:128:3: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_atom.c:128:1201: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_atom.c:128:1647: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c erl_api.c -o erl_api.o -MMD -MP
gcc -fPIC -DPIC -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -Wall -DNAME='"kamailio"' -DVERSION='"4.3.0-pre2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.9.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=4003000 -DCFG_DIR='"/etc/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DF_MALLOC -DDBG_F_MALLOC -DMEM_JOIN_FREE -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FU
TEX -DHA
VE_SELECT -I/usr/lib64/erlang/usr/include -DKAMAILIO_MOD_INTERFACE -D_REENTRANT -DMOD_NAME='"erlang"' -c worker.c -o worker.o -MMD -MP
pv_ref.c: In function 'pv_ref_parse_name':
pv_ref.c:60:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:60:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_ref.c:60:1218: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:60:1672: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:98:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:98:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_ref.c:98:1304: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:98:1801: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:106:5: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:106:5: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_ref.c:106:1251: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:106:1721: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:131:3: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:131:3: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_ref.c:131:1199: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_ref.c:131:1644: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
make[2]: Entering directory '/builddir/build/BUILD/kamailio-4.2.5/lib/kcore'
Makefile.defs defs skipped
pv_xbuff.c: In function 'pv_xbuff_parse_name':
pv_xbuff.c:204:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:204:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_xbuff.c:204:1224: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:204:1681: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid character in var name %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:242:4: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:242:4: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_xbuff.c:242:1310: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:242:1810: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid operator (expected =>) for accessing attribute in token %.*s at position %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:250:5: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:250:5: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_xbuff.c:250:1255: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:250:1727: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("invalid character in attribute name in token %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:279:3: warning: format '%d' expects argument of type 'int', but argument 12 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:279:3: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
pv_xbuff.c:279:1203: warning: format '%d' expects argument of type 'int', but argument 10 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
pv_xbuff.c:279:1650: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
LM_ERR("unexpected token in %.*s at %d\n",STR_FMT(in),p-in->s);
^
make[2]: 'libkcore.so.1.0' is up to date.
make[2]: Leaving directory '/builddir/build/BUILD/kamailio-4.2.5/lib/kcore'
gcc -shared -m64 -Wl,-O2 -Wl,-E handle_emsg.o pv_xbuff.o cnode.o erl_api.o epmd.o erl_helpers.o pv_pid.o pv_atom.o worker.o handle_rpc.o pv_list.o pv_tuple.o pv_ref.o mod_erlang.o -L/usr/local/lib/erlang/usr/lib -lei -lpthread -L../../lib/kcore/ -lkcore -Wl,-rpath,/builddir/build/BUILD/kamailio-4.2.5/lib/kcore -o erlang.so
/usr/bin/ld: cannot find -lei
collect2: error: ld returned 1 exit status
../../Makefile.rules:188: recipe for target 'erlang.so' failed
make[1]: Leaving directory '/builddir/build/BUILD/kamailio-4.2.5/modules/erlang'
make[1]: *** [erlang.so] Error 1
Makefile:511: recipe for target 'modules' failed
```
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/173
Module: kamailio
Branch: master
Commit: e27802533cee77e71ee2a345af19ddf330266544
URL: https://github.com/kamailio/kamailio/commit/e27802533cee77e71ee2a345af19ddf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-05-25T23:54:23+02:00
Makefile.defs: version set to 4.4.0-dev0
- master branch is open for new features to be part of future major
release, planned to use version number 4.4
---
Modified: Makefile.defs
---
Diff: https://github.com/kamailio/kamailio/commit/e27802533cee77e71ee2a345af19ddf…
Patch: https://github.com/kamailio/kamailio/commit/e27802533cee77e71ee2a345af19ddf…
---
diff --git a/Makefile.defs b/Makefile.defs
index f977089..bfbbde8 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -95,9 +95,9 @@ INSTALL_FLAVOUR=$(FLAVOUR)
# version number
VERSION = 4
-PATCHLEVEL = 3
+PATCHLEVEL = 4
SUBLEVEL = 0
-EXTRAVERSION = -pre2
+EXTRAVERSION = -dev0
# memory manager switcher
# 0 - f_malloc (fast malloc)
Hello,
On 25/05/15 11:55, Seudin Kasumovic wrote:
> Hi Daniel,
>
>> On May 25, 2015, at 9:43 AM, Daniel-Constantin Mierla <miconda(a)gmail.com> wrote:
>>
>> Hello,
>>
>> I noticed that erlang module is exporting couple of config variable
>> classes (pseudo-variables) with various names. I would suggest to prefix
>> them with 'erl' or something similar to know they are related and
>> specific to erlang module. Many modules do so already (e.g., tm uses
>> $T...). You used some generic names that could be confusing at some
>> point with other components (e.g., 'tuple' is also used a lot in
>> presence, 'pid' is something common any process and kamailio has also
>> some variable related to it).
>>
> Prefix ‘erl_’ is used for functions in Erlang module, so prefixing PVs too will be confusing between functions and PVs.
> I will consider other prefixes ‘$e_’ or ’$E_’ for vars.
The PVs always start with $ that should avoid confusing. Dialog module
is using 'dlg' prefix for both functions and variables.
For me it is ok if you prefer something else, I just want to have a
prefix to suggest is not core attribute like 'pid' or something else and
to be related to the module name by initial or abbreviation.
>
>> Another note: documenting PVs in README is ok, but then need to be also
>> documented in the wiki cookbook:
>>
>> - http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables
>>
> How to patch cookbook?
It is a wiki, you need to make an account and edit the page:
- https://www.kamailio.org/wiki/start?do=register
Long time ago it was decided to keep vars in wiki so non-developers can
contribute with more text and examples, also to have all vars in a
single place. We used SVN at that moment, now with github is easier to
make pull requests to contribute from anywhere to anywhere. But perhaps
is still more flexible with wiki, being easier to edit overall.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
> On May 25, 2015, at 11:55 AM, Seudin Kasumovic <seudin(a)bicomsystems.com> wrote:
>
> Hi Daniel,
>
>> On May 25, 2015, at 9:43 AM, Daniel-Constantin Mierla <miconda(a)gmail.com> wrote:
>>
>> Hello,
>>
>> I noticed that erlang module is exporting couple of config variable
>> classes (pseudo-variables) with various names. I would suggest to prefix
>> them with 'erl' or something similar to know they are related and
>> specific to erlang module. Many modules do so already (e.g., tm uses
>> $T...). You used some generic names that could be confusing at some
>> point with other components (e.g., 'tuple' is also used a lot in
>> presence, 'pid' is something common any process and kamailio has also
>> some variable related to it).
>>
>
> Prefix ‘erl_’ is used for functions in Erlang module, so prefixing PVs too will be confusing between functions and PVs.
> I will consider other prefixes ‘$e_’ or ’$E_’ for vars.
>
>> Another note: documenting PVs in README is ok, but then need to be also
>> documented in the wiki cookbook:
>>
>> - http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables
>>
>
> How to patch cookbook?
>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla
>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>> Kamailio World Conference, May 27-29, 2015
>> Berlin, Germany - http://www.kamailioworld.com
>>
>
> Regards,
> Seudin