Revision: 5890
http://openser.svn.sourceforge.net/openser/?rev=5890&view=rev
Author: miconda
Date: 2009-07-02 09:00:06 +0000 (Thu, 02 Jul 2009)
Log Message:
-----------
- fix #2813924: publishing very long payload-type to the rtp-proxy overflows a buffer
- patch by Marcus Hunger
Modified Paths:
--------------
branches/1.5/modules/nathelper/nathelper.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Hi!
in ser's osp module Makefile these condition should be adopted to search
in /usr/lib too:
LIBS=$(shell if [ -f /usr/local/lib/libosptk.a ]; then echo "-losptk" ;
else echo "-losp" ; fi)
Or make it like K's osp module: use always -losptk
btw: shouldn't be the module rather identical in ser and K? Maybe
someone from the transnexus can handle this?
regards
klaus
Hello,
in kamailio there is a difference between exit and drop, while in ser is
basically the same (exit functionality).
For kamailio, in request and failure route they are the same, stop
processing of the actions. But in branch route and reply route drop does
a bit more: drop current processed branch respectively reply, so they
are not forwarded.
Addition of this functionality will affect core and tm. Any comments
regarding this? i can create the patch for it, if nobody sees issues.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/
i changed
NAME=srcmd
in utils/sercmd/Makefile
but that alone didn't make it, because main Makefile has
# which utils need compilation (directory path) and which to install
# (full path including file name)
utils_compile= utils/gen_ha1 utils/sercmd
utils_bin_install= utils/gen_ha1/gen_ha1 utils/sercmd/sercmd
and make results in error:
make[2]: Entering directory `/usr/src/trunk-src/sip-router/utils/sercmd'
gcc -Wall -g -O2 -DNAME='"srcmd"' -DVERSION='"0.2"' -DUSE_READLINE -c parse_listen_id.c -o parse_listen_id.o
gcc -Wall -g -O2 -DNAME='"srcmd"' -DVERSION='"0.2"' -DUSE_READLINE -c sercmd.c -o sercmd.o
gcc -Wl,-O2 -Wl,-E parse_listen_id.o sercmd.o -lresolv -lsctp -lreadline -lncurses -o srcmd
make[2]: Leaving directory `/usr/src/trunk-src/sip-router/utils/sercmd'
ERROR: utils/sercmd/sercmd not compiled
what is the proper fix?
my suggestion is to add to Makefile.defs a new variable SHORT_NAME,
which could default to ser:
SHORT_NAME=ser
and then use that Makefile:
utils_bin_install= utils/gen_ha1/gen_ha1 utils/sercmd/$(SHORTNAME)cmd
and also in utils/sercmd/Makefile:
NAME=$(SHORT_NAME)cmd
and also in modules_s/ctl/ctl_defaults.h instead of ser:
#define DEFAULT_CTL_SOCKET "unixs:/tmp/ser_ctl"
-- juha
man pages and documentation refer to a fixed name of the software
(currently sip-router).
should Makefile be edited to change that on the fly to whatever is
chosen as MAIN_NAME or what?
-- juha
make[1]: Entering directory
`/home/darilion/software/siprouter/sip-router/modules_s/bdb'
In file included from bdb_val.c:29:
bdb.h:46:29: error: ../../db/db_key.h: No such file or directory
bdb.h:47:28: error: ../../db/db_op.h: No such file or directory
bdb.h:48:29: error: ../../db/db_val.h: No such file or directory
In file included from bdb_uval.c:29:
Looks like it was not adopted properly. It see it tries to include files
from old db directory, and also from srdb2 - but shouldn't that be srdb1
(ser's db layer)?
regards
klaus