Makefile.defs has
MAIN_NAME=ser
how can i change MAIN_NAME to sip-router? could the above be changed to
MAIN_NAME=sip-router
or
MAIN_NAME ?= ser
-- juha
Revision: 5861
http://openser.svn.sourceforge.net/openser/?rev=5861&view=rev
Author: henningw
Date: 2009-05-28 16:50:14 +0000 (Thu, 28 May 2009)
Log Message:
-----------
- fix one bigger SHM memory leak and a few small PKG leaks in DB error paths
- patch from Timo Reimann, timo dot reimann at 1und1 dot de
Modified Paths:
--------------
branches/1.3/modules/carrierroute/carrier_tree.c
branches/1.3/modules/carrierroute/route_db.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Bugs item #2796454, was opened at 2009-05-25 11:35
Message generated for change (Comment added) made by egschubert
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2796454&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Edson - 4lists (egschubert)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problems on 'kamctl' script on CR command
Initial Comment:
Just updated to the last SVN:
...
Kamailio-151:~/sip-server # kamailio -V
version: kamailio 1.5.1-notls (i386/linux)
flags: STATISTICS, USE_IPV6, USE_TCP, USE_SCTP, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, PKG_SIZE 4194304
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: 2:5858M
@(#) $Id: main.c 5608 2009-02-13 16:48:17Z henningw $
main.c compiled on 11:09:12 May 25 2009 with gcc 4.3
And 'kamctl cr' says:
...
cr addcarrier <carrier> <scan_prefix> <domain> <rewrite_host> ................
<prob> <strip> <rewrite_prefix> <rewrite_suffix> ...............
<flags> <mask> <comment> .........................add a carrier
...
But command:
...
Kamailio-151:~/sip-server # kamctl cr addcarrier 1 0 2 X.X.X.X 1 1 123456 '' '' '' 'Output_Route_X123'
Output_Route_X123
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' Rota_de_saida_pelo_IPIPGW)' at line 1
ERROR: cr - SQL Error
Kamailio-151:~/sip-server #
On script 'kamctl', line 1357:
if [ $# -gt 8 ] ; then
COMMENT=$9
Edson.
----------------------------------------------------------------------
>Comment By: Edson - 4lists (egschubert)
Date: 2009-05-28 12:15
Message:
re-sending...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2796454&group_…
Hello,
as both SIP Express Router (SER) and Kamailio (OpenSER) projects have
now the sources in the same GIT repository hosted by
http://sip-router.org, next week the devel lists specific for each
project (serdev(a)lists.iptel.org and devel(a)lists.kamailio.org) will be
unified with sr-dev(a)lists.sip-router.org.
In this way, new commits to the code, discussions about present and
future development versions will be in one place. Current ML addresses
will be aliased to sr-dev(a)lists.sip-router.org, so they will still be
reachable. The archives to the date will stay independent, new
registration will be directed to sr-dev.
The whole process should be transparent to all existing subscribers,
however, if you experience downtime, please be patient a bit, but if the
issues last for long time, please report to me. The planned time for
migration is Monday/Tuesday next week. .
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/
Bugs item #2797928, was opened at 2009-05-28 15:54
Message generated for change (Tracker Item Submitted) made by axlh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2797928&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Hermann (axlh)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segfaults in dialog_update_db
Initial Comment:
dialog_update_db() is very crashy. It doesn't do any sanity checks on pointers and as a consequence crashes a lot.
I've seen at least 2 occasions at which is crashes:
1) Calling dlg_manage() on a non-invite message
2) Worse, on an invalid message. When a 200 OK is missing a contact header, I get error messages from populate_leg_info():
ERROR:dialog:populate_leg_info: bad sip message or missing Contact hdr
ERROR:dialog:dlg_onreply: could not add further info to the dialog
But afterwards dialog_update_db segfaults on an invalid bind_addr, from the backtrace:
(gdb) bt
#0 0xb783c41a in dialog_update_db (ticks=771000, param=0x0) at dlg_db_handler.c:629
#1 0x080a9726 in start_timer_processes () at timer.c:282
#2 0x08069b38 in main (argc=10, argv=0xbfc6f2d4) at main.c:816
Line 629 is for my version: SET_STR_VALUE(values+8, cell->bind_addr[DLG_CALLEE_LEG]->sock_str);
(gdb) bt full
<snip>
{type = DB_STR, nul = 0, free = -1282894544, val = {int_val = 178, ll_val = -5201380350948802382, double_val = -7.7990737395388139e-40, time_val = 178, string_val = 0xb2 "", str_val = {s = 0xb2 "", len = -1211040735}, blob_val = {s = 0xb2 "", len = -1211040735}, bitmap_val = 178}}
<snip>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2797928&group_…
while compiling modules that i use, i got the 3rd last, before
compilation failed.
-- juha
make[2]: Entering directory `/usr/src/trunk-src/openxg-sip-router/modules_k/uac_redirect'
...
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64 -Wall -DNAME='"ser"' -DVERSION='"2.1.0-dev23-make"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.3.2"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -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 -DF_MALLOC -DUSE_TLS -DTLS_HOOKS -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 -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DUSE_SCTP -DOPENSER_MOD_INTERFACE -DMOD_NAME='"uac_redirect"' -c rd_funcs.c -o rd_funcs.o
rd_funcs.c: In function ??get_redirect??:
rd_funcs.c:65: error: ??struct cell?? has no member named ??first_branch??
rd_funcs.c:65: error: ??struct cell?? has no member named ??first_branch??
rd_funcs.c:65: error: ??struct cell?? has no member named ??first_branch??
rd_funcs.c:65: error: ??struct cell?? has no member named ??first_branch??
rd_funcs.c:65: error: ??struct cell?? has no member named ??first_branch??
rd_funcs.c:71: error: ??struct cell?? has no member named ??first_branch??
rd_funcs.c: In function ??shmcontact2dset??:
rd_funcs.c:267: warning: passing argument 2 of ??append_branch?? from incompatible pointer type
rd_funcs.c:275: error: too many arguments to function ??rd_acc_fct??
make[2]: *** [rd_funcs.o] Error 1