sip-router
9 years agocore: function for getting the name of a protocol
Andrei Pelinescu-Onciul [Wed, 22 Sep 2010 10:44:06 +0000 (12:44 +0200)]
core: function for getting the name of a protocol

Added a new function to ip_addr.h, for converting the internal
protocol number to an ascii name (proto2a(...)).

9 years agopike(k): more notes about remove_latency
Daniel-Constantin Mierla [Thu, 23 Sep 2010 18:30:36 +0000 (20:30 +0200)]
pike(k): more notes about remove_latency

- clarification about the meaning of this parameter upon report by
  Miguel Baptista

9 years agokamailio.cfg: added flood detection
Daniel-Constantin Mierla [Thu, 23 Sep 2010 16:40:48 +0000 (18:40 +0200)]
kamailio.cfg: added flood detection

- can be enabled via #!define WITH_ANTIFLOOD
- uses pike to detect flood and htable to ban the IP for a while

9 years agokamctl: include .base lib before sercmd detection
Daniel-Constantin Mierla [Thu, 23 Sep 2010 11:27:27 +0000 (13:27 +0200)]
kamctl: include .base lib before sercmd detection

- merr() function is declared there

9 years agomodules_k/regex Fixed a memory leak when using pcre regex
Marius Zbihlei [Wed, 22 Sep 2010 15:35:37 +0000 (18:35 +0300)]
modules_k/regex Fixed a memory leak when using pcre regex

The compiled regular expression when using pcre_match was not freed.
(cherry picked from commit 61f4d7f12723c4a3d989d37a414433e5ed71abff)

9 years agomodules_k/rtpproxy: Removing nathelper restriction for forcing
Ovidiu Sas [Wed, 22 Sep 2010 16:57:50 +0000 (12:57 -0400)]
modules_k/rtpproxy: Removing nathelper restriction for forcing
                    RTP packets only for INVITE type SIP requests.

 - in dialog requests like UPDATE are valid SIP request that can update the SDP.

9 years agosip-router*.cfg: enable warning by default
Andrei Pelinescu-Onciul [Wed, 22 Sep 2010 10:41:45 +0000 (12:41 +0200)]
sip-router*.cfg: enable warning by default

sip_warning is enabled by default (very useful for debugging, I wouldn't
a proxy without it). This is needed because the default value
changed in 3.1 (from on to off).

9 years agosercmd: increase internal buffers
Andrei Pelinescu-Onciul [Wed, 22 Sep 2010 10:33:12 +0000 (12:33 +0200)]
sercmd: increase internal buffers

Increase sizes for maximum reply and maximum body (send) to
64k, maximum command arguments number to 256 and maximum line
size to 16k.

Reported-by: Daniel-Constantin Mierla <miconda@gmail.com>
Reported-by: Juha Heinanen jh tutpro com
9 years agodebugger: updates examples for latest version
Daniel-Constantin Mierla [Wed, 22 Sep 2010 10:31:01 +0000 (12:31 +0200)]
debugger: updates examples for latest version

9 years agodebugger: removed implemented to-do list
Daniel-Constantin Mierla [Wed, 22 Sep 2010 09:53:00 +0000 (11:53 +0200)]
debugger: removed implemented to-do list

9 years agomakefile: don't try to build docs for empty modules
Andrei Pelinescu-Onciul [Tue, 21 Sep 2010 15:34:40 +0000 (17:34 +0200)]
makefile: don't try to build docs for empty modules

- don't try to build READMEs for modules directories without
  Makefiles
- don't try to build manpages for modules that do not have the
  corresponding xml file
- don't install docs for modules without Makefiles (remains of
 deleted modules)

9 years agopresence(k): refresh watchers function exported to config
Daniel-Constantin Mierla [Tue, 21 Sep 2010 14:46:40 +0000 (16:46 +0200)]
presence(k): refresh watchers function exported to config

9 years agoxcap_server: added example of handling xcap-caps request
Daniel-Constantin Mierla [Tue, 21 Sep 2010 13:20:08 +0000 (15:20 +0200)]
xcap_server: added example of handling xcap-caps request

9 years agomakefile: xcap_server added to the excluded list
Andrei Pelinescu-Onciul [Tue, 21 Sep 2010 12:48:19 +0000 (14:48 +0200)]
makefile: xcap_server added to the excluded list

Not compiled by default because it depends on libxml2.

9 years agoiptrtpproxy: minor doc updates
Andrei Pelinescu-Onciul [Tue, 21 Sep 2010 12:13:17 +0000 (14:13 +0200)]
iptrtpproxy: minor doc updates

- minor fixes + note about setting iptdir in Makefile
- README regenerated

9 years agoiptrtpproxy: s/cfg_parse/sr_cfg_parse/
Andrei Pelinescu-Onciul [Tue, 21 Sep 2010 12:02:31 +0000 (14:02 +0200)]
iptrtpproxy: s/cfg_parse/sr_cfg_parse/

cfg_parse name changed into sr_cfg_parse (since commit 50ca02e5).

9 years agoiptrtpproxy: makefile LIBS update
Andrei Pelinescu-Onciul [Tue, 21 Sep 2010 12:01:07 +0000 (14:01 +0200)]
iptrtpproxy: makefile LIBS update

Look for libipt_RTPPROXY first under /lib/xtables (default install
dir) and if not found in $(iptdir)/extensions (compile dir).

9 years agomakefile: xmlops added to the excluded list
Andrei Pelinescu-Onciul [Tue, 21 Sep 2010 11:56:40 +0000 (13:56 +0200)]
makefile: xmlops added to the excluded list

Not compiled by default because it depends on libxml2.

9 years agocore: tcp_read.c insensitive search for HTTP11 headers
root [Tue, 21 Sep 2010 12:11:33 +0000 (13:11 +0100)]
core: tcp_read.c insensitive search for HTTP11 headers

9 years agoxcap_client: defined xcap-caps auid type
root [Tue, 21 Sep 2010 12:10:53 +0000 (13:10 +0100)]
xcap_client: defined xcap-caps auid type

9 years agoxcap_server: set content-type per auid in reply
root [Tue, 21 Sep 2010 12:09:42 +0000 (13:09 +0100)]
xcap_server: set content-type per auid in reply

- accept also xcap-caps auid

9 years agocore: no 2nd via log message set to info level
Daniel-Constantin Mierla [Mon, 20 Sep 2010 15:43:38 +0000 (17:43 +0200)]
core: no 2nd via log message set to info level

- replies to self requests have no 2nd via

9 years agoxcap_client: include mi header file
Daniel-Constantin Mierla [Mon, 20 Sep 2010 15:01:14 +0000 (17:01 +0200)]
xcap_client: include mi header file

9 years agoMakefile: log func name for kamailio flavour
Daniel-Constantin Mierla [Mon, 20 Sep 2010 13:47:44 +0000 (15:47 +0200)]
Makefile: log func name for kamailio flavour

- default behavior in 1.5.x

9 years agokamctl: more auto-discovery for sercmd
Daniel-Constantin Mierla [Mon, 20 Sep 2010 09:04:46 +0000 (11:04 +0200)]
kamctl: more auto-discovery for sercmd

- try locations like same dir with kamctl, or ../sercmd/ in case is run
  from sources
- default names for sercmd commands are 'sercmd' and 'sercmd_mi' to
  match tool name as ser is another application, old names can still be
  used

9 years agoutils/misc: added vim syntax and auto-detect scripts
Daniel-Constantin Mierla [Sat, 18 Sep 2010 20:16:33 +0000 (22:16 +0200)]
utils/misc: added vim syntax and auto-detect scripts

9 years agokamailio.cfg: added #!ifdef LOCAL_TEST_RUN condition
Daniel-Constantin Mierla [Sat, 18 Sep 2010 19:48:07 +0000 (21:48 +0200)]
kamailio.cfg: added #!ifdef LOCAL_TEST_RUN condition

- if defined, modules are searched in source tree
(e.g., start kamailio with -A LOCAL_TEST_RUN)
- useful for local testing of config, imported style from ser configs

9 years agodialog(k): removed unused variable
Daniel-Constantin Mierla [Sat, 18 Sep 2010 19:23:56 +0000 (21:23 +0200)]
dialog(k): removed unused variable

9 years agodb_postgres: reset row_buf for each row
Daniel-Constantin Mierla [Sat, 18 Sep 2010 09:58:21 +0000 (11:58 +0200)]
db_postgres: reset row_buf for each row

- DB1 interface was reusing local buffer to convert returned rows,
  resulting in misusage of values from previous rows for null values
- reported by Jan Klepal

9 years agoacc(k): readme regenerated
Daniel-Constantin Mierla [Sat, 18 Sep 2010 09:27:01 +0000 (11:27 +0200)]
acc(k): readme regenerated

9 years agousrloc(k): updated index of domain column
Daniel-Constantin Mierla [Sat, 18 Sep 2010 09:24:20 +0000 (11:24 +0200)]
usrloc(k): updated index of domain column

- index is 14
- harmless case since domain value is tested against null as well

9 years agoenhance docs
Klaus Darilion [Fri, 17 Sep 2010 14:29:36 +0000 (16:29 +0200)]
enhance docs

describe that the ACK tm callback is executed in INVITE context

9 years agocore: print function name in LOG messages
Andrei Pelinescu-Onciul [Sat, 11 Sep 2010 17:11:23 +0000 (19:11 +0200)]
core: print function name in LOG messages

Compile time define for printing the function name by default in
log messages. Can be turned on by compiling with -DLOG_FUNC_NAME
 (e.g. make cfg extra_defs=-DLOG_FUNC_NAME) and turned off
by recompiling with -DNO_LOG_FUNC_NAME.
It's also turned off if the compiler does not support it (non C99
 and no known workaround).
The default it's off.

9 years agoModules_k:usrloc Fixed syntax errors on documentation of modules.
Marius Zbihlei [Tue, 14 Sep 2010 08:42:42 +0000 (11:42 +0300)]
Modules_k:usrloc Fixed syntax errors on documentation of modules.

9 years agomodules_k/rtpproxy: fix crash related to SDP without ssession IP
Ovidiu Sas [Mon, 13 Sep 2010 19:03:57 +0000 (15:03 -0400)]
modules_k/rtpproxy: fix crash related to SDP without ssession IP

 - when the IP address is provided only in the SDP stream description
and not in the SDP session description, the rtpproxy module was crashing
due to wrong check of the IP address length.
 - thanks to Daniel Constantin Mierla for reporting and investigating this.

9 years agopdbt: fix URL for german carrier names, filtering is not yet working completely
Henning Westerholt [Mon, 13 Sep 2010 17:12:36 +0000 (19:12 +0200)]
pdbt: fix URL for german carrier names, filtering is not yet working completely

9 years agopdbt: script for finish carrier IDs, from Mikko Lehto, mikko dot lehto at setera...
Henning Westerholt [Mon, 13 Sep 2010 16:41:50 +0000 (18:41 +0200)]
pdbt: script for finish carrier IDs, from Mikko Lehto, mikko dot lehto at setera dot fi

9 years agopdbt: fix wrong help output and comment, reported from Mikko Lehto, mikko dot lehto...
Henning Westerholt [Mon, 13 Sep 2010 16:37:38 +0000 (18:37 +0200)]
pdbt: fix wrong help output and comment, reported from Mikko Lehto, mikko dot lehto at setera dot fi

9 years agocore: add #!subst rule at the end of list
Daniel-Constantin Mierla [Mon, 13 Sep 2010 10:09:19 +0000 (12:09 +0200)]
core: add #!subst rule at the end of list

- fixed loop in resolving many #!subst rules

9 years agopresence_xml: added include file to get rid of warning
Daniel-Constantin Mierla [Mon, 13 Sep 2010 09:19:45 +0000 (11:19 +0200)]
presence_xml: added include file to get rid of warning

9 years agoxmlrpc: fixed c&p module name error
Daniel-Constantin Mierla [Sun, 12 Sep 2010 09:47:37 +0000 (11:47 +0200)]
xmlrpc: fixed c&p module name error

- reported by Juha Heinannen

9 years agoxmlrpc: fixed non-sip filter out
Daniel-Constantin Mierla [Fri, 10 Sep 2010 19:38:31 +0000 (21:38 +0200)]
xmlrpc: fixed non-sip filter out

- issue introduced in previous commit

9 years agotls: doc - CRL howto and expected default ca section
Andrei Pelinescu-Onciul [Thu, 9 Sep 2010 20:08:29 +0000 (22:08 +0200)]
tls: doc - CRL howto and expected default ca section

- note about the expected default_ca section paths in openssl.cnf
 (dir = ./demoCA a.s.o), needed for the example/howto to work.

- added a section about revoking a certificate

9 years agotls: CRL support
Andrei Pelinescu-Onciul [Thu, 9 Sep 2010 18:50:24 +0000 (20:50 +0200)]
tls: CRL support

Support for certificate revocation lists.
Patch by Couprie Geoffroy  geoffroy.couprie atosorigin com
(FS#88) ported to 3.1 (config framework, relative pathname support)
and with more docs.

Closes FS#88.

9 years agoacc_radius(k): fixed typo in docs' module name
Daniel-Constantin Mierla [Wed, 8 Sep 2010 18:37:04 +0000 (20:37 +0200)]
acc_radius(k): fixed typo in docs' module name

9 years agodispatcher(k): fixes to call load dispatching
Daniel-Constantin Mierla [Wed, 8 Sep 2010 17:46:26 +0000 (19:46 +0200)]
dispatcher(k): fixes to call load dispatching

- this alg implementation was not completed before
- exported some functions and parameters to cfg in order to cope with
  stateless proxy mode

9 years agodispatcher: updated documentation
Daniel-Constantin Mierla [Wed, 8 Sep 2010 17:45:19 +0000 (19:45 +0200)]
dispatcher: updated documentation

- added new parameters and functions
- updated the docs about dispatcher list file

9 years agokamctl: regenerate db creation scripts
Daniel-Constantin Mierla [Wed, 8 Sep 2010 17:44:09 +0000 (19:44 +0200)]
kamctl: regenerate db creation scripts

- lcr and dispatcher had new structure in xml

9 years agodb schema: added missing column in dispatcher table
Daniel-Constantin Mierla [Wed, 8 Sep 2010 17:42:53 +0000 (19:42 +0200)]
db schema: added missing column in dispatcher table

- version set to 4

9 years agoimprove documentation of is_direction() function
Klaus Darilion [Wed, 8 Sep 2010 12:57:48 +0000 (14:57 +0200)]
improve documentation of is_direction() function

9 years agodispatcher(k): updated docs for ds_ping_method
Daniel-Constantin Mierla [Wed, 8 Sep 2010 10:30:19 +0000 (12:30 +0200)]
dispatcher(k): updated docs for ds_ping_method

- statement was obsoleted
- reported by klaus.lists at inode.at

9 years agoxmlrpc: allow chaining with xhttp module
Daniel-Constantin Mierla [Wed, 8 Sep 2010 09:31:31 +0000 (11:31 +0200)]
xmlrpc: allow chaining with xhttp module

- the module was intercepting all HTTP module, without a nice way to
  dispach HTTP traffic between this module and xhttp
- added new parameters that can select which HTTP requests to be handled
  by xmlrpc based on URL regexp matches
  - url_skip - if the regexp is matched, then xmlrpc will not handle the
request
  - url_match - if the regexp is matched, then xmlrpc will handle the
request
- url_skip is checked first
- default values are NULL, which means matching all HTTP requests
  (default behaviour so far)

9 years agoxhttp: allow chaining with xmlrpc module
Daniel-Constantin Mierla [Wed, 8 Sep 2010 09:28:27 +0000 (11:28 +0200)]
xhttp: allow chaining with xmlrpc module

- new parameter url_skip to skip execution of xhttp event route if the
  HTTP URL matches the regexp
- e.g., allow to execute all HTTP requests to /RPC2 via xmlrpc module
  with skip_url="^/RPC2"

9 years agokamailio.cfg: removed unused uri_db module
Daniel-Constantin Mierla [Wed, 8 Sep 2010 08:28:58 +0000 (10:28 +0200)]
kamailio.cfg: removed unused uri_db module

9 years agokamailio.cfg: cfg flags values set via defines
Daniel-Constantin Mierla [Wed, 8 Sep 2010 08:16:02 +0000 (10:16 +0200)]
kamailio.cfg: cfg flags values set via defines

9 years agodispatcher(k): updated docs with default value for ds_ping_interval
Daniel-Constantin Mierla [Tue, 7 Sep 2010 19:28:39 +0000 (21:28 +0200)]
dispatcher(k): updated docs with default value for ds_ping_interval

- in source code is 0
- reported by Klaus Darilion

9 years agoutils/route_graph: support for event route
Daniel-Constantin Mierla [Tue, 7 Sep 2010 18:46:22 +0000 (20:46 +0200)]
utils/route_graph: support for event route

9 years agotls.cfg: use local file paths
Andrei Pelinescu-Onciul [Tue, 7 Sep 2010 17:08:09 +0000 (19:08 +0200)]
tls.cfg: use local file paths

Use local paths, relative to the source/compile directory
(./modules/tls/*). This allows starting with -A LOCAL_TEST_RUN
with one of the sip-router*.cfg without having to edit any path in
tls.cfg.
On install-cfg, the local path is changed to an absolute path
to the installed certificates/keys/ca list (see 0efe88e).

9 years agosip-router*.cfg: defines, links, test run support
Andrei Pelinescu-Onciul [Tue, 7 Sep 2010 16:20:40 +0000 (18:20 +0200)]
sip-router*.cfg: defines, links, test run support

- added links to docs, ser_ctl, serweb and sr-users mailing list
  address

- feature defines compatible with kamailio.cfg: WITH_DEBUG,
  WITH_TLS, WITH_XMLRPC (can be enabled by uncommenting the
  corresponding #!define or by starting ser with -A WITH_XXXX)

- XMLRPC_TLS_ONLY define: when enabled XMLRPC will be allowed only
  on TLS and only from clients with valid certificates.

- XMLRPC_ALLOW_NET1, XMLRPC_ALLOW_NET2, XMLRPC_ALLOW_NET3 defines:
  when enabled they must contain a valid network address (e.g.
  10.0.0.0/8). xmlrpc requests will be accepted only from
  localhost (always) and from clients with source addresses
  matching one of the XMLRPC_ALLOW_NET[1-3] defines.
  E.g.: ser -A WITH_XMLRPC -A XMLRPC_ALLOW_NET1=10.0.0.0/8  ....

- LOCAL_TEST_RUN define: when enabled ser will assume it is
  not installed and that it is started from the source/compile
  directory (as opposed to an installed version). All the modules
  will be searched in modules*/modulename/modulename.so and all the
  other files referenced in the config will be relative to the
  working directory (and not the ser config file directory).

- multicast replication listen address set to udp only (avoids
  warnings on startup)

- load sl after tm (the new merged sl prints a warning if tm is
  not loaded first)

- use ser instead of sip-router for the DB names/uris and ctl
  sockets

- use a XMLRPC specific route

- XMLRPC bug workaround for xmlrpclib (which waits for an EOF
  before interpreting the response).

9 years agotls: doc - notes about filename path
Andrei Pelinescu-Onciul [Tue, 7 Sep 2010 16:06:53 +0000 (18:06 +0200)]
tls: doc - notes about filename path

- notes about how filename path are resolved in function of the
  first character.
- regenerated README.

9 years agotls: relative file path support & license changes
Andrei Pelinescu-Onciul [Tue, 7 Sep 2010 15:43:26 +0000 (17:43 +0200)]
tls: relative file path support & license changes

- support relative path for private_key, ca_list and certificate.
If the filename starts with  '.' or '..' the path will be
considered to be relative to the working directory (otherwise if
it does not start with '/' it will be relative to the main ser.cfg
 file directory). The relative path is supported both for modparam
 and for value loaded from the tls.cfg file.

- BSDed and removed FSF (c) from tls_domain.[ch] (the only code
  remaining somewhat similar with the tls experimental module is
  1 typedef).

9 years agoiptrtpproxy: cfg_parser api update
Andrei Pelinescu-Onciul [Tue, 7 Sep 2010 15:10:44 +0000 (17:10 +0200)]
iptrtpproxy: cfg_parser api update

Update cfg_parser_init() usage.

9 years agoldap(s): cfg_parser api update
Andrei Pelinescu-Onciul [Tue, 7 Sep 2010 15:09:35 +0000 (17:09 +0200)]
ldap(s): cfg_parser api update

Update cfg_parser_init() use.

9 years agocfg_parser: allow relative paths for the cfg file
Andrei Pelinescu-Onciul [Tue, 7 Sep 2010 15:03:53 +0000 (17:03 +0200)]
cfg_parser: allow relative paths for the cfg file

Allow relative parhs in the cfg_parser framework (used by the tls
module, ldap(s) and iptrtpproxy), by adding a new "basedir"
parameter to cfg_parser_init().
If basedir == 0 and the filename does not start with '/', the
filename path will be considered to be relative to the main ser
config file (e.g. ser -f /etc/ser/ser.cfg => relative to /etc/ser/ ).
This was the previous behaviour.
If basedir == "" the filename path will be considered to be
relative to the working directory (ser -w /tmp => relative to
/tmp).
For other basedir values, the filename path will be considered to
be relative to basedir.

9 years agotls: fix wrong string variable length overwrite
Andrei Pelinescu-Onciul [Tue, 7 Sep 2010 14:57:33 +0000 (16:57 +0200)]
tls: fix wrong string variable length overwrite

Some per-domain config string variables (cert_file, ca_file,
pkey_file & cipher_list) had their length truncated to that of the
corresponding variable in the parent domain.
Mostly invisible since the string length was in general ignored
(asciiz strings).

9 years agotls: fix default file names startup bug
Andrei Pelinescu-Onciul [Tue, 7 Sep 2010 14:51:29 +0000 (16:51 +0200)]
tls: fix default file names startup bug

When the default file names for private_key, ca_list and
certificate were not changed, the tls module crashed on startup
when attempting to free() the static default values (when
attempting to replace them with absolute paths).

Reported-by: Daniel-Constantin Mierla <miconda@gmail.com>
9 years agokamailio.cfg: listen on TLS available via define
Daniel-Constantin Mierla [Mon, 6 Sep 2010 22:31:15 +0000 (00:31 +0200)]
kamailio.cfg: listen on TLS available via define

- use #!define WITH_TLS to start listening on tls

9 years agoMakefile: update path to cfg dir at install
Daniel-Constantin Mierla [Mon, 6 Sep 2010 22:28:50 +0000 (00:28 +0200)]
Makefile: update path to cfg dir at install

- in case some parameters use absolute path to cfg dir, they are updated
  with $cfg_target value

9 years agokamailio.cfg: multi-domain support handled via define
Daniel-Constantin Mierla [Mon, 6 Sep 2010 21:09:23 +0000 (23:09 +0200)]
kamailio.cfg: multi-domain support handled via define

- #!define WITH_MULTIDOMAIN can be used to enable multi-domain support

9 years agokamailio.cfg: alias_db lookup enabled by define
Daniel-Constantin Mierla [Mon, 6 Sep 2010 20:34:36 +0000 (22:34 +0200)]
kamailio.cfg: alias_db lookup enabled by define

- replaced the alias_db related comments with defines
- lookup in db-aliases can be enabled now by #!define WITH_ALIASDB

9 years agotls.cfg: update paths during installation
Daniel-Constantin Mierla [Mon, 6 Sep 2010 20:21:00 +0000 (22:21 +0200)]
tls.cfg: update paths during installation

- path to certificates is absolute and set to cfg dir

9 years agoratelimit(s): moved to obsolete
Ovidiu Sas [Sat, 4 Sep 2010 12:22:22 +0000 (08:22 -0400)]
ratelimit(s): moved to obsolete

9 years agoratelimit(k): promoted to generic
Ovidiu Sas [Sat, 4 Sep 2010 12:20:30 +0000 (08:20 -0400)]
ratelimit(k): promoted to generic

9 years agodoc: cfg_list regenerated
Andrei Pelinescu-Onciul [Thu, 2 Sep 2010 16:22:06 +0000 (18:22 +0200)]
doc: cfg_list regenerated

9 years agodoc: rpc_list regenerated
Andrei Pelinescu-Onciul [Thu, 2 Sep 2010 16:21:05 +0000 (18:21 +0200)]
doc: rpc_list regenerated

9 years agodoc: rpc_list: updated list of files with rpc defs
Andrei Pelinescu-Onciul [Thu, 2 Sep 2010 16:07:40 +0000 (18:07 +0200)]
doc: rpc_list: updated list of files with rpc defs

Removed modules_s/sl, added counters, malloc_test, sl (merged
version), dialog and ratelimit(k) to the default list.

9 years agodoc: cfg_list: updated list of cfg defs files
Andrei Pelinescu-Onciul [Thu, 2 Sep 2010 15:51:04 +0000 (17:51 +0200)]
doc: cfg_list: updated list of cfg defs files

Removed ratelimit(k) (no longer contains runtime cfg vars) and
added carrierroute, malloc_test and tls to the default list.

9 years agoalso add pdb files to ignore list
Henning Westerholt [Thu, 2 Sep 2010 16:42:44 +0000 (18:42 +0200)]
also add pdb files to ignore list

9 years agoadd generated man pages to git ignore list, reported from Ovidiu
Henning Westerholt [Thu, 2 Sep 2010 16:40:20 +0000 (18:40 +0200)]
add generated man pages to git ignore list, reported from Ovidiu

9 years agodoc: generated counter lists
Andrei Pelinescu-Onciul [Wed, 1 Sep 2010 17:06:17 +0000 (19:06 +0200)]
doc: generated counter lists

9 years agodb_mysql: fixed driver error counter named
Andrei Pelinescu-Onciul [Wed, 1 Sep 2010 17:03:47 +0000 (19:03 +0200)]
db_mysql: fixed driver error counter named

Changed the name from "Mysql driver erros" to "driver_errors"
(spaces in the name, while legal, would make life harder).

9 years agodoc: *_list: minor sed script fix
Andrei Pelinescu-Onciul [Wed, 1 Sep 2010 11:01:34 +0000 (13:01 +0200)]
doc: *_list: minor sed script fix

Fix empty output for the  sed script for parsing/filtering makefiles
(in some cases the commands for the last line were not executed).

9 years agodoc: counter_list
Andrei Pelinescu-Onciul [Wed, 1 Sep 2010 09:36:50 +0000 (11:36 +0200)]
doc: counter_list

Added a new directory (doc/counter_list) complete with Makefiles
for auto-generating the lists with all the counters (stats)
implemented in the code.
Both .txt and docbook format are supported.

E.g.:
make -C doc/counter_list all  # generates the docbook and .txt
make -C doc/counter_list/docbook html # html from docbook

9 years agodoc: script to generate counter/stats list from C code
Andrei Pelinescu-Onciul [Wed, 1 Sep 2010 08:34:19 +0000 (10:34 +0200)]
doc: script to generate counter/stats list from C code

Added a perl script that generates counter documentation (name and
description) from a C file (based on the counter definition
array).
It can output txt or docbook.

9 years agoxcap_server: documentation updated
Daniel-Constantin Mierla [Wed, 1 Sep 2010 13:00:13 +0000 (15:00 +0200)]
xcap_server: documentation updated

9 years agocore: make READ_HTTP11 on if NO_READ_HTTP11 is defined
Daniel-Constantin Mierla [Wed, 1 Sep 2010 12:31:50 +0000 (14:31 +0200)]
core: make READ_HTTP11 on if NO_READ_HTTP11 is defined

- the code is anyhow enabled only when tcp_accept_no_cl is on
- suggested by Andrei

9 years agoxcap_server: components of xcap uri available in cfg
Daniel-Constantin Mierla [Wed, 1 Sep 2010 10:49:01 +0000 (12:49 +0200)]
xcap_server: components of xcap uri available in cfg

- the user id is embedded in xcap uri and is needed to decide what is
  the sip uri associated with it
- $xcapuri(name=>key) PV exported to config

9 years agocore: use req.start for http11 tcp read
Daniel-Constantin Mierla [Tue, 31 Aug 2010 21:24:04 +0000 (23:24 +0200)]
core: use req.start for http11 tcp read

- shifting back chunks is done with memmove - safer for overlapping
  buffers
- credits to Andrei Pelinescu-Onciul

9 years agoxcap_server: parser for xcap uri
Daniel-Constantin Mierla [Tue, 31 Aug 2010 21:20:00 +0000 (23:20 +0200)]
xcap_server: parser for xcap uri

- easier to get xcap uri attributes for doc and xpath selectors

9 years agoxcap_server: fixes to put and del ops
Daniel-Constantin Mierla [Tue, 31 Aug 2010 21:17:52 +0000 (23:17 +0200)]
xcap_server: fixes to put and del ops

- take in consideration xpath selectors

9 years agoMerge remote branch 'origin/carstenbock/dialog2'
Carsten Bock [Tue, 31 Aug 2010 14:47:14 +0000 (16:47 +0200)]
Merge remote branch 'origin/carstenbock/dialog2'

* origin/carstenbock/dialog2:
  - Updated docs
  - Use only call-id to get the h_id; otherwise dlg_list_dlg and dlg_terminate_dlg would require the from-tag, which is marked as optional in the docs
  - added support to terminate a single dialog by providing call-id and from-tag

9 years ago- Updated docs
Carsten Bock [Thu, 19 Aug 2010 17:46:37 +0000 (19:46 +0200)]
- Updated docs

9 years ago- Use only call-id to get the h_id; otherwise dlg_list_dlg and dlg_terminate_dlg...
Carsten Bock [Thu, 19 Aug 2010 17:38:55 +0000 (19:38 +0200)]
- Use only call-id to get the h_id; otherwise dlg_list_dlg and dlg_terminate_dlg would require the from-tag, which is marked as optional in the docs
- dlg_terminate_dlg does request the call-id to terminate a specific call (terminating all calls require a little more development)
- match_downstream_dialog does only match by call-id (see first point)

9 years agoMerge remote branch 'origin/carstenbock/rtpproxy2'
Carsten Bock [Tue, 31 Aug 2010 14:42:05 +0000 (16:42 +0200)]
Merge remote branch 'origin/carstenbock/rtpproxy2'

* origin/carstenbock/rtpproxy2:
  - Updated the patch to the latest changes (see previous commit)
  Add a parameter for the type of the RTP-Timeout-Socket (defaults to 1 for Kamailio-XMLRPC)
  Added the changes to the RTP-Proxy as a patch, for easier review.
  - fixed identation
  The Timeout socket must be sent with Update after session confirmation.
  Tiny typo.
  - added support for the retrieval of RTP-Statistics through $rtpstat

9 years ago- Updated the patch to the latest changes (see previous commit)
Carsten Bock [Mon, 30 Aug 2010 15:17:13 +0000 (17:17 +0200)]
- Updated the patch to the latest changes (see previous commit)
- removed pre-built rtpproxy

9 years agoAdd a parameter for the type of the RTP-Timeout-Socket (defaults to 1 for Kamailio...
Carsten Bock [Mon, 30 Aug 2010 14:48:49 +0000 (16:48 +0200)]
Add a parameter for the type of the RTP-Timeout-Socket (defaults to 1 for Kamailio-XMLRPC)

9 years agoAdded the changes to the RTP-Proxy as a patch, for easier review.
Carsten Bock [Tue, 24 Aug 2010 09:08:34 +0000 (11:08 +0200)]
Added the changes to the RTP-Proxy as a patch, for easier review.

9 years ago- fixed identation
Carsten Bock [Thu, 19 Aug 2010 17:55:01 +0000 (19:55 +0200)]
- fixed identation
- added modified RTP-Proxy (rtpproxy.tar.gz, based on latest git, needs some cleanup)
(please note, that you have to have libcurl-dev and libxmlrpc-client (same as for Kamailio-mi_xmlrpc) installed)
- some simple testing files (sample config, command line parameters for pjsua (used for testing) and rtpproxy)

9 years agoThe Timeout socket must be sent with Update after session confirmation.
Carsten Bock [Thu, 19 Aug 2010 13:33:30 +0000 (15:33 +0200)]
The Timeout socket must be sent with Update after session confirmation.

9 years agoTiny typo.
Carsten Bock [Wed, 18 Aug 2010 20:57:37 +0000 (22:57 +0200)]
Tiny typo.