sip-router
10 years agosiputils(k): fix bug introduced in the sl unification
Henning Westerholt [Mon, 9 Aug 2010 15:25:14 +0000 (17:25 +0200)]
siputils(k): fix bug introduced in the sl unification

10 years agonathelper(k): Core SDP parser integrated into nathelper
Ovidiu Sas [Thu, 5 Aug 2010 22:40:53 +0000 (18:40 -0400)]
nathelper(k): Core SDP parser integrated into nathelper

The nathelper (k version) is using the core SDP parser to
extract the IP and port from the received message.

10 years agomodules_k/dialog: Remove trailing whitespace.
Timo Reimann [Thu, 5 Aug 2010 16:17:01 +0000 (18:17 +0200)]
modules_k/dialog: Remove trailing whitespace.

10 years agomodules_k/dialog: Provide new fix to prevent "unable to find
Timo Reimann [Thu, 5 Aug 2010 15:48:30 +0000 (17:48 +0200)]
modules_k/dialog: Provide new fix to prevent "unable to find
dialog" WARN messages caused by accessing a dialog in the
"deleted" state (often happens with simultaneous BYE requests when
both UAs hang up at the same time).

This commit uses a different approach where a "deleted" flag is
set in get_dlg() and lookup_dlg() which callers may evaluate.
Callers who only care about existing dialogs can ignore the flag
by passing a NULL argument.

The commit "replaces" 9b7f25d7 and follows up 0723496c.

10 years agomodules_k/dialog: Revert "Prevent 'unable to find dialog' WARN
Timo Reimann [Thu, 5 Aug 2010 15:23:34 +0000 (17:23 +0200)]
modules_k/dialog: Revert "Prevent 'unable to find dialog' WARN
messages caused by accessing a dialog in the "deleted" state".

The approach chosen was incomplete as it requires extending checks
of return values for all calls to get_dlg() and lookup_dlg()
against POINTER_CLOSED_MARKER. Otherwise, it may lead to server
crashes when code mistakes POINTER_CLOSED_MARKER for an existing
dialog. However, having to check against two return values
requires a lot of logic changes.

Therefore, a better approach will be taken in a follow-up commit.

This reverts commit 9b7f25d7196e41cbcc77c1d6e316cb1a8664ed81.

10 years agoMerge branch 'master' of ssh://mariusbucur@git.sip-router.org/sip-router
Marius Bucur [Thu, 5 Aug 2010 08:50:11 +0000 (10:50 +0200)]
Merge branch 'master' of ssh://mariusbucur@git.sip-router.org/sip-router

10 years agoadded missing database files for dbtext and berkley
Marius Bucur [Thu, 5 Aug 2010 08:48:23 +0000 (10:48 +0200)]
added missing database files for dbtext and berkley

10 years agomodules/carrierroute Fixed resource leak in case of error
Marius Zbihlei [Thu, 5 Aug 2010 08:08:17 +0000 (11:08 +0300)]
modules/carrierroute Fixed resource leak in case of error

2 FILE* where leaked(fclose was not called) in file mode on the  error paths.

10 years agoadd new module "matrix" for array lookups
Marius Bucur [Wed, 4 Aug 2010 16:35:31 +0000 (18:35 +0200)]
add new module "matrix" for array lookups

10 years agomodules/tm: Fixed memory leak related to several tm function exports
Marius Zbihlei [Mon, 2 Aug 2010 14:26:20 +0000 (17:26 +0300)]
modules/tm: Fixed memory leak related to several tm function exports

Mk_proxy() call allocates a new proxy_t* structure. The free_proxy() call does
not free this structure, it frees only the content. Another pkg_free is necessary
in this case.

10 years agopresence_dialoginfo(k): don't exeed array size in error case
Daniel-Constantin Mierla [Fri, 30 Jul 2010 21:29:43 +0000 (23:29 +0200)]
presence_dialoginfo(k): don't exeed array size in error case

- error handling could get to the size of array as index, resulting in
  out of bounds operation
- patch by Marius-Ovidiu Bucur

10 years agopresence(k): set properly db updated flag
Daniel-Constantin Mierla [Fri, 30 Jul 2010 21:26:35 +0000 (23:26 +0200)]
presence(k): set properly db updated flag

- patch by Marius-Ovidiu Bucur

10 years agopua(k): use the outbound proxy on updates
Daniel-Constantin Mierla [Fri, 30 Jul 2010 18:25:52 +0000 (20:25 +0200)]
pua(k): use the outbound proxy on updates

- patch by Alex Hermann, SF#3035780

10 years agopv: fixed tobody.params transformation
Daniel-Constantin Mierla [Fri, 30 Jul 2010 18:15:13 +0000 (20:15 +0200)]
pv: fixed tobody.params transformation

- len was wrong when having quoted parameters
- patch by Alex Hermann, closes SF#3035382

10 years agocore: fix parsing quoted paramers in To header
Daniel-Constantin Mierla [Fri, 30 Jul 2010 18:07:45 +0000 (20:07 +0200)]
core: fix parsing quoted paramers in To header

- fix off-by-one bug for quoted parameter values in parse_to
- patch by Alex Hermann, SF#3035382

10 years agoregistrar(k): reset local contact holder
Daniel-Constantin Mierla [Fri, 30 Jul 2010 17:40:50 +0000 (19:40 +0200)]
registrar(k): reset local contact holder

- when an UA fetches the bindings for a user and the user isn't
  registered, properly return an empty contact.
- closes SF#3035778, patch by Alex Hermann

10 years agoxmlops: new module for xml operations
Daniel-Constantin Mierla [Thu, 29 Jul 2010 18:37:50 +0000 (20:37 +0200)]
xmlops: new module for xml operations

- implements $xml(name=>spec) pseudo-variable (previously was in
  presence_xml)
- new parameter buf_size to control the max size of internal buffer for xml
  document management

10 years agopresence_xml: xml PV moved to xmlops module
Daniel-Constantin Mierla [Thu, 29 Jul 2010 18:23:19 +0000 (20:23 +0200)]
presence_xml: xml PV moved to xmlops module

10 years agomodules_k/sst: Setting AVPs from integer values requires the
Timo Reimann [Thu, 29 Jul 2010 17:09:51 +0000 (19:09 +0200)]
modules_k/sst: Setting AVPs from integer values requires the
PV_TYPE_INT flag to be set.

10 years agotextopsx: new module for text operations
Daniel-Constantin Mierla [Thu, 29 Jul 2010 16:59:47 +0000 (18:59 +0200)]
textopsx: new module for text operations

- it collects functions that have no kamailio or ser
  specific dependecies
- moved here: msg_apply_changes() and change_reply_status()

10 years agotextops(s): change_reply_status() moved to textopsx
Daniel-Constantin Mierla [Thu, 29 Jul 2010 16:54:53 +0000 (18:54 +0200)]
textops(s): change_reply_status() moved to textopsx

10 years agotextops(k): msg_apply_changes() moved to textops
Daniel-Constantin Mierla [Thu, 29 Jul 2010 16:53:42 +0000 (18:53 +0200)]
textops(k): msg_apply_changes() moved to textops

10 years agoreg(k): only store path if indicated by the configuration
Henning Westerholt [Thu, 29 Jul 2010 16:42:27 +0000 (18:42 +0200)]
reg(k): only store path if indicated by the configuration

10 years agoacc_radius(k): new module for RADIUS accounting
Daniel-Constantin Mierla [Thu, 29 Jul 2010 12:48:21 +0000 (14:48 +0200)]
acc_radius(k): new module for RADIUS accounting

- the modules is built out of acc module radius part
- acc module still has the RADIUS accounting inside, available with
  RAD_ACC define like so far - subject to be removed if everyone agrees
- this module can be used together with acc avoiding to recompile acc
  module to enable RAD_ACC, making at least packaging easier
- same cfg parameters and functions used for radius accounting in acc
  module are available in acc_radius

10 years agoacc(k): exported acc API
Daniel-Constantin Mierla [Thu, 29 Jul 2010 12:45:23 +0000 (14:45 +0200)]
acc(k): exported acc API

- internal functions and structures were exported as API to be
  available for new acc engines out of acc module

10 years agocore: new param -A to add cfg preprocesor directives
Daniel-Constantin Mierla [Tue, 27 Jul 2010 21:46:48 +0000 (23:46 +0200)]
core: new param -A to add cfg preprocesor directives

- defines can be specified from command line with option -A
- these defines are available from begining of parsing the config
- examples:
- '-A WITH_AUTH' is like having '#!define WITH_AUTH' at top of cfg
- '-A LISTENIP=127.0.0.1' is like '#!define LISTENIP=127.0.0.1'

10 years agocore: added option '-a' to control auto aliases
Daniel-Constantin Mierla [Tue, 27 Jul 2010 21:20:24 +0000 (23:20 +0200)]
core: added option '-a' to control auto aliases

- enable auto aliases with '-a yes' or -'-a on'
- disable auto aliases with '-a no' or -'-a off'
- the option overwirtes config value of global parameter auto_aliases

10 years agomodules_k/dialog: Add support for spiral detection.
Timo Reimann [Tue, 27 Jul 2010 16:50:31 +0000 (18:50 +0200)]
modules_k/dialog: Add support for spiral detection.

- Introduce module parameter "detect_spirals" which controls
  whether spiraling messages should be detected or not.
- If that flag is set, dlg_onreq() will check incoming message's
  dialog identifier (except for not yet existing To tag) against
  its local set of dialogs. If a match is found, the generation of
  a new dialog will be suppressed.
- New dialog callback DLGCB_SPIRALED may be registered to allow
  custom module actions on occurrence of a spiraling event.

10 years agoauth_db(k): proper initialization for the default column
Henning Westerholt [Tue, 27 Jul 2010 16:51:07 +0000 (18:51 +0200)]
auth_db(k): proper initialization for the default column

10 years agomodules_k/dialog: Prevent "unable to find dialog" WARN messages
Timo Reimann [Tue, 27 Jul 2010 12:37:06 +0000 (14:37 +0200)]
modules_k/dialog: Prevent "unable to find dialog" WARN messages
caused by accessing a dialog in the "deleted" state (often happens
with simultaneous BYE requests when both UAs hang up at the same
time).

- Move POINTER_CLOSED_MARKER from dlg_cb.c into dlg_hash.h for
  common usage.
- in lookup_dlg() and internal_get_dlg(), return
  POINTER_CLOSED_MARKER when dialog is found but in the
  DLG_STATE_DELETED state.
- in dlg_onroute(), abort request processing if dialog is found to
  be in the "deleted" state.

10 years agoreg(k): extend notes about the case_sensitive parameter
Henning Westerholt [Tue, 27 Jul 2010 12:53:57 +0000 (14:53 +0200)]
reg(k): extend notes about the case_sensitive parameter

10 years agomodules_k/dialog: Move comment regarding dialog-destroying
Timo Reimann [Tue, 27 Jul 2010 12:06:11 +0000 (14:06 +0200)]
modules_k/dialog: Move comment regarding dialog-destroying
unreference operation to proper new location.

10 years agoRevert "db_postgres(old API) FS#77: fix BLOBs with postgres"
Henning Westerholt [Mon, 26 Jul 2010 17:01:06 +0000 (19:01 +0200)]
Revert "db_postgres(old API) FS#77: fix BLOBs with postgres"

This reverts commit 2e56720769913c55cacc83fe3a31f44f072e7590.

10 years agomodules_k/presence and modules_k/rls Fixed parse_to() usage
Marius Zbihlei [Mon, 26 Jul 2010 14:39:18 +0000 (17:39 +0300)]
modules_k/presence and modules_k/rls Fixed parse_to() usage

In case of error parse_to returns a pointer to the last parsed character. This is not a strict
error check, as several other modules provide a relaxed way of parsing To header (the uri is still
parseable even if the TO headers are not).

10 years agoauth_db(k): use fixup_var_str_12() for realm param
Daniel-Constantin Mierla [Sun, 25 Jul 2010 20:44:27 +0000 (22:44 +0200)]
auth_db(k): use fixup_var_str_12() for realm param

10 years agoauth_db(k): use post_auth() via auth api
Daniel-Constantin Mierla [Sun, 25 Jul 2010 20:26:14 +0000 (22:26 +0200)]
auth_db(k): use post_auth() via auth api

10 years agoauth(k): module removed
Daniel-Constantin Mierla [Sun, 25 Jul 2010 20:14:12 +0000 (22:14 +0200)]
auth(k): module removed

- use modules/auth insted of this one

10 years agoauth(k) and siputils: moved rpid operations
Daniel-Constantin Mierla [Sun, 25 Jul 2010 20:10:00 +0000 (22:10 +0200)]
auth(k) and siputils: moved rpid operations

- rpid operations moved to siputils module
- it is not much relation between authentication and rpid
- auth(k) is to be removed, functionality replaced by modules/auth

10 years agoosp(k): use siputils api for rpid operations
Daniel-Constantin Mierla [Sun, 25 Jul 2010 20:08:50 +0000 (22:08 +0200)]
osp(k): use siputils api for rpid operations

- rpid operations were moved from auth(k) to siputils module

10 years agokamailio.cfg: updates due to last auth changes
Daniel-Constantin Mierla [Sun, 25 Jul 2010 19:11:14 +0000 (21:11 +0200)]
kamailio.cfg: updates due to last auth changes

10 years agoauth: aaa_avps.h removed
Daniel-Constantin Mierla [Sun, 25 Jul 2010 19:06:54 +0000 (21:06 +0200)]
auth: aaa_avps.h removed

- the file was included only by modules_s/auth_db
- its content was sync'ed to modules_s/auth_db/aaa_avps.h
- this file was no longer needed

10 years agoauth_db(s): updated local aaa_avps.h
Daniel-Constantin Mierla [Sun, 25 Jul 2010 19:05:11 +0000 (21:05 +0200)]
auth_db(s): updated local aaa_avps.h

- local aaa_avps.h was not used, instead was modules/auth/aaa_avps.h
- aaa_avps.h content is taken from modules/auth/aaa_avps.h and now local
  file is used

10 years agoosp(s): removed unused auth/api.h
Daniel-Constantin Mierla [Sun, 25 Jul 2010 18:54:24 +0000 (20:54 +0200)]
osp(s): removed unused auth/api.h

10 years agoauth_radius(s): updated to use modules/auth
Daniel-Constantin Mierla [Sun, 25 Jul 2010 18:53:55 +0000 (20:53 +0200)]
auth_radius(s): updated to use modules/auth

10 years agoauth_db(s): updated to use modules/auth
Daniel-Constantin Mierla [Sun, 25 Jul 2010 18:53:28 +0000 (20:53 +0200)]
auth_db(s): updated to use modules/auth

10 years agoauth_radius(k): updated to use modules/auth
Daniel-Constantin Mierla [Sun, 25 Jul 2010 18:52:59 +0000 (20:52 +0200)]
auth_radius(k): updated to use modules/auth

10 years agoauth_diameter(k): updated to use modules/auth
Daniel-Constantin Mierla [Sun, 25 Jul 2010 18:52:30 +0000 (20:52 +0200)]
auth_diameter(k): updated to use modules/auth

10 years agoauth_db(k): updated to use modules/auth
Daniel-Constantin Mierla [Sun, 25 Jul 2010 18:52:07 +0000 (20:52 +0200)]
auth_db(k): updated to use modules/auth

10 years agoauth(s): module moved to modules/auth
Daniel-Constantin Mierla [Sun, 25 Jul 2010 18:26:38 +0000 (20:26 +0200)]
auth(s): module moved to modules/auth

10 years agoosp(s): update Makefile for libosptk
Daniel-Constantin Mierla [Sun, 25 Jul 2010 13:58:14 +0000 (15:58 +0200)]
osp(s): update Makefile for libosptk

10 years agoauth_db(k): updated to use auth(s) module
Daniel-Constantin Mierla [Sun, 25 Jul 2010 13:48:43 +0000 (15:48 +0200)]
auth_db(k): updated to use auth(s) module

- aliased {www,proxy}_authorize to {www,proxy}_authenticate since they
  perform user authentication
- use the API provided by modules_s/auth, improved functionality and
  security protection comparing with modules_k/auth

10 years agoauth(s): documentation updated
Daniel-Constantin Mierla [Sun, 25 Jul 2010 13:44:38 +0000 (15:44 +0200)]
auth(s): documentation updated

10 years agoauth(s): added enum for cfg return codes
Daniel-Constantin Mierla [Sun, 25 Jul 2010 12:45:32 +0000 (14:45 +0200)]
auth(s): added enum for cfg return codes

- useful to detect if user does not exists or password is wrong
- pv_{www,proxy}_authenticate() functions updated to use them

10 years agoauth(s): new cfg functions
Daniel-Constantin Mierla [Sun, 25 Jul 2010 10:47:25 +0000 (12:47 +0200)]
auth(s): new cfg functions

- pv_www_authenticate(real, passwd, flags)
- pv_proxy_authenticate(real, passwd, flags)
- perform Digest authentication taking password from a parameter
  (can be cfg var)
- username is taken from Auth header
- realm and passwd must have values
- $td (To URI domain) can be used for REGISTER
- $fd (From URI domain) can be used for other SIP requests
- flags - bitmask of
- 1 - the content of password param is HA1/HA1b
- 2 - build challenge header (no qop) and add it in an avp
- 4 - build challenge header (qop=auth) and add it in an avp
- 8 - build challenge header (qop=auth-int) and add it in an avp
- when challenge header is built, append_to_reply() and sl reply
  functions can be used to send appropriate SIP reply to challenge
  for authentication
- www_challenge(realm, flags)
- proxy_challenge(realm, flags)
- send Digest authentication challenge (401 or 407 replies)
- realm must have value
- $td (To URI domain) can be used for REGISTER
- $fd (From URI domain) can be used for other SIP requests
- flags - bitmask of
- 1 - build challenge header (qop=auth) and add it in an avp
- 2 - build challenge header (qop=auth-int) and add it in an avp
- 4 - do not send '500 Internal Server Error' reply
  automatically in failure cases (error code is returned to config)

10 years agosl: README includes module parameters
Daniel-Constantin Mierla [Sat, 24 Jul 2010 16:59:59 +0000 (18:59 +0200)]
sl: README includes module parameters

10 years agosiptrace: updated documentation
Daniel-Constantin Mierla [Sat, 24 Jul 2010 16:52:37 +0000 (18:52 +0200)]
siptrace: updated documentation

10 years agosiptrace: added new param to control SL ACKs tracing
Daniel-Constantin Mierla [Sat, 24 Jul 2010 16:33:25 +0000 (18:33 +0200)]
siptrace: added new param to control SL ACKs tracing

- trace_sl_acks can be used to disable tracing of SL ACKs
- default is 1 (trace ACKs, backward compatible) - but there is no way
  to apply own filters
- event_route[sl:filtered-ack] can be used as alternative, where cfg
  rules can be used to decide what ACK to trace

10 years agosl: option to run event_route[sl:filtered-ack]
Daniel-Constantin Mierla [Sat, 24 Jul 2010 16:24:17 +0000 (18:24 +0200)]
sl: option to run event_route[sl:filtered-ack]

- event route executed when a ACK is filtered by SL module
- separate statistic var for SL module failures from err replies

10 years agosl: updated module documentation
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:43:43 +0000 (13:43 +0200)]
sl: updated module documentation

- missing parameters and functions added to README

10 years agosl(k): module was removed
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:22:05 +0000 (13:22 +0200)]
sl(k): module was removed

- from now on use modules/sl

10 years agounixsock(s): init var to avoid compiler warning
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:10:32 +0000 (13:10 +0200)]
unixsock(s): init var to avoid compiler warning

10 years agospeeddial(s): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:10:01 +0000 (13:10 +0200)]
speeddial(s): updated to use common sl module

10 years agoregistrar(s): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:09:46 +0000 (13:09 +0200)]
registrar(s): updated to use common sl module

10 years agooptions(s): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:09:29 +0000 (13:09 +0200)]
options(s): updated to use common sl module

10 years agomangler(s): added missing include file
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:09:04 +0000 (13:09 +0200)]
mangler(s): added missing include file

10 years agocpl-c(s): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:08:34 +0000 (13:08 +0200)]
cpl-c(s): updated to use common sl module

10 years agoauth_db(s): removed unused sl api variable
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:08:12 +0000 (13:08 +0200)]
auth_db(s): removed unused sl api variable

10 years agoauth(s): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:07:28 +0000 (13:07 +0200)]
auth(s): updated to use common sl module

10 years agoxcap_server(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:07:08 +0000 (13:07 +0200)]
xcap_server(k): updated to use common sl module

10 years agosst(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:06:49 +0000 (13:06 +0200)]
sst(k): updated to use common sl module

10 years agosiputils(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:06:35 +0000 (13:06 +0200)]
siputils(k): updated to use common sl module

10 years agosiptrace(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:06:10 +0000 (13:06 +0200)]
siptrace(k): updated to use common sl module

10 years agorls(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:05:43 +0000 (13:05 +0200)]
rls(k): updated to use common sl module

10 years agopresence_xml(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:05:19 +0000 (13:05 +0200)]
presence_xml(k): updated to use common sl module

10 years agopresence(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:05:03 +0000 (13:05 +0200)]
presence(k): updated to use common sl module

10 years agoperl(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:04:40 +0000 (13:04 +0200)]
perl(k): updated to use common sl module

10 years agoregistrar(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:04:20 +0000 (13:04 +0200)]
registrar(k): updated to use common sl module

10 years agoosp(k): fixed auth api struct name
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:03:46 +0000 (13:03 +0200)]
osp(k): fixed auth api struct name

10 years agonat_traversal(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:03:26 +0000 (13:03 +0200)]
nat_traversal(k): updated to use common sl module

10 years agocpl-c(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:03:07 +0000 (13:03 +0200)]
cpl-c(k): updated to use common sl module

10 years agoauth_diameter(k): updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:02:41 +0000 (13:02 +0200)]
auth_diameter(k): updated to use common sl module

10 years agoauth_db(k): removed internal sl reply
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:01:34 +0000 (13:01 +0200)]
auth_db(k): removed internal sl reply

- it was used in one case and config does not expect it

10 years agoauth: updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:00:49 +0000 (13:00 +0200)]
auth: updated to use common sl module

10 years agoxmlrpc: updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 11:00:11 +0000 (13:00 +0200)]
xmlrpc: updated to use common sl module

10 years agoxhtml: updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 10:59:51 +0000 (12:59 +0200)]
xhtml: updated to use common sl module

10 years agopipelimit: updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 10:59:16 +0000 (12:59 +0200)]
pipelimit: updated to use common sl module

10 years agosanity: updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 10:58:52 +0000 (12:58 +0200)]
sanity: updated to use common sl module

10 years agoapp_lua: updated to use common sl module
Daniel-Constantin Mierla [Sat, 24 Jul 2010 10:58:14 +0000 (12:58 +0200)]
app_lua: updated to use common sl module

10 years agosl: some rework to sl_load_api()
Daniel-Constantin Mierla [Sat, 24 Jul 2010 10:56:40 +0000 (12:56 +0200)]
sl: some rework to sl_load_api()

- link to kcore for kstats

10 years agosl(k): removed sl(s) specific api
Daniel-Constantin Mierla [Sat, 24 Jul 2010 10:56:08 +0000 (12:56 +0200)]
sl(k): removed sl(s) specific api

10 years agocore: try fixup to PV list in fixup_var_str_12
Daniel-Constantin Mierla [Sat, 24 Jul 2010 10:26:28 +0000 (12:26 +0200)]
core: try fixup to PV list in fixup_var_str_12

- allow strings with static text and PVs as parameter

10 years agosl: use bitmask to detect existence of cb type
Daniel-Constantin Mierla [Sat, 24 Jul 2010 10:24:43 +0000 (12:24 +0200)]
sl: use bitmask to detect existence of cb type

- do not build cb parameter if there is no callback function for that
  type
- use char* for reason parameter of cb event

10 years agosl(s): module moved to modules directory
Daniel-Constantin Mierla [Sat, 24 Jul 2010 08:18:17 +0000 (10:18 +0200)]
sl(s): module moved to modules directory

10 years agosl(s): added more functions to SL API
Daniel-Constantin Mierla [Sat, 24 Jul 2010 08:10:38 +0000 (10:10 +0200)]
sl(s): added more functions to SL API

- new function send_reply() that replies stateful using TM if
  transaction is created
- internal functions to get To-tag for stateful (if T exists) or
  stateless reply
- internal function to be able to send reply with pre-set To-tag
- wrapper function that takes reason phrashe parameter as str*
- callback mechanism to handle sl reply ready and sl filtered ack events

10 years agosl(k): removed not needed var
Daniel-Constantin Mierla [Sat, 24 Jul 2010 06:44:56 +0000 (08:44 +0200)]
sl(k): removed not needed var

10 years agosl: stats exported to K-style api
Daniel-Constantin Mierla [Fri, 23 Jul 2010 19:33:30 +0000 (21:33 +0200)]
sl: stats exported to K-style api

- S stats are available via K stats api
- more detailed stats per reply codes

10 years agolib/srdb1/schema: updated LCR table references
Juha Heinanen [Fri, 23 Jul 2010 12:18:11 +0000 (15:18 +0300)]
lib/srdb1/schema: updated LCR table references

10 years agocpl-c(k): fix gcc warning by making the check more explicit
Henning Westerholt [Fri, 23 Jul 2010 12:07:04 +0000 (14:07 +0200)]
cpl-c(k): fix gcc warning by making the check more explicit

10 years agopurple(k): fix sprintf invocation, we need some printing destination here
Henning Westerholt [Fri, 23 Jul 2010 12:01:30 +0000 (14:01 +0200)]
purple(k): fix sprintf invocation, we need some printing destination here

10 years agodialog(k): also update README after doc change
Henning Westerholt [Fri, 23 Jul 2010 11:51:11 +0000 (13:51 +0200)]
dialog(k): also update README after doc change