URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0d2d4018... Author: Andrei Pelinescu-Onciul andrei@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=7f3449bd... Author: Andrei Pelinescu-Onciul andrei@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=611a9ba9... Author: Miklos Tirpak miklos@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=259b61e1... Author: Miklos Tirpak miklos@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=bd0668e6... Author: Miklos Tirpak miklos@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=19e6b61f... Author: Michal Matyska michal.matyska@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=4043c62b... Author: Miklos Tirpak miklos@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=de4df2ac... Author: Miklos Tirpak miklos@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=bf79b581... Author: Ondrej Martinek ondra@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=03b7bced... Author: Bogdan Pintea bogdan@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=d65cdd3f... Author: Bogdan Pintea bogdan@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=5137b02d... Author: Bogdan Pintea bogdan@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=eddf3e3b... Author: Bogdan Pintea bogdan@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=713d776e... Author: Bogdan Pintea bogdan@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=0f921503... Author: Bogdan Pintea bogdan@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=c7116226... Author: Bogdan Pintea bogdan@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=f62c96d8... Author: Andrei Pelinescu-Onciul andrei@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@iptel.org
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bf8dfee3... Author: Andrei Pelinescu-Onciul andrei@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@iptel.org