Hi!
I justed cloned the repository and executed "make", which fails when
linking:
gcc -Wl,-O2 -Wl,-E action.o atomic_ops.o basex.o bit_scan.o cfg_core.o
cfg_parser.o core_cmd.o crc.o daemonize.o data_lump.o data_lump_rpl.o
dns_cache.o dprint.o dset.o dst_blacklist.o endianness.o error.o flags.o
...
parser/sdp/sdp_helpr_funcs.o rand/fastrand.o rand/isaac/rand.o cfg/cfg.o
cfg/cfg_ctx.o cfg/cfg_script.o cfg/cfg_select.o cfg/cfg_struct.o
lex.yy.o cfg.tab.o -ldl -lresolv -o ser
cfg.tab.o: In function `yyparse':
/home/darilion/software/siprouter/sip-router/cfg.tab.c:4478: multiple
definition of `yyparse'
y.tab.o:/home/darilion/software/siprouter/sip-router/y.tab.c:4527: first
defined here
collect2: ld returned 1 exit status
make: *** [ser] Error 1
any hints?
thanks
klaus
Bugs item #2813924, was opened at 2009-06-29 13:55
Message generated for change (Tracker Item Submitted) made by marcushunger
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2813924&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: Marcus Hunger (marcushunger)
Assigned to: Nobody/Anonymous (nobody)
Summary: nathelper crash
Initial Comment:
publishing very long payload-type to the rtp-proxy overflows a buffer. see nathelper.c +2758.
v[1].iov_len must be smaller than sizeof(opts)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2813924&group_…
Bugs item #1545216, was opened at 2006-08-23 13:16
Message generated for change (Comment added) made by sjmuller
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1545216&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: core
Group: ver devel
Status: Open
Resolution: None
Priority: 3
Private: No
Submitted By: Bogdan-Andrei Iancu (bogdan_iancu)
Assigned to: Nobody/Anonymous (nobody)
Summary: Diversion header(s) parsing
Initial Comment:
The current implementation of the parse_diversion()
header parses only the first diversion header (even if
more than one header can be present).
Also the function cannot cope with multiple URIs (comma
separated) in the body of the same header since
internally it is using the parse_to() function that
expects only one URI.
----------------------------------------------------------------------
Comment By: Sam J. M. (sjmuller)
Date: 2009-06-29 11:45
Message:
Yep it's still a problem.
I'm using kamailio v.1.4.4 and it causes some disagreement with many pstn
gateways in my architecture.
. Suffixes entered in parameters'module does not apply.
. Parsing is not working.
** kamailio logs :
Jun 29 11:33:00 ser0 kamailio[1469]:
-CFU-------------------------------------
Jun 29 11:33:00 ser0 kamailio[1469]: -> call forwarding unconditional
found to 0183659999
Jun 29 11:33:00 ser0 kamailio[1469]: DBG:avpops:ops_delete_avp: 1 avps
were removed
Jun 29 11:33:00 ser0 kamailio[1469]: DBG:avpops:ops_pushto_avp: 1 avps
were processed
Jun 29 11:33:00 ser0 kamailio[1469]:
-CFU-ACC---------------------------------
Jun 29 11:33:00 ser0 kamailio[1469]: DBG:avpops:ops_delete_avp: 1 avps
were removed
Jun 29 11:33:00 ser0 kamailio[1469]: -> acc state: cfu
Jun 29 11:33:00 ser0 kamailio[1469]: -> CFU rewrited, search new contact
right now
Jun 29 11:33:00 ser0 kamailio[1469]: callee_cli=0183659999
callee_fwd=0183659996 callee_cfu=0183659999 rU=0183659999
caller_cli=0170645720
Jun 29 11:33:00 ser0 kamailio[1469]: -> append the diversion header
Jun 29 11:33:00 ser0 kamailio[1469]: DBG:core:parse_headers:
flags=40000000
Jun 29 11:33:00 ser0 kamailio[1469]: DBG:core:parse_headers:
flags=40000000
Jun 29 11:33:00 ser0 kamailio[1469]: DBG:core:pv_get_diversion: no
Diversion header
Jun 29 11:33:00 ser0 kamailio[1469]: DBG:core:parse_headers:
flags=40000000
Jun 29 11:33:00 ser0 kamailio[1469]: DBG:core:pv_get_diversion: no
Diversion header
Jun 29 11:33:00 ser0 kamailio[1469]: DBG:core:parse_headers:
flags=40000000
Jun 29 11:33:00 ser0 kamailio[1469]: DBG:core:pv_get_diversion: no
Diversion header
Jun 29 11:33:00 ser0 kamailio[1469]: -> div uri=<null> - div
privacy=<null> - div reason=<null>
** sip trace :
U 2009/06/29 11:33:00.856070 77.246.81.132:5060 -> 77.246.81.140:5060
INVITE sip:0183659999@77.246.81.140:5060;transport=udp SIP/2.0.
Record-Route:
<sip:77.246.81.132;lr=on;ftag=166b2b53fb3fb285o0;nat=yes;did=aa7.f5133295>.
Via: SIP/2.0/UDP 77.246.81.132;branch=z9hG4bKf2b2.0950c4d5.0.
Via: SIP/2.0/UDP
192.168.100.12:5060;rport=5060;received=82.229.235.185;branch=z9hG4bK-e21913cd.
From: "0170645720" <sip:0170645720@sip.720.fr>;tag=166b2b53fb3fb285o0.
To: <sip:0183659996@sip.720.fr>.
Call-ID: f7e91deb-236ca0cd(a)192.168.100.12.
CSeq: 102 INVITE.
Max-Forwards: 49.
Contact: "0170645720" <sip:0170645720@82.229.235.185:5060>.
Expires: 240.
User-Agent: Linksys/SPA942-6.1.3(a).
Content-Length: 298.
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER.
Supported: 100rel, replaces.
Content-Type: application/sdp.
Diversion: <sip:0183659996@sip.720.fr>;reason=unconditional.
Privacy: none.
Remote-Party-ID: 0170645720
<sip:0170645720@82.229.235.185>;party=calling;privacy=off;screen=yes.
P-Asserted-Identity: "0170645720" <sip:0170645720@sip.720.fr>.
Session-Expires: 120.
.
v=0.
o=- 92989 92989 IN IP4 192.168.100.12.
s=-.
c=IN IP4 77.246.81.133.
t=0 0.
m=audio 36164 RTP/AVP 18 8 0 101.
a=rtpmap:18 G729a/8000.
a=fmtp:18 annexb=yes.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
** related code :
loadmodule "diversion.so"
modparam("diversion", "suffix", ";privacy=none;counter=1")
...
if (!search("Diversion:.*"))
{
xlog("L_INFO", "-> append the diversion header");
add_diversion("unconditional");
}
else
{
xlog("L_INFO", "-> Diversion header already found,
forbidden to forward one more time");
sl_send_reply("403", "Forbidden");
exit;
}
# diversion control
xlog("L_INFO", "-> div uri=$di - div privacy=$dip - div
reason=$dir");
# return at the beginning of the callee searching
route(3);
exit;
}
----------------------------------------------------------------------
Comment By: Henning Westerholt (henningw)
Date: 2008-11-11 16:04
Message:
This bug is now more then two years old. Is this still a problem?
Henning
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1545216&group_…
Module: sip-router
Branch: master
Commit: 72a573889c0126fedee20e80ff0fb5cf9f772a49
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=72a5738…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Mon Jun 29 00:59:17 2009 +0200
sercmd: tab completion support for cfg. vars & groups
- tab completion is now supported for cfg. groups and variables
parameters for the following rpc commands: cfg.help, cfg,get,
cfg.set_now_int, cfg.set_now_string, cfg.set_delayed_int,
cfg.set_delayed_int.
E.g.:
sercmd> cfg.help t<TAB>
tcp tm
sercmd> cfg.help tm fr_<TAB>
fr_inv_timer fr_timer
sercmd> cfg.help tm fr_i<TAB>
sercmd> cfg.help tm fr_inv_timer
- tab completion fixed when spaces are in front of the command
name (e.g. sercmd> wh<TAB> works now).
---
utils/sercmd/Makefile | 2 +-
utils/sercmd/sercmd.c | 444 +++++++++++++++++++++++++++++++++++++++++++------
2 files changed, 390 insertions(+), 56 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=72a…
Module: sip-router
Branch: master
Commit: 282a314fca125783803ac67dc926519fb2ecb8df
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=282a314…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Sun Jun 28 11:52:24 2009 +0200
Merge commit 'origin/ser_core_cvs'
* commit 'origin/ser_core_cvs':
core: compile io_wait support even if -DUSE_TCP is not set
tcp: compile fix if -DUSE_TCP is not defined
sctp: compile fix if -DUSE_SCTP is not defined
---