sip-router
8 years agocore: fix two more 'no real prototype' warnings, fix one wrong caller in timer mod
Henning Westerholt [Wed, 29 Jun 2011 20:30:39 +0000 (22:30 +0200)]
core: fix two more 'no real prototype' warnings, fix one wrong caller in timer mod

8 years agotm: fix one 'no real prototype' warning, fix the wrong call as well
Henning Westerholt [Wed, 29 Jun 2011 20:29:10 +0000 (22:29 +0200)]
tm: fix one 'no real prototype' warning, fix the wrong call as well

8 years agocore: fix another bunch of 'no real prototype' warnings, add doxygen docs
Henning Westerholt [Wed, 29 Jun 2011 20:12:28 +0000 (22:12 +0200)]
core: fix another bunch of 'no real prototype' warnings, add doxygen docs

* fix another bunch of gcc 4.5 'no real prototype' warnings by making the MD5
  functions typesafe (removing this PROTO_LIST stuff)
* refactoring of function definitions to use a proper style, like everybody else
* remove not needed defines for datatypes, delete the then empty header completely
* remove the unneeded include of md5global.h from a few modules
* fix callers of MD5 utility functions which already use a proper type
* adapt format of RSA copyright notices to the common style as well
* add doxygen documentations to all functions and defines
* similar changes have been done in kamailio, but have been not ported to this
  repository yet

8 years agoasync module: mention $apv and $xavp in documentation Overview.
Iñaki Baz Castillo [Mon, 27 Jun 2011 15:09:03 +0000 (17:09 +0200)]
async module: mention $apv and $xavp in documentation Overview.

8 years agoasync: updates to prameter types
Daniel-Constantin Mierla [Sun, 26 Jun 2011 09:51:31 +0000 (11:51 +0200)]
async: updates to prameter types

- use typedefs - straigforwards ctags jumping

8 years agotm: renamed typedef cell_type to tm_cell_t
Daniel-Constantin Mierla [Sun, 26 Jun 2011 09:48:39 +0000 (11:48 +0200)]
tm: renamed typedef cell_type to tm_cell_t

8 years agoasync: documented async_route() function
Daniel-Constantin Mierla [Sun, 26 Jun 2011 09:42:01 +0000 (11:42 +0200)]
async: documented async_route() function

8 years agoasync: safety check for next action in async_sleep()
Daniel-Constantin Mierla [Sun, 26 Jun 2011 09:32:12 +0000 (11:32 +0200)]
async: safety check for next action in async_sleep()

8 years agoasync: added async_route(route, seconds)
Daniel-Constantin Mierla [Sun, 26 Jun 2011 09:27:53 +0000 (11:27 +0200)]
async: added async_route(route, seconds)

- executed route block asynchronously after seconds

8 years agocore: typedef'ed struct action to cfg_action_t
Daniel-Constantin Mierla [Sun, 26 Jun 2011 09:26:48 +0000 (11:26 +0200)]
core: typedef'ed struct action to cfg_action_t

8 years agoasync: added module documentation
Daniel-Constantin Mierla [Sun, 26 Jun 2011 09:05:23 +0000 (11:05 +0200)]
async: added module documentation

8 years agoasync: new module for asynchronous config operations
Daniel-Constantin Mierla [Sat, 25 Jun 2011 22:43:57 +0000 (00:43 +0200)]
async: new module for asynchronous config operations

- exports async_sleep(seconds) - sleep asynchronously and continue the
  exection after the seconds interval has passed
- it uses t_suspend()/t_continue()
- config execution state is lost, so a return at the same level with
  async_sleep() will exit the config execution

8 years agoxlog(k): use the function from core to get action struct
Daniel-Constantin Mierla [Sat, 25 Jun 2011 19:10:08 +0000 (21:10 +0200)]
xlog(k): use the function from core to get action struct

- an internal function was moved to core and the code updated to use it

8 years agocore: function to return action struct from param
Daniel-Constantin Mierla [Sat, 25 Jun 2011 19:07:31 +0000 (21:07 +0200)]
core: function to return action struct from param

- moved the function from xlog module to core to be used by other
  modules
- get_action_from_param(param, param_no) can return the pointer to
  action structure when the pointer to pointer param and param no is
  provided (like in the fixup of module functions)

8 years agoauth_db(k): documented version_table parameter
Daniel-Constantin Mierla [Fri, 24 Jun 2011 18:47:21 +0000 (20:47 +0200)]
auth_db(k): documented version_table parameter

8 years agoauth_db: option to skip checking version table
Daniel-Constantin Mierla [Fri, 24 Jun 2011 18:46:11 +0000 (20:46 +0200)]
auth_db: option to skip checking version table

- new parameter 'version_table' to be able to disable checking for
  version table
- useful when connecting to a different database to fetch the password

8 years agocfg framework: set the handle before creating the cfg group
Miklos Tirpak [Fri, 24 Jun 2011 13:10:51 +0000 (15:10 +0200)]
cfg framework: set the handle before creating the cfg group

The handle must be set before the config group is created
because the related functions save the value for future use.

The tcp and sctp config handles are not initialized to the default
config struction. This cased a crash because orig_handle was set to
the initial value which is uninitialized.

8 years agocfg framework: set the local config in PROC_INIT
Miklos Tirpak [Tue, 7 Jun 2011 18:58:38 +0000 (20:58 +0200)]
cfg framework: set the local config in PROC_INIT

The local configuration of the main process is temporary
set during initialization in child_init with rank==PROC_INIT,
which makes the configuration group instances available for
the modules.
The local configuration is reset back to NULL afterwards to make
sure that each child process updates its own config the usual way.

8 years agocfg framework: safety checks added
Miklos Tirpak [Fri, 3 Jun 2011 12:37:03 +0000 (14:37 +0200)]
cfg framework: safety checks added

Verify that the child process has a local configuration
in the functions that work with config group instances.

8 years agocfg framework: functions to iterate though the group instances
Miklos Tirpak [Fri, 3 Jun 2011 11:38:32 +0000 (13:38 +0200)]
cfg framework: functions to iterate though the group instances

Two functions, cfg_select_first and cfg_select_next, are added
which can be used to iterate though the instances of a cfg group.

8 years agodoxygen: small bunch of fixes for doxygen documentation
Henning Westerholt [Thu, 23 Jun 2011 22:36:18 +0000 (00:36 +0200)]
doxygen: small bunch of fixes for doxygen documentation

8 years agodoxygen: convert existing documentation to doxygen, small whitespace cleanup
Henning Westerholt [Thu, 23 Jun 2011 22:25:09 +0000 (00:25 +0200)]
doxygen: convert existing documentation to doxygen, small whitespace cleanup

8 years agocore: replace redundant for-loop memset/ memcpy with standard (faster) libc versions
Henning Westerholt [Thu, 23 Jun 2011 22:04:01 +0000 (00:04 +0200)]
core: replace redundant for-loop memset/ memcpy with standard (faster) libc versions

8 years agorand: fix warnings: call to function ‘..’ without a real prototype from gcc 4.5
Henning Westerholt [Thu, 23 Jun 2011 21:58:13 +0000 (23:58 +0200)]
rand: fix warnings: call to function ‘..’ without a real prototype from gcc 4.5

8 years agodoxygen: convert existing docs to use proper doxygen structures and groups, small...
Henning Westerholt [Thu, 23 Jun 2011 21:39:01 +0000 (23:39 +0200)]
doxygen: convert existing docs to use proper doxygen structures and groups, small cleanups

8 years agodoxygen: add missing group definition to dialog module
Henning Westerholt [Thu, 23 Jun 2011 21:32:50 +0000 (23:32 +0200)]
doxygen: add missing group definition to dialog module

8 years agodoxygen: some fixes in tls module
Henning Westerholt [Thu, 23 Jun 2011 21:08:41 +0000 (23:08 +0200)]
doxygen: some fixes in tls module

8 years agodoxygen: small syntax fix in cfg support and sl module
Henning Westerholt [Thu, 23 Jun 2011 20:03:43 +0000 (22:03 +0200)]
doxygen: small syntax fix in cfg support and sl module

8 years agodns: typo fixed (dns_a_resovle -> dns_a_resolve)
Iñaki Baz Castillo [Wed, 22 Jun 2011 15:42:13 +0000 (17:42 +0200)]
dns: typo fixed (dns_a_resovle -> dns_a_resolve)

8 years agoextend documentation
Klaus Darilion [Wed, 22 Jun 2011 12:46:59 +0000 (14:46 +0200)]
extend documentation

8 years agofixed description of trusted_table
Klaus Darilion [Wed, 22 Jun 2011 12:45:40 +0000 (14:45 +0200)]
fixed description of trusted_table

8 years agoapp_lua: removed typo 'i' from start of paragraphs
Daniel-Constantin Mierla [Wed, 22 Jun 2011 09:46:13 +0000 (11:46 +0200)]
app_lua: removed typo 'i' from start of paragraphs

- reported by Olle Johansson

8 years agouac: more verbose debug message
Daniel-Constantin Mierla [Wed, 22 Jun 2011 09:42:30 +0000 (11:42 +0200)]
uac: more verbose debug message

- give hint of how to get rid of append_fromtag requirement on rr module

8 years agodb_sqlite: synchronize database schema with other engines
Henning Westerholt [Mon, 20 Jun 2011 11:45:47 +0000 (13:45 +0200)]
db_sqlite: synchronize database schema with other engines

8 years agodb_sqlite: fix path in Makefile and utility script
Henning Westerholt [Mon, 20 Jun 2011 11:44:26 +0000 (13:44 +0200)]
db_sqlite: fix path in Makefile and utility script

8 years agodb_sqlite: rename database scheme files, to allow automatic updates
Henning Westerholt [Mon, 20 Jun 2011 11:43:57 +0000 (13:43 +0200)]
db_sqlite: rename database scheme files, to allow automatic updates

8 years agodb_sqlite: rename database scheme files, to allow automatic updates
Henning Westerholt [Mon, 20 Jun 2011 11:36:01 +0000 (13:36 +0200)]
db_sqlite: rename database scheme files, to allow automatic updates

8 years agoMakefile: exclude pua/presence_reginfo from default compile
Daniel-Constantin Mierla [Sat, 18 Jun 2011 21:27:54 +0000 (23:27 +0200)]
Makefile: exclude pua/presence_reginfo from default compile

- dependency on libxml2
- added the two modules to group presence

8 years agodocs: added README for pua_reginfo and presence_reginfo
Daniel-Constantin Mierla [Sat, 18 Jun 2011 21:25:12 +0000 (23:25 +0200)]
docs: added README for pua_reginfo and presence_reginfo

8 years agodocs: cleanup in xml files
Daniel-Constantin Mierla [Sat, 18 Jun 2011 21:21:41 +0000 (23:21 +0200)]
docs: cleanup in xml files

- useless revision history removed
- docs depend on entities.xml
- updated global entities
- fixed the links to users and devel mailing lists
- fixed the link to tracker

8 years agotmx: readme regenerated
Daniel-Constantin Mierla [Sat, 18 Jun 2011 17:43:11 +0000 (19:43 +0200)]
tmx: readme regenerated

8 years agodbschema: regenerated db creation scripts
Daniel-Constantin Mierla [Sat, 18 Jun 2011 17:42:27 +0000 (19:42 +0200)]
dbschema: regenerated db creation scripts

- updates to lcr tables and rls_watchers

8 years agodb schema: updated column sizes of rls_watchers table
Daniel-Constantin Mierla [Sat, 18 Jun 2011 17:39:11 +0000 (19:39 +0200)]
db schema: updated column sizes of rls_watchers table

- size for callid and contact columns set to &uri_len;
- patch by Peter Dunkley

8 years agotmx: documented t_reply_callid MI command
Daniel-Constantin Mierla [Sat, 18 Jun 2011 17:35:11 +0000 (19:35 +0200)]
tmx: documented t_reply_callid MI command

8 years agotmx: added t_reply_callid MI command
Daniel-Constantin Mierla [Sat, 18 Jun 2011 17:30:09 +0000 (19:30 +0200)]
tmx: added t_reply_callid MI command

- patch by Helmut Grohne

8 years ago- Merge of the implementation of the RFC3680 (reginfo-package) into master
Carsten Bock [Mon, 13 Jun 2011 13:04:27 +0000 (15:04 +0200)]
- Merge of the implementation of the RFC3680 (reginfo-package) into master

8 years agotm: fix minor tm_load_xapi bug
Andrei Pelinescu-Onciul [Sat, 11 Jun 2011 09:32:16 +0000 (11:32 +0200)]
tm: fix minor tm_load_xapi bug

Due to a typo the check for load_xtm not found was wrong.

8 years agotm: fix warnings/eliminate unused variables
Andrei Pelinescu-Onciul [Sat, 11 Jun 2011 09:31:43 +0000 (11:31 +0200)]
tm: fix warnings/eliminate unused variables

Eliminate initialized, but unused variables (reported by gcc 4.6).

8 years agocore: remove unused variables + coding style
Andrei Pelinescu-Onciul [Sat, 11 Jun 2011 09:24:05 +0000 (11:24 +0200)]
core: remove unused variables + coding style

8 years agocore: fix warnings/eliminate unused variables
Andrei Pelinescu-Onciul [Sat, 11 Jun 2011 09:21:49 +0000 (11:21 +0200)]
core: fix warnings/eliminate unused variables

Eliminate initialized, but unused variables (reported by gcc 4.6).

8 years agodns: case insensitive check for NAPTR record flags
Andrei Pelinescu-Onciul [Sat, 11 Jun 2011 08:38:10 +0000 (10:38 +0200)]
dns: case insensitive check for NAPTR record flags

The NAPTR records flags where not checked in case insensitive
mode. Records with the 'S' flags where ignored ('s' was expected).

Closes: FS#135
Reported-by: Inaki Baz Castillo ibc aliax net
8 years agopkg/kamailio/deb: lot of love to debian init scripts.
Iñaki Baz Castillo [Fri, 10 Jun 2011 17:17:25 +0000 (19:17 +0200)]
pkg/kamailio/deb: lot of love to debian init scripts.
- init scripts under debian/, lenny/, lucid/ and squeeze/ unified.
- fixed a bug in restart action: now it waits until kamailio has
  been stopped (using --retry 5 option in start-stop-daemon) rather
  than waiting an artificial fixed second (which is not enough when using
  memdbg/memlog causing kamailio not to start again).
- some text formatting.
- more LSB compliant (status codes).

8 years agodebugger: safety check for pid list
Daniel-Constantin Mierla [Fri, 10 Jun 2011 09:19:44 +0000 (11:19 +0200)]
debugger: safety check for pid list

- some event route blocks can be executed before all children
  initialization and the internal pid list structure is not created,
  disable debugging in this case

8 years agocore: IPv6 addr enclosed in square brackets for process descripton
Daniel-Constantin Mierla [Tue, 7 Jun 2011 21:19:18 +0000 (23:19 +0200)]
core: IPv6 addr enclosed in square brackets for process descripton

- UDP and SCTP listeners will have the IPv6 address in between square
  brackets inside the description string

8 years agokamctl: don't require sercmd all the time
Daniel-Constantin Mierla [Tue, 7 Jun 2011 20:57:32 +0000 (22:57 +0200)]
kamctl: don't require sercmd all the time

- sercmd is not needed for all commands - throw error only when it is
  going to be executed but it is not found

8 years agoMakefile.defs: adding LD_EXTRA_OPTS flag
Ovidiu Sas [Tue, 7 Jun 2011 19:48:27 +0000 (15:48 -0400)]
Makefile.defs: adding LD_EXTRA_OPTS flag
 - improving support for cross compilation

8 years agopkg/kamailio/squeeze : Make lintian happy(er) by adding dependancy on $remote_fs
Marius Zbihlei [Mon, 6 Jun 2011 12:44:16 +0000 (15:44 +0300)]
pkg/kamailio/squeeze : Make lintian happy(er) by adding dependancy on $remote_fs

As Kamailio need /usr paths to be available, this requires a LSB dependancy on $remote_fs.

8 years agoMakefile: updated groups of modules
Daniel-Constantin Mierla [Sat, 4 Jun 2011 08:30:30 +0000 (10:30 +0200)]
Makefile: updated groups of modules

- ipops, p_usrloc and sdpops added to kstandard group
- db_sqlite excluded from default compilation (depends os sqlite libs)
  and added to ksqlite group

8 years agoregistrar(k): reset local interator to contacts headers
Daniel-Constantin Mierla [Sat, 4 Jun 2011 08:22:09 +0000 (10:22 +0200)]
registrar(k): reset local interator to contacts headers

- when the REGISTER request had more than one Contact header and
  max_contacts parameter was set, there were two iterations through the
  list fo Contacts header without reseting the iterator, resulting in
  not processing all Contact headers in save() - reported by Andreas Granig
- instead of parsing the fist contact header as parameter to several
  functions, take it from sip msg structure hook

8 years agomodules_k/htable: include stddef.h to let sip-router compile on old distros
Ovidiu Sas [Fri, 3 Jun 2011 17:43:32 +0000 (13:43 -0400)]
modules_k/htable: include stddef.h to let sip-router compile on old distros

8 years agomodules_k/dispatcher: include stddef.h to let sip-router compile on old distros
Ovidiu Sas [Fri, 3 Jun 2011 17:31:35 +0000 (13:31 -0400)]
modules_k/dispatcher: include stddef.h to let sip-router compile on old distros

8 years agocore: include stddef.h to let sip-router compile on old distros
Ovidiu Sas [Fri, 3 Jun 2011 17:02:00 +0000 (13:02 -0400)]
core: include stddef.h to let sip-router compile on old distros

8 years agoMerge branch 'tteras/db_sqlite'
Timo Teräs [Fri, 3 Jun 2011 15:31:21 +0000 (18:31 +0300)]
Merge branch 'tteras/db_sqlite'

8 years agoimc: fix announcing attepts to join private rooms
Daniel-Constantin Mierla [Fri, 3 Jun 2011 08:25:19 +0000 (10:25 +0200)]
imc: fix announcing attepts to join private rooms

- if an user cannot join a private room, the announcement was wrong,
  using invalid structure
- reported by Ozren Lapcevic

8 years agoimc: keep db handle open for main process
Daniel-Constantin Mierla [Wed, 1 Jun 2011 10:36:09 +0000 (12:36 +0200)]
imc: keep db handle open for main process

- the module sync's back to database at shutdown
- dicovered based on an email by Ozren Lapcevic

8 years agoipops: use INET6_ADDRSTRLEN constant for IPv4/IPv6 maximun size.
Iñaki Baz Castillo [Tue, 31 May 2011 23:30:03 +0000 (01:30 +0200)]
ipops: use INET6_ADDRSTRLEN constant for IPv4/IPv6 maximun size.

8 years agocore: added new preprocessor directive: substdef
Daniel-Constantin Mierla [Mon, 30 May 2011 21:57:18 +0000 (23:57 +0200)]
core: added new preprocessor directive: substdef

- prototype
  !!substdef '/regexp/replacement/flags'
- separator char '/' can be replaced with any other character to avoid
  conflicts
- it adds a preprocessor substitution like '!!subst' and in addition
  defines the regexp to replacement, like
  !!define regexp replacement
- useful when you need to replace tokens present as ID and inside string
  values

8 years agocore: updated man page
Daniel-Constantin Mierla [Mon, 30 May 2011 21:03:42 +0000 (23:03 +0200)]
core: updated man page

8 years agokamialio.cfg: sample usage of speed dialing
Daniel-Constantin Mierla [Mon, 30 May 2011 12:20:39 +0000 (14:20 +0200)]
kamialio.cfg: sample usage of speed dialing

- can be enabled by define WITH_SPEEDDIAL

8 years agodeb pkg: add start suggestions for mysql, postgresql and radius, suggested from Rick...
Henning Westerholt [Mon, 30 May 2011 12:17:32 +0000 (14:17 +0200)]
deb pkg: add start suggestions for mysql, postgresql and radius, suggested from Rick Aldred

8 years agokamailio.cfg: reworked nat traversal config
Daniel-Constantin Mierla [Sat, 28 May 2011 21:30:43 +0000 (23:30 +0200)]
kamailio.cfg: reworked nat traversal config

- groupped the nat traversal login in NATDETECT and NATMANAGE route
  blocks, simplifying by using rtpproxy_manage() function
- nat traversal logic for requests is applied in branch_route for proper
  optimization of serial/parallel forking

8 years agortpproxy: safety check for T_UNDEFINED
Daniel-Constantin Mierla [Sat, 28 May 2011 21:25:56 +0000 (23:25 +0200)]
rtpproxy: safety check for T_UNDEFINED

- be sure the T is valid before setting SDP flag in uas.request

8 years agortpproxy: close rtpproxy session for INVITE req in failure route
Daniel-Constantin Mierla [Sat, 28 May 2011 16:36:19 +0000 (18:36 +0200)]
rtpproxy: close rtpproxy session for INVITE req in failure route

- update of rtpproxy_manage() to close rtp relay session when executed
  in failure route

8 years agortpproxy: aliased rtpproxy_destroy() to unforce_rtp_proxy()
Daniel-Constantin Mierla [Sat, 28 May 2011 15:40:58 +0000 (17:40 +0200)]
rtpproxy: aliased rtpproxy_destroy() to unforce_rtp_proxy()

8 years agomodules/auth: new flag 16 to add stale=true to challenge response
Juha Heinanen [Sat, 28 May 2011 08:43:41 +0000 (11:43 +0300)]
modules/auth: new flag 16 to add stale=true to challenge response

8 years agoMakefile: version set to 3.2.0-dev5
Daniel-Constantin Mierla [Sat, 28 May 2011 08:11:09 +0000 (10:11 +0200)]
Makefile: version set to 3.2.0-dev5

8 years agortpproxy: documented rtpproxy_manage()
Daniel-Constantin Mierla [Sat, 28 May 2011 08:09:19 +0000 (10:09 +0200)]
rtpproxy: documented rtpproxy_manage()

8 years agorpproxy: new function rtpproxy_manage()
Daniel-Constantin Mierla [Sat, 28 May 2011 06:57:19 +0000 (08:57 +0200)]
rpproxy: new function rtpproxy_manage()

- auto-pilot function to handle rtp proxy session management
- it can take same kind of parameters as rtpproxy_offer()
- embeds the functionality of rtpproxy_offer(), rtpproxy_answer() and
  unfroce_rtp_proxy():
  - if INVITE with SDP, then do rtpproxy offer
  - if INVITE with sdp, when tm is loaded, mark transaction with
internal flag FL_SDP_BODY to know that the 1xx and 2xx are for rtp
answer
  - if ACK with SDP, then do rtpproxy answer
  - if BYE or CANCEL, then do unforce rtpproxy
  - if reply to INVITE with code >= 300 do unfrce rtp proxy
  - if reply with SDP to INVITE having code 1xx and 2xx, then do rtpproxy
answer if the request had SDP or tm is not loaded, otherwise do
rtpproxy offer

8 years agoparser: new internal msg flag FL_SDP_BODY
Daniel-Constantin Mierla [Sat, 28 May 2011 06:55:02 +0000 (08:55 +0200)]
parser: new internal msg flag FL_SDP_BODY

- mark the request if there is an sdp body (useful for multi-part bodies
  or to quickly check in tm routes as the msg body is not cloned in shm
  and will require parsing again)

8 years agortpproxy: changed the list of allowed route blocks with ANY_ROUTE
Daniel-Constantin Mierla [Fri, 27 May 2011 20:29:11 +0000 (22:29 +0200)]
rtpproxy: changed the list of allowed route blocks with ANY_ROUTE

- functions could be used in all routes, updated the bitmask to
  ANY_ROUTE

8 years agokamailio.cfg: replaced force_rtp_proxy()
Daniel-Constantin Mierla [Fri, 27 May 2011 18:34:02 +0000 (20:34 +0200)]
kamailio.cfg: replaced force_rtp_proxy()

- the function has been removed, replaced with rtpproxy_offer() and
  rtpproxy_offer()

8 years agotmx: documented the new functions
Daniel-Constantin Mierla [Fri, 27 May 2011 11:31:35 +0000 (13:31 +0200)]
tmx: documented the new functions

- t_is_failure_route() and t_is_branch_route()

8 years agotmx: two helper functions to detect route block type
Daniel-Constantin Mierla [Fri, 27 May 2011 11:21:52 +0000 (13:21 +0200)]
tmx: two helper functions to detect route block type

- t_is_failure_route() - return true if it is a failure_route execution
- t_is_branch_route() - return true if it is a branch_route execution
- useful to check in sub-routes executed from different points of config

8 years agop_usrloc: fix compile warning, reported from Ovidiu
Henning Westerholt [Fri, 27 May 2011 08:44:13 +0000 (10:44 +0200)]
p_usrloc: fix compile warning, reported from Ovidiu

8 years agosdpops: fix gcc warning, reported from Juha
Henning Westerholt [Thu, 26 May 2011 16:22:23 +0000 (18:22 +0200)]
sdpops: fix gcc warning, reported from Juha

8 years agoutils: Install the sqlite scripts tteras/db_sqlite
Natanael Copa [Thu, 26 May 2011 14:44:33 +0000 (14:44 +0000)]
utils: Install the sqlite scripts

Fix the makefiles to actually install the sqlite scripts

8 years agodb_sqlite: add support for autogeneration of db scheme (make dbschema)
Henning Westerholt [Thu, 26 May 2011 10:18:16 +0000 (12:18 +0200)]
db_sqlite: add support for autogeneration of db scheme (make dbschema)

8 years agodb_sqlite(k): add docbook docs
Timo Teräs [Thu, 26 May 2011 10:07:10 +0000 (13:07 +0300)]
db_sqlite(k): add docbook docs

8 years agodb_sqlite(k): add README
Timo Teräs [Thu, 26 May 2011 08:36:17 +0000 (11:36 +0300)]
db_sqlite(k): add README

With information about author and module dependencies.

8 years agoutils: add sqlite support to kamctl/kamdbctl
Natanael Copa [Thu, 26 May 2011 07:18:44 +0000 (07:18 +0000)]
utils: add sqlite support to kamctl/kamdbctl

 - sql scripts copied from postgres versions and converted to sqlite
   (only major change was: sed s/SERIAL/INTEGER/)
 - kamdbctl.sqlite based on kamdbctl.postgres with permissions stuff
   removed (sqlite has unix file permissions only) and some mysql
   emulation removed too
 - no real ro-mode

8 years agohtable: adjust item array size
Daniel-Constantin Mierla [Thu, 26 May 2011 05:09:14 +0000 (07:09 +0200)]
htable: adjust item array size

- it was 1 too much, reported by Juha Heinanen

8 years agokamailio.cfg: added two new define options
Daniel-Constantin Mierla [Wed, 25 May 2011 21:44:22 +0000 (23:44 +0200)]
kamailio.cfg: added two new define options

- WITH_BLOCK3XX - block 3xx replies
- WITH_VOICEMAIL - redirect call to voicemail server on not found, busy
  or no answer

8 years agokamailio.cfg: removed append_branch() from failure_route
Daniel-Constantin Mierla [Wed, 25 May 2011 20:54:53 +0000 (22:54 +0200)]
kamailio.cfg: removed append_branch() from failure_route

- it is no longer necessary

8 years agohtable: set the size of item arrays
Daniel-Constantin Mierla [Wed, 25 May 2011 19:59:14 +0000 (21:59 +0200)]
htable: set the size of item arrays

- it was not computed properly, reported by Juha Henanen

8 years agocore: also include newline in error msg..
Henning Westerholt [Wed, 25 May 2011 10:00:41 +0000 (12:00 +0200)]
core: also include newline in error msg..

8 years agocore: spelling fix in error msg, reported from Bret McDanel, trixter at 0xdecafbad...
Henning Westerholt [Wed, 25 May 2011 09:28:20 +0000 (11:28 +0200)]
core: spelling fix in error msg, reported from Bret McDanel, trixter at 0xdecafbad dot com

8 years agoutils: updated vim syntx highlighting file
Daniel-Constantin Mierla [Tue, 24 May 2011 20:45:01 +0000 (22:45 +0200)]
utils: updated vim syntx highlighting file

- added new aliased route blocks names and pre-processor start sequences

8 years agoStress that DLGCB_CONFIRMED includes reception of the call-concluding ACK message.
Timo Reimann [Mon, 23 May 2011 11:58:33 +0000 (13:58 +0200)]
Stress that DLGCB_CONFIRMED includes reception of the call-concluding ACK message.

8 years agohtable: spelling fix in htable table definition docs
Henning Westerholt [Mon, 23 May 2011 11:06:49 +0000 (13:06 +0200)]
htable: spelling fix in htable table definition docs

8 years agohtable: check if hash table entries are initialized in detroy function
Daniel-Constantin Mierla [Sun, 22 May 2011 15:21:54 +0000 (17:21 +0200)]
htable: check if hash table entries are initialized in detroy function

- one of last updates to htable changed initialization to be directly in
  shared memory, while hash table slots are initialied in mod init
  funtion, causing crash of the module if config file has errors and
  proper starting does not happen
- reported by Juha Heinanen