sip-router
9 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

9 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

9 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

9 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)

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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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.

9 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).

9 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

9 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).

9 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
9 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).

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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'

9 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

9 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

9 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.

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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()

9 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

9 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

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

9 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

9 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)

9 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

9 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()

9 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()

9 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

9 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

9 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

9 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

9 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)

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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..

9 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

9 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

9 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.

9 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

9 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

9 years agocore: defined preprocessor directive start token in lex
Daniel-Constantin Mierla [Sun, 22 May 2011 13:20:21 +0000 (15:20 +0200)]
core: defined preprocessor directive start token in lex

- PREP_START defined as '#!' or '!!'
- '!!' can be used as alternative to '#!' for preprocessor directive,
  being easier to distinguish it out of commented lines

9 years agocore: reply_route aliased to main onreply_route block
Daniel-Constantin Mierla [Sun, 22 May 2011 13:02:09 +0000 (15:02 +0200)]
core: reply_route aliased to main onreply_route block

- reply_route { ... } can be used instead of main onreply_route { ... }
- easier to refer to core reply routing actions, avoiding naming
  confusion with tm reply routing blocks

9 years agocore: request_route alised to main route block
Daniel-Constantin Mierla [Sun, 22 May 2011 12:48:05 +0000 (14:48 +0200)]
core: request_route alised to main route block

- request_route { ... } can be used instead of main route { ... }
- more suggestive in relation with its purpose and easier to spot and
  refer to it

9 years agocore: added some binary operators
Daniel-Constantin Mierla [Sat, 21 May 2011 10:33:00 +0000 (12:33 +0200)]
core: added some binary operators

- not, xor, left shift and right shift

9 years agocore: fixed via branch value in ack to 200 ok
Juha Heinanen [Fri, 20 May 2011 20:08:24 +0000 (23:08 +0300)]
core: fixed via branch value in ack to 200 ok

- By default, sr was using non-rfc3261 compliant via branch value when
  it generated ack to 200 ok.

9 years agomodules/mediaproxy: Fixed crash in mediaproxy due to insufficient buffer size.
Juha Heinanen [Fri, 20 May 2011 19:39:49 +0000 (22:39 +0300)]
modules/mediaproxy: Fixed crash in mediaproxy due to insufficient buffer size.
- Credits to giti.

9 years agoRevert "tm: add warning about t_newtran behaviour (pointed out from Iñaki"
Henning Westerholt [Tue, 17 May 2011 11:05:01 +0000 (13:05 +0200)]
Revert "tm: add warning about t_newtran behaviour (pointed out from Iñaki"

This reverts commit 9f27cb55a1b4def4f393def6170430cbf70e6615.

9 years agocore: added rpc command core.psx
Daniel-Constantin Mierla [Mon, 16 May 2011 15:27:07 +0000 (17:27 +0200)]
core: added rpc command core.psx

- similar to core.ps but prints the details in RPC structure along with
  process index, like:

sercmd> core.psx
{
IDX: 0
PID: 73408
DSC: attendant
}
{
IDX: 1
PID: 73409
DSC: udp receiver child=0 sock=127.0.0.1:5060
}

9 years agogeoip: also include URL in docs
Henning Westerholt [Mon, 16 May 2011 16:21:09 +0000 (18:21 +0200)]
geoip: also include URL in docs

9 years agogeoip: extend docs after discussion with Francesco Castellano
Henning Westerholt [Mon, 16 May 2011 13:48:53 +0000 (15:48 +0200)]
geoip: extend docs after discussion with Francesco Castellano

9 years agotm: add warning about t_newtran behaviour (pointed out from Iñaki
Henning Westerholt [Mon, 16 May 2011 13:22:15 +0000 (15:22 +0200)]
tm: add warning about t_newtran behaviour (pointed out from Iñaki

9 years agoxcap_client: removed invalid 'include' in lib path
Daniel-Constantin Mierla [Sat, 14 May 2011 08:45:35 +0000 (10:45 +0200)]
xcap_client: removed invalid 'include' in lib path

9 years agoxcap_server: added oma user-profile and pres-content (avatar) support
Daniel-Constantin Mierla [Sat, 14 May 2011 08:44:05 +0000 (10:44 +0200)]
xcap_server: added oma user-profile and pres-content (avatar) support

- patch by Peter Dunkley

9 years agoxcap_client: defined internal types for USER_PROFILE and PRES_CONTENT
Daniel-Constantin Mierla [Sat, 14 May 2011 08:42:40 +0000 (10:42 +0200)]
xcap_client: defined internal types for USER_PROFILE and PRES_CONTENT

- part of patch by Peter Dunkley

9 years agolib/srdb1/schema/lcr_gw.xml: updated table index
Juha Heinanen [Sat, 14 May 2011 08:24:11 +0000 (11:24 +0300)]
lib/srdb1/schema/lcr_gw.xml:  updated table index
- lcr gw lcr_id, ip_addr, port, hostname do not need to be unique

9 years agomodules/carrieroute: fixed a bug in carrieroute
Marius Bucur [Wed, 11 May 2011 10:43:08 +0000 (13:43 +0300)]
modules/carrieroute: fixed a bug in carrieroute

the bug caused carrieroute to crash when an invalid SIP message is received (e.g. with no callid)

9 years agomodules_k/siputils: added set_uri_host script function
Juha Heinanen [Tue, 10 May 2011 06:50:14 +0000 (09:50 +0300)]
modules_k/siputils: added set_uri_host script function

9 years agopkg: deb lib dir name is set by variable LIBDIR
Daniel-Constantin Mierla [Fri, 6 May 2011 04:42:51 +0000 (06:42 +0200)]
pkg: deb lib dir name is set by variable LIBDIR

- fixes the check for duplicate libs to variants of deb distros
- reported in FS#130 and FS#128

9 years agopkg: lib dir name is set by variable LIBDIR
Daniel-Constantin Mierla [Fri, 6 May 2011 03:42:21 +0000 (05:42 +0200)]
pkg: lib dir name is set by variable LIBDIR

- fixes the check for duplicate libs
- reported in FS#130 and FS#128

9 years agotcp: fix send2child() error case
Andrei Pelinescu-Onciul [Wed, 4 May 2011 22:43:48 +0000 (00:43 +0200)]
tcp: fix send2child() error case

If send2child() fails don't decrement the refcnt if the connection
was already removed from the hash due to some other previous
error (very unlikely, but possible).

9 years agotcp: fix tcp_*_destroy() bug case
Andrei Pelinescu-Onciul [Wed, 4 May 2011 22:35:31 +0000 (00:35 +0200)]
tcp: fix tcp_*_destroy() bug case

Mark unhashed connections in the "bug" code path to avoid
attempting to remove them twice.

9 years agotcp: fix multiple hash removal attempts
Andrei Pelinescu-Onciul [Wed, 4 May 2011 22:13:36 +0000 (00:13 +0200)]
tcp: fix multiple hash removal attempts

In some corner cases (pending new tcp connection created in async
mode, other processes try to append data to it but fail and the
initial send fails after that) it was possible to attempt removing
the connection from the hash and the local timer multiple times.

9 years agotm: allow t_on_reply() in branch_route
Daniel-Constantin Mierla [Wed, 4 May 2011 17:25:36 +0000 (19:25 +0200)]
tm: allow t_on_reply() in branch_route

- same for t_on_failure()
- reported by Sebastian Damm

9 years agosdpops: added sdpops_remove_codecs_by_name(list)
Daniel-Constantin Mierla [Sun, 1 May 2011 15:36:38 +0000 (17:36 +0200)]
sdpops: added sdpops_remove_codecs_by_name(list)

- it takes as parameter a csv list with codec names
- works for now with codecs that have ID assigned by IANA, the rest will
  follow

9 years agohtable: readme was regenerated
Daniel-Constantin Mierla [Sun, 1 May 2011 13:11:34 +0000 (15:11 +0200)]
htable: readme was regenerated