[SR-Dev] New commits on branch ser_core_cvs
Andrei Pelinescu-Onciul
andrei at iptel.org
Fri Feb 20 17:24:08 CET 2009
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0d2d4018911c0294bc3f114be3ae5eb68c15d76c
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Mon Feb 16 17:20:17 2009 +0000
tcp: fix compilation problem on solaris (FIONREAD)
- on solaris include <sys/filio.h> if present, else define BSD_COMP before
including ioctl.h.
Reported-by: Vance Shipley vances at motivity ca.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7f3449bdd625ace03f5f3c2f239eeb95ad23f719
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Mon Feb 16 15:35:56 2009 +0000
core: fix bad level name in new LOG()
- the syslog LOG_() used log_level_info[(level)].name (which
produced a wrong log level) instead of LOG_LEVEL2NAME(level)
- coding style fixes ( lines < 80 chars)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=611a9ba9506d9875376941279a6129724954e5ed
Author: Miklos Tirpak <miklos at iptel.org>
Date: Wed Jan 28 14:49:55 2009 +0000
t_check_status() checks also the blind UACs if t_pick_branch()
fails to determine the picked branch in failure_route.
Closes SER-434.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=259b61e1c33842281cdf90b79c5f6818f34f19fc
Author: Miklos Tirpak <miklos at iptel.org>
Date: Tue Jan 20 12:45:20 2009 +0000
Documenting t_lookup_cancel() script function.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bd0668e693ceed4158357655f6c14e07093ef93a
Author: Miklos Tirpak <miklos at iptel.org>
Date: Tue Jan 20 10:38:50 2009 +0000
Removing set_t() from t_lookup_cancel() function, and introducing
an optional parameter. See the bug report SER-432.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=19e6b61fceba98d1b8681e0550835fc56e8136b7
Author: Michal Matyska <michal.matyska at iptel.org>
Date: Mon Jan 19 15:47:25 2009 +0000
updated udp_mtu handling code - fixes SER-433
- call apply lumps with the original send_info, so the lumps are generated the same way their length was calculated, so there is no buffer overflow.
- this has also the expected and wanted side-effect that the record route is done as the outgoing path would be UDP (do not insert double record-route header)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4043c62b92670eb8bc6a5ae11bab2956aacc0ca7
Author: Miklos Tirpak <miklos at iptel.org>
Date: Fri Jan 16 09:47:58 2009 +0000
documenting t_is_expired() function
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=de4df2aca9f08508ffc7dca9799eccb8e4692f8b
Author: Miklos Tirpak <miklos at iptel.org>
Date: Fri Jan 16 09:24:49 2009 +0000
t_is_expired() script function is introduced.
It returns true if the transaction lifetime timer has already been
expired.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bf79b5818d0f954d6b12cdcf82c6d2dec5a83899
Author: Ondrej Martinek <ondra at iptel.org>
Date: Tue Jan 6 17:14:12 2009 +0000
* logging API updated (see doc/logging-api.txt for details)
- LOG(LEVEL, FMT, ARGS...) and the short macro corresponding to
LEVEL level made eqvivalent (eg. LOG(L_DBG, FMT, ARGS...) and
DBG(FMT, ARGS...) prints always the same message)
- changed the format of log messages produced by the macros
to include the log level, module name, filename, line (if applicable)
- added new, internal LOG_(LEVEL, PREFIX, FORMAT, ARGS...) macro
- removed DPrint() and DEBUG() macros, L_DEFAULT log level and dprint()
function
!!!
!!! IMPORTANT! READ ME!
!!!
These changes (mainly the first two) require reformating of the most log
messages in SER core and module source files. This step can be done
automatically by running "scripts/logging/fix-logs-all" script BUT it
was NOT originally performed because it would have generated too many
changes in CVS which was discouraged by Andrei. Instead, the developers
are expected to run it when ready.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=03b7bced95bfd4ec559a8879f1ee06a668d6160d
Author: Bogdan Pintea <bogdan at iptego.com>
Date: Mon Jan 5 21:32:26 2009 +0000
- AS support disabled by default.
- added forgotten define guards for a mem free specific to AS support code
only.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d65cdd3fd4ad8faab49744d494990e17c80a237f
Author: Bogdan Pintea <bogdan at iptego.com>
Date: Mon Jan 5 21:26:44 2009 +0000
When building the route set of ACKs for local UACs, only the reply is now
evaluated; this is insufficient, since replies to in-dialog requests normally
miss the route set. The patch fixes that: evals INVITE, if this was in-dialog;
otherwise, the reply (since the req. doesn't have yet complete route set).
Add support for the SASI if'ace, adding the implemenation for two more TM API
functions:
- t_get_canceled_ident(): returns the hash coordinates (bucket/index) of the
transaction the currently processed CANCEL is targeting
- ack_local_uac(): allow generating the ACKs for 2xx'ed locally originated
INVITEs - new headers and body can now also be appended to it.
Fully closes #SER-346.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5137b02df449bd2797d0f966edbd2c0646351348
Author: Bogdan Pintea <bogdan at iptego.com>
Date: Sun Jan 4 15:34:54 2009 +0000
In case the AVP is a regexp, an allocation is required to build an AVP
"ident". The patch adds the functionality to free it.
Closes #SER-344.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=eddf3e3b7b3db814742b097224a26c6c726ac255
Author: Bogdan Pintea <bogdan at iptego.com>
Date: Sun Jan 4 15:27:39 2009 +0000
Currently, SER matches E2E ACKs only if there is an equality between From HF
in INVITE and ACK. While this is pretty safe, there are UAs that do mess small
things, like display name, or some bigger ones, like URI, in generated ACK.
However, matching over the full URI (or worse, HF) is not needed and was even
intended for deprecation (see 1st comment of 3261#Sec. 12.2.1.1).
The applied patch should boost a bit the matching flexibility - only compare
the tag.
Closes #SER-419.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=713d776ef5650bab6b69d234ac06234bddaea086
Author: Bogdan Pintea <bogdan at iptego.com>
Date: Sun Jan 4 15:02:11 2009 +0000
The calculate_routeset_length() produces an invalid result in the case
dlg_t.hooks.last_route is set (and .first_route not).
Applied patch fixes that (and should hopefully be a bit cleaner).
Closes #SER-421.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0f92150395f4738adab7ddb1edd36eaeaa2723bf
Author: Bogdan Pintea <bogdan at iptego.com>
Date: Sun Jan 4 14:58:36 2009 +0000
'memapp' and 'append_mem_block' are now both only used in source
t_msgbuilder.c. Applied patch removes the definition of both from .h.: memapp
moved to .c, append_mem_block only left in .c.
(Interestingly, gcc complained over different definitions, but accepted same
definition twice, for same identifier.)
Closes #SER-422.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c711622635f1116e940622015b0f208b048d3a88
Author: Bogdan Pintea <bogdan at iptego.com>
Date: Sun Jan 4 14:52:42 2009 +0000
"Route :" prefix (and separator) is used some more time across the
source. It was defined 3 times (with a small variation). Applied patch
moves the definition to global config.h.
Closes #SER-420.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f62c96d86913ebd0087207921a399fc58ab2a2c3
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Thu Dec 18 16:09:16 2008 +0000
script: udp_mtu fallback script config & commands
new config variables:
- udp_mtu = number - size in bytes after which fallback to
another protocol will be attempted. Default 0 (off),
recommended 1300.
- udp_mtu_try_proto = TCP|TLS|SCTP|UDP - protocol to fallback to.
Default: UDP (off).
- force_rport = yes|no - global force_rport().
new script commands:
- udp_mtu_try_proto(TCP|TLS|SCTP|UDP) - like udp_mtu_try_proto
above but works on a per packet basis and not globally.
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bf8dfee3a6fdc9fcfaae4a8a95bb38f64c157071
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Thu Dec 18 16:06:03 2008 +0000
core: forward: tcp fallback for big udp packets
- support for tcp, tls or sctp fallback for udp forwarded requests
that end up bigger then udp_mtu (configurable, disabled by
default). For such messages only the Via is changed (for example
the original built for udp Record-Route is kept untouched so
that subsequent messages in the dialog will use udp if smaller
then udp_mtu).
- udp_mtu and udp_mtu_try_proto (fallback proto) can be changed at
runtime via the cfg framework
(e.g. sercmd cfg.set_now_int core udp_mtu 1300;
cfg.set_now_int core udp_mtu_try_proto 2 )
- force_rport can now be set globally using the config framework
(e.g. sercmd cfg.set_now_int core force_rport 1 )
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
More information about the sr-dev
mailing list