Module: sip-router
Branch: master
Commit: 69515cab5eefb3b272617fc46565d58e8b392619
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=69515ca…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Feb 26 23:13:59 2009 +0000
config: tcp_async alias for tcp_buf_write
- tcp_buf_write was not the best choosen name, so tcp_async was added as an
alias for it
---
NEWS | 3 ++-
cfg.lex | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index 6318d2a..f3cbfb3 100644
--- a/NEWS
+++ b/NEWS
@@ -273,9 +273,10 @@ new config variables:
will be cached inside the process calling tcp_send (performance increase
for sending over tcp at the cost of slightly slower connection closing and
extra FDs kept open)
- tcp_buf_write = yes | no (default no) - if enabled all the tcp writes that
+ tcp_async = yes | no (default no) - if enabled all the tcp writes that
would block / wait for connect to finish, will be queued and attempted
latter (see also tcp_conn_wq_max and tcp_wq_max).
+ tcp_buf_write = synonim for tcp_async
tcp_conn_wq_max = bytes (default 32 K) - maximum bytes queued for write
allowed per connection. Attempting to queue more bytes would result
in an error and in the connection being closed (too slow). If
diff --git a/cfg.lex b/cfg.lex
index 0c4ac17..e36a625 100644
--- a/cfg.lex
+++ b/cfg.lex
@@ -301,7 +301,7 @@ TCP_MAX_CONNECTIONS "tcp_max_connections"
TCP_SOURCE_IPV4 "tcp_source_ipv4"
TCP_SOURCE_IPV6 "tcp_source_ipv6"
TCP_OPT_FD_CACHE "tcp_fd_cache"
-TCP_OPT_BUF_WRITE "tcp_buf_write"
+TCP_OPT_BUF_WRITE "tcp_buf_write"|"tcp_async"
TCP_OPT_CONN_WQ_MAX "tcp_conn_wq_max"
TCP_OPT_WQ_MAX "tcp_wq_max"
TCP_OPT_DEFER_ACCEPT "tcp_defer_accept"
Hello,
There is a new page in the wiki which contains my version of the configuration
file for git:
http://sip-router.org/wiki/git/gitconfig
Some of the options were not so easy to figure out, so I decided to share the
config file to make your git learning curve less steep than mine was (and is
:-). The file is well commented.
Save the configuration file in ~/.gitconfig and set your name and email
address to your real name and real email address. After that you get your copy
of the sip-router repository using:
mkdir my_repo
cd my_repo
git init
git fetch sr
You have pulled the whole history when the last command finished. "sr" is a
shorthand for the sip-router git repository.
As the next step you can check out the master branch, this is where the most
recent source code is (it is an equivalent of the trunk in svn or HEAD in cvs):
git co -b master sr/master
"co" is an alias for checkout, this alias is defined in the configuration
file.
So now you have your very own copy of the sip-router repository, but that's
not all, you can also pull the whole kamailio repository into it:
g fetch km
"km" is a shorthand for the git mirror of the kamailio svn repository. This
command will produce a lot of output (don't be scared) and after it finishes
you will have the full history of both projects--sip-router and kamailio--in
your local git repository. You can, for example, check out kamailio svn trunk
using:
git co -b kam_trunk km/trunk
And now you have the sources from kamailio trunk in your working directory.
You can, of course do the same for SER from CVS, to get the latest sources of
ser:
git fetch cvs
"cvs" is a shorthand for the git import of the ser cvs repository. Now you can
switch to cvs trunk using:
git co -b cvs_trunk cvs/cvs-head
And now you have the latest ser sources in your working directory.
And the last repository you can fetch from is the opensips git import:
git fetch os
git co -b opensips_trunk os/trunk
And you have the latest sources from opensips trunk.
To display all branches from all repositories run:
git branch -a
The most important branches are:
sr/master - Latest version of sip-router core
cvs/cvs-head - Latest version of ser from cvs
km/trunk - Kamailio svn trunk
km/1.4 - Kamailio branch with release 1.4
os/trunk - Opensips svn trunk
Jan.
Module: sip-router
Branch: master
Commit: 90bb3224cc75db8dbaab3c2c21c54dddad544b79
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=90bb322…
Author: Jan Janak <jan(a)iptel.org>
Committer: Jan Janak <jan(a)iptel.org>
Date: Mon Feb 23 22:58:35 2009 +0100
Merge branch 'master' of ssh://janakj@git.sip-router.org/sip-router
* 'master' of ssh://janakj@git.sip-router.org/sip-router:
tcp: fix compilation problem on solaris (FIONREAD)
core: fix bad level name in new LOG()
t_check_status() checks also the blind UACs if t_pick_branch()
Documenting t_lookup_cancel() script function.
Removing set_t() from t_lookup_cancel() function, and introducing
updated udp_mtu handling code - fixes SER-433
documenting t_is_expired() function
t_is_expired() script function is introduced.
* logging API updated (see doc/logging-api.txt for details)
- AS support disabled by default.
When building the route set of ACKs for local UACs, only the reply is now
In case the AVP is a regexp, an allocation is required to build an AVP
Currently, SER matches E2E ACKs only if there is an equality between From HF
The calculate_routeset_length() produces an invalid result in the case
'memapp' and 'append_mem_block' are now both only used in source
"Route :" prefix (and separator) is used some more time across the
script: udp_mtu fallback script config & commands
core: forward: tcp fallback for big udp packets
---
Hello,
I started converting kamailio modules yesterday, in the first step I'm trying
to see if I can make them compile and load. I haven't tried to verify if they
really work. Currently I can compile the following kamailio modules:
acc
auth
auth_db
auth_diameter
auth_radius
alias_db
benchmark
db_unixodbc
carrierroute
cfgutils
db_berkeley
db_flatstore
db_mysql
db_oracle
db_postgres
db_text
db_unixodbc
diversion
exec
h350
maxfwd
misc_radius
mi_xmlrpc
pdt
peering
permissions
pike
regex
rr
sanity
siputils
speeddial
sqlops
statistics
uri_db
userblacklist
xcap_client
xlog
There is 93 modules in kamailio repository, that means I can currently compile
about 40% of them on the sip-router core.
Most of the modules above required some manual changes, but not exteremely
complicated. The biggest issue is extra stuff in kamalio core which is missing
(or present on other modules) in the sip-router core. I created a new shared
library called libkcore and whenever I find that something is missing in
sip-router, I take it from kamailio and put it in the library.
It's not that nice because there will be duplicated code, but I think we
should first try to make everything compile and then we can think about how to
organize the code better.
Jan.
Hello,
I was wondering what is the purpose of wrappers like this one:
/*!
* \brief Small wrapper around MD5Update
*
* Small wrapper around MD5Update, because everybody uses this on 'str' types
* \param context MD5 context
* \param input input block
* \param inputLen length of input block
* \note please not use this in new code
* \todo review and fix all wrong usage
*/
static inline void MD5Update (MD5_CTX *context, char *input, unsigned int
inputLen)
{
return U_MD5Update(context, (unsigned char *)input, inputLen);
}
And this is U_MD5Update:
void U_MD5Update (MD5_CTX *context, unsigned char *input, unsigned int
inputLen)
Jan.