sip-router
6 years agoAdded requirements for modules app_python and app_java
Konstantin Mosesov [Sat, 24 May 2014 13:14:30 +0000 (17:14 +0400)]
Added requirements for modules app_python and app_java

6 years agoNew generated file
Konstantin Mosesov [Sat, 24 May 2014 02:00:47 +0000 (06:00 +0400)]
New generated file

6 years agoAdded application name in error description.
Konstantin Mosesov [Sat, 24 May 2014 01:59:56 +0000 (05:59 +0400)]
Added application name in error description.

6 years agoFixed misstypes and indents in docs.
Konstantin Mosesov [Sat, 24 May 2014 01:58:19 +0000 (05:58 +0400)]
Fixed misstypes and indents in docs.

6 years agoFixed bug with JAVA_HOME detection.
Konstantin Mosesov [Sat, 24 May 2014 01:57:16 +0000 (05:57 +0400)]
Fixed bug with JAVA_HOME detection.

6 years agomodules:ims_registrar_scscf: notify partial reg info body incorrect when q is set
Richard Good [Fri, 23 May 2014 16:06:03 +0000 (18:06 +0200)]
modules:ims_registrar_scscf: notify partial reg info body incorrect when q is set

6 years agomodules:ims_registrar_scscf: fixed domain lockup when generating notifications if...
Richard Good [Fri, 23 May 2014 16:04:03 +0000 (18:04 +0200)]
modules:ims_registrar_scscf: fixed domain lockup when generating notifications if impu not found

6 years agomodules:ims_registrar_pcscf: added support for notification event deactivated
Richard Good [Fri, 23 May 2014 16:01:42 +0000 (18:01 +0200)]
modules:ims_registrar_pcscf:  added support for notification event deactivated

6 years agoCore: Bugfix: Do not reset tcp_listeners: We may only listen on TCP.
Carsten Bock [Thu, 22 May 2014 19:07:17 +0000 (21:07 +0200)]
Core: Bugfix: Do not reset tcp_listeners: We may only listen on TCP.

6 years agomodules/ims_usrloc_pcscf: fixed bug, not fetching associated IMPUs from DB during...
Jason Penton [Thu, 22 May 2014 12:52:43 +0000 (14:52 +0200)]
modules/ims_usrloc_pcscf: fixed bug, not fetching associated IMPUs from DB during preload of domain on startup

6 years agomodules/ims_usrloc_scscf: Added ability to do AKA resync of auth vectors
Jason Penton [Wed, 21 May 2014 19:51:11 +0000 (21:51 +0200)]
modules/ims_usrloc_scscf: Added ability to do AKA resync of auth vectors
        - this functionality is required for AKA authentication between network and SIM should they get out
                of sync with each other re. sequence numbers

6 years agomodules/ims_auth: fixed unlocking of usrloc hash slots
Jason Penton [Wed, 21 May 2014 19:47:38 +0000 (21:47 +0200)]
modules/ims_auth: fixed unlocking of usrloc hash slots
- can cause deadlock

6 years agocore: allow listening on tls without listening on tcp
Daniel-Constantin Mierla [Wed, 21 May 2014 07:55:46 +0000 (09:55 +0200)]
core: allow listening on tls without listening on tcp

- reported in FS#425

6 years agodispatcher: ds_select_dst/domain can take args as string (not only int)
Ovidiu Sas [Tue, 20 May 2014 17:47:44 +0000 (13:47 -0400)]
dispatcher: ds_select_dst/domain can take args as string (not only int)
 - internal converion of string->int (if possible)

6 years agosr_module: new fixup function: get_is_fparam()
Ovidiu Sas [Tue, 20 May 2014 17:45:40 +0000 (13:45 -0400)]
sr_module: new fixup function: get_is_fparam()
 - retrieve parameter value as string or/and integer (if possible)

6 years agokex: count unsupported methods only for SIP requests
Daniel-Constantin Mierla [Tue, 20 May 2014 14:14:32 +0000 (16:14 +0200)]
kex: count unsupported methods only for SIP requests

- reported by Juha Heinanen, FS#432

6 years agomodules/siputils: generate error message if parsing of is_gruu() uri fails
Juha Heinanen [Tue, 20 May 2014 13:22:58 +0000 (16:22 +0300)]
modules/siputils:  generate error message if parsing of is_gruu() uri fails

6 years agocore: print number of parameters used for searching cfg function
Daniel-Constantin Mierla [Tue, 20 May 2014 07:16:01 +0000 (09:16 +0200)]
core: print number of parameters used for searching cfg function

6 years agosdpops: added note about dtmf and telepheone-event to docs of spd_keep_codecs_by_name()
Daniel-Constantin Mierla [Tue, 20 May 2014 06:46:04 +0000 (08:46 +0200)]
sdpops: added note about dtmf and telepheone-event to docs of spd_keep_codecs_by_name()

6 years agomodules/kex: fixed type of stats.get_statistics result
Juha Heinanen [Mon, 19 May 2014 09:16:58 +0000 (12:16 +0300)]
modules/kex: fixed type of stats.get_statistics result

6 years agodialog: add wait-for-ack callback before response unref
Daniel-Constantin Mierla [Mon, 19 May 2014 06:56:38 +0000 (08:56 +0200)]
dialog: add wait-for-ack callback before response unref

- in case of a sipral for ending in a negative response from initial
  state, ack to second iteration can unref prematurely the dialog
- reported by Pawel Sternal, FS#427

6 years agotextops: Refresh README
Victor Seva [Tue, 18 Mar 2014 10:18:56 +0000 (11:18 +0100)]
textops: Refresh README

6 years agotextops: add new multipart functions documentation
Victor Seva [Sun, 16 Mar 2014 09:04:38 +0000 (10:04 +0100)]
textops: add new multipart functions documentation

6 years agotextops: functions to convert, append and remove multipart bodies
Victor Seva [Fri, 21 Mar 2014 20:59:41 +0000 (21:59 +0100)]
textops: functions to convert, append and remove multipart bodies

6 years agocore: add check_boundaries() to build_req_buf_from_sip_req().
Victor Seva [Fri, 21 Mar 2014 20:56:04 +0000 (21:56 +0100)]
core: add check_boundaries() to build_req_buf_from_sip_req().

This checks and fixes the boundaries of a multipart body if the
FL_BODY_MULTIPART flag is set.

6 years agocore: add str_append helper function
Victor Seva [Mon, 28 Apr 2014 14:20:57 +0000 (16:20 +0200)]
core: add str_append helper function

6 years agomtree: replace tree structure even there are no records in db table
Daniel-Constantin Mierla [Sun, 18 May 2014 17:07:38 +0000 (19:07 +0200)]
mtree: replace tree structure even there are no records in db table

- reload didn't replaced old tree if no records in db table
- reported by Juha Heinanen

6 years agosiputils: allocate enough space to hold ending zero for tel uri in tel2sip()
Daniel-Constantin Mierla [Thu, 15 May 2014 11:59:03 +0000 (13:59 +0200)]
siputils: allocate enough space to hold ending zero for tel uri in tel2sip()

- reported by Juha Heinanen

6 years agocore: use port 5061 for checking self when uri has transport tls
Daniel-Constantin Mierla [Thu, 15 May 2014 10:48:04 +0000 (12:48 +0200)]
core: use port 5061 for checking self when uri has transport tls

- 5060 was used, failing to match myself condition

6 years agotopoh: match on all ports if none is in the uri for checking self
Daniel-Constantin Mierla [Thu, 15 May 2014 10:46:14 +0000 (12:46 +0200)]
topoh: match on all ports if none is in the uri for checking self

- forcing default 5060 can fail for multi-listen case and tls

6 years agokamcmd: proper size for memset, based on malloc
Daniel-Constantin Mierla [Wed, 14 May 2014 21:37:54 +0000 (23:37 +0200)]
kamcmd: proper size for memset, based on malloc

6 years agoparser/sdp: assign stream var only if session is not null
Daniel-Constantin Mierla [Wed, 14 May 2014 21:28:24 +0000 (23:28 +0200)]
parser/sdp: assign stream var only if session is not null

6 years agorls: free item in case of duplicate when trying to add to str list
Daniel-Constantin Mierla [Wed, 14 May 2014 21:19:05 +0000 (23:19 +0200)]
rls: free item in case of duplicate when trying to add to str list

6 years agorls: proper header define guard and check of null returned value
Daniel-Constantin Mierla [Wed, 14 May 2014 21:12:33 +0000 (23:12 +0200)]
rls: proper header define guard and check of null returned value

6 years agoipops: free dns pv structure on invalid pv name
Daniel-Constantin Mierla [Wed, 14 May 2014 21:08:06 +0000 (23:08 +0200)]
ipops: free dns pv structure on invalid pv name

6 years agodb_flatstore: free result before returning null on no more pkg
Daniel-Constantin Mierla [Wed, 14 May 2014 21:03:19 +0000 (23:03 +0200)]
db_flatstore: free result before returning null on no more pkg

- partial allocation when doing an incomplete new connection

6 years agocore: free previous allocated variable if no more pkg to build rve struct
Daniel-Constantin Mierla [Wed, 14 May 2014 20:56:37 +0000 (22:56 +0200)]
core: free previous allocated variable if no more pkg to build rve struct

- cleaner shut down if not enough memory at startup

6 years agopv: proper length for line transformation when handling last line of value
Daniel-Constantin Mierla [Wed, 14 May 2014 20:53:35 +0000 (22:53 +0200)]
pv: proper length for line transformation when handling last line of value

6 years agodispatcher: expand attrs while running rpc command dispatcher.list
Ovidiu Sas [Wed, 14 May 2014 21:00:30 +0000 (17:00 -0400)]
dispatcher: expand attrs while running rpc command dispatcher.list

6 years agodispatcher: fix weight attr comparison
Ovidiu Sas [Wed, 14 May 2014 20:07:24 +0000 (16:07 -0400)]
dispatcher: fix weight attr comparison

6 years agopresence_dialoginfo: get rid of unused variables warning
Daniel-Constantin Mierla [Wed, 14 May 2014 07:58:50 +0000 (09:58 +0200)]
presence_dialoginfo: get rid of unused variables warning

- priority and winning_priority are used in an alternative winning node
  selection which is disabled now
- reported by Jua Heinanen

6 years agodialog: if sending BYE fails at timeout, unref dialog
Daniel-Constantin Mierla [Mon, 12 May 2014 20:54:54 +0000 (22:54 +0200)]
dialog: if sending BYE fails at timeout, unref dialog

- destroy dialog structures

6 years agopkg/kamailio/deb: append pkg-config as Build-Depends
Victor Seva [Mon, 12 May 2014 21:06:09 +0000 (23:06 +0200)]
pkg/kamailio/deb: append pkg-config as Build-Depends

6 years agocnxcc: Added credit vs cost per second check *before* starting the call
Carlos Ruiz Diaz [Mon, 12 May 2014 03:08:43 +0000 (22:08 -0500)]
cnxcc: Added credit vs cost per second check *before* starting the call

6 years agowebsocket: Fix crash in websocket module
Vitaliy Aleksandrov [Thu, 8 May 2014 14:01:02 +0000 (15:01 +0100)]
websocket: Fix crash in websocket module

- Avoid race condition by maintaining a connection reference count
- Fixes FS#406

6 years agomodules/utils: http_query now stores result also in case of 4xx replies
Juha Heinanen [Thu, 8 May 2014 12:24:51 +0000 (15:24 +0300)]
modules/utils: http_query now stores result also in case of 4xx replies

- Applied patch by Mikko Lehto.

6 years agopresence_dialoginfo: interetate through all 'dialog' nodes of xml document
Daniel-Constantin Mierla [Thu, 8 May 2014 06:40:28 +0000 (08:40 +0200)]
presence_dialoginfo: interetate through all 'dialog' nodes of xml document

- PUBLISH request can carry info for many dialogs
- reported and patch by Klaus Feichtinger

6 years agocore/mem: f_malloc - simplified join in realloc
Daniel-Constantin Mierla [Sat, 3 May 2014 21:44:22 +0000 (23:44 +0200)]
core/mem: f_malloc - simplified join in realloc

- restore proper usage counters

6 years agocore/mem: f_malloc - groupped few updates of usage stats in insert free function
Daniel-Constantin Mierla [Sat, 3 May 2014 20:13:16 +0000 (22:13 +0200)]
core/mem: f_malloc - groupped few updates of usage stats in insert free function

6 years agopkg/kamailio/deb: update version to 4.2.0~dev6
Victor Seva [Sat, 3 May 2014 19:50:15 +0000 (21:50 +0200)]
pkg/kamailio/deb: update version to 4.2.0~dev6

6 years agokex: remove debug message added in previous commit
Daniel-Constantin Mierla [Sat, 3 May 2014 19:36:28 +0000 (21:36 +0200)]
kex: remove debug message added in previous commit

6 years agomem/q_malloc: free old pointer if allocation in realloc fails
Daniel-Constantin Mierla [Sat, 3 May 2014 19:06:34 +0000 (21:06 +0200)]
mem/q_malloc: free old pointer if allocation in realloc fails

6 years agomem/f_malloc: free old pointer if allocation in realloc fails
Daniel-Constantin Mierla [Sat, 3 May 2014 19:03:34 +0000 (21:03 +0200)]
mem/f_malloc: free old pointer if allocation in realloc fails

6 years agoMakefile.defs: version set to 4.2.0-dev6
Daniel-Constantin Mierla [Sat, 3 May 2014 18:56:19 +0000 (20:56 +0200)]
Makefile.defs: version set to 4.2.0-dev6

6 years agoMakefile.defs: memory manager set to f_malloc
Daniel-Constantin Mierla [Sat, 3 May 2014 18:52:53 +0000 (20:52 +0200)]
Makefile.defs: memory manager set to f_malloc

6 years agoxmlrpc: removed unused variable in rpc_array_add
Daniel-Constantin Mierla [Sat, 3 May 2014 18:52:06 +0000 (20:52 +0200)]
xmlrpc: removed unused variable in rpc_array_add

- reported by Juha Heinanen

6 years agocore/mem: f_malloc updates for pool type and refactoring of parts
Daniel-Constantin Mierla [Sat, 3 May 2014 18:10:00 +0000 (20:10 +0200)]
core/mem: f_malloc updates for pool type and refactoring of parts

- removed define on statistics, it was always on for the past several
  years - the code is cleaner
- total free fragements is kept in root memory block to avoid computing
  it at runtime by walking hash slots
- attempt to join fragments when a malloc fails to reuse existing
  fragments - should help when mem_join is 0, being very fast up to the
  moment of an out of memory, when does the attempt of joining
- pkg stats updated to use the single event callback at the end of
  malloc, free or realloc operations

6 years agocore/mem: q_malloc updates to set pool type and pkg stats refactoring
Daniel-Constantin Mierla [Sat, 3 May 2014 18:07:41 +0000 (20:07 +0200)]
core/mem: q_malloc updates to set pool type and pkg stats refactoring

- total free fragments are kept in memory root block to avoid computing
  them by walking the hash table
- use single event callback to update per process pkg stats, executed at
  the end of malloc, free or realloc opperations

6 years agokex: use the new pkg update stats event callback
Daniel-Constantin Mierla [Sat, 3 May 2014 18:05:32 +0000 (20:05 +0200)]
kex: use the new pkg update stats event callback

- print total size and total free fragments for each process
- should solve the issue when values of pkg stats were innacurate

6 years agocore/mem: ll_malloc initialization updated to be able to set pool type
Daniel-Constantin Mierla [Sat, 3 May 2014 18:05:12 +0000 (20:05 +0200)]
core/mem: ll_malloc initialization updated to be able to set pool type

6 years agocore/mem: sf_malloc initialization updated to be able to set pool type
Daniel-Constantin Mierla [Sat, 3 May 2014 18:04:34 +0000 (20:04 +0200)]
core/mem: sf_malloc initialization updated to be able to set pool type

6 years agocore: repaced the two pkg update event callbacks with one
Daniel-Constantin Mierla [Sat, 3 May 2014 18:02:47 +0000 (20:02 +0200)]
core: repaced the two pkg update event callbacks with one

- simplified usage as can be executed at the end of memory operations
  (malloc, free, realloc)

6 years agocore/mem: set shm type when initializing shared memory pool
Daniel-Constantin Mierla [Sat, 3 May 2014 18:02:06 +0000 (20:02 +0200)]
core/mem: set shm type when initializing shared memory pool

6 years agopkg/mem: set pkg type when intializing memory pool
Daniel-Constantin Mierla [Sat, 3 May 2014 18:01:23 +0000 (20:01 +0200)]
pkg/mem: set pkg type when intializing memory pool

6 years agocore/mem: define internal types for pkg and shm pools
Daniel-Constantin Mierla [Sat, 3 May 2014 17:57:19 +0000 (19:57 +0200)]
core/mem: define internal types for pkg and shm pools

- to allow easier identification when doing operations over mem block

6 years agoMakefile.defs: compile with debugging symbols when using clang
Daniel-Constantin Mierla [Sat, 3 May 2014 09:45:34 +0000 (11:45 +0200)]
Makefile.defs: compile with debugging symbols when using clang

- added -g parameter to be on pair with gcc

6 years agomem/f_malloc: link previous free fragment to speed up join
Daniel-Constantin Mierla [Sat, 3 May 2014 07:18:40 +0000 (09:18 +0200)]
mem/f_malloc: link previous free fragment to speed up join

6 years agomem/f_malloc: check returned pointer for bitmask index
Daniel-Constantin Mierla [Fri, 2 May 2014 21:58:12 +0000 (23:58 +0200)]
mem/f_malloc: check returned pointer for bitmask index

- if null, reset slot and search on bigger chunks slots

6 years agomodules/sdpops: turned two sdp_with_ice() INFO messages to DBG messages
Juha Heinanen [Sat, 3 May 2014 14:30:26 +0000 (17:30 +0300)]
modules/sdpops: turned two sdp_with_ice() INFO messages to DBG messages

6 years agodialog: copy dlg var value locally on get operation
Daniel-Constantin Mierla [Fri, 2 May 2014 19:50:14 +0000 (21:50 +0200)]
dialog: copy dlg var value locally on get operation

- reference to shared memory exposes risk on accessing an invalid
  pointer if anothe process updates it
- reported by Dragos Oancea

6 years agomodules/ims_registrar_scscf: fix to remove subscriptions when UE explicitly deregisters
Richard Good [Fri, 2 May 2014 10:15:53 +0000 (12:15 +0200)]
modules/ims_registrar_scscf: fix to remove subscriptions when UE explicitly deregisters

6 years agomodules/ims_registrar_scscf: Fix to not send notifies to UEs that explicitly deregister
Richard Good [Fri, 2 May 2014 10:15:05 +0000 (12:15 +0200)]
modules/ims_registrar_scscf: Fix to not send notifies to UEs that explicitly deregister

6 years agomodules/ims_registrar_scscf: added mod_param ue_unsubscribe_on_dereg
Richard Good [Fri, 2 May 2014 10:14:00 +0000 (12:14 +0200)]
modules/ims_registrar_scscf: added mod_param ue_unsubscribe_on_dereg
New mod param ue_unsubscribe_on_dereg: for UEs that do no send UNSUBSCRIBE for reg event when deregistering

6 years agomodules/ims_qos: switch flow descriptors. point of reference from NW persepcitve...
Jason Penton [Thu, 1 May 2014 07:09:49 +0000 (09:09 +0200)]
modules/ims_qos: switch flow descriptors. point of reference from NW persepcitve and not UE

6 years agocore: compute the len for dns srv name
Daniel-Constantin Mierla [Wed, 30 Apr 2014 19:46:55 +0000 (21:46 +0200)]
core: compute the len for dns srv name

- fixes dns srv for cache, reported by Rob Eijgenraam, FS#426

6 years agomodules/ims_qos: port in flow control media sub component is clipped becuase of lack...
Jason Penton [Wed, 30 Apr 2014 08:43:58 +0000 (10:43 +0200)]
modules/ims_qos: port in flow control media sub component is clipped becuase of lack of space in buffer for nul terminator

6 years agopipelimit: if db url or table name are empty, skip loading pipes from db
Daniel-Constantin Mierla [Tue, 29 Apr 2014 21:02:08 +0000 (23:02 +0200)]
pipelimit: if db url or table name are empty, skip loading pipes from db

6 years agopipelimit: docs updated with hash_size parameter and pl_check() changes
Daniel-Constantin Mierla [Tue, 29 Apr 2014 20:52:38 +0000 (22:52 +0200)]
pipelimit: docs updated with hash_size parameter and pl_check() changes

6 years agopipelimit: added hash_size parameter
Daniel-Constantin Mierla [Tue, 29 Apr 2014 20:43:27 +0000 (22:43 +0200)]
pipelimit: added hash_size parameter

- can be used to set the number of slots for the internal hash table,
  which is computed as 2^hash_size (aka 1<<hash_size)
- default is 6 (2^6 = 64 slots)

6 years agopipelimit: added pl_check(pipeid, alg, limit)
Daniel-Constantin Mierla [Tue, 29 Apr 2014 20:35:46 +0000 (22:35 +0200)]
pipelimit: added pl_check(pipeid, alg, limit)

- when alg and limit parameters are given, pl_check() creates the pipe
  if it doesn't exists
- if exists, then no change is done to existing pipe (alg and limit are
  not changed)

6 years agopipelimit: moved log messages out of lock
Daniel-Constantin Mierla [Tue, 29 Apr 2014 19:59:53 +0000 (21:59 +0200)]
pipelimit: moved log messages out of lock

- free allocated cell if the algorithm is invalid

6 years agortmier: reset avps and xavp lists after route blocks execution
Daniel-Constantin Mierla [Tue, 29 Apr 2014 18:02:19 +0000 (20:02 +0200)]
rtmier: reset avps and xavp lists after route blocks execution

- avoid leaks if someone is using avp/xavp with rtimer - there is a fake
  message used there, thus not the normal sip message routing that
  resets avps/xavps

6 years agotextopsx: msg_apply_changes() returns error if record route was added
Daniel-Constantin Mierla [Mon, 28 Apr 2014 22:12:16 +0000 (00:12 +0200)]
textopsx: msg_apply_changes() returns error if record route was added

6 years agocore: new internal msg flag added - FL_RR_ADDED
Daniel-Constantin Mierla [Mon, 28 Apr 2014 22:05:16 +0000 (00:05 +0200)]
core: new internal msg flag added - FL_RR_ADDED

- marks a sip request when record route is added

6 years agorr: use internal msg flags to mark a request with record route added
Daniel-Constantin Mierla [Mon, 28 Apr 2014 22:01:53 +0000 (00:01 +0200)]
rr: use internal msg flags to mark a request with record route added

6 years agoparser: add internal flag FL_BODY_MULTIPART
Victor Seva [Fri, 21 Mar 2014 20:52:03 +0000 (21:52 +0100)]
parser: add internal flag FL_BODY_MULTIPART

This will be set if the body has been converted to multipart/mixed
or a new part has been appended to it. This will trigger the core
to check and fix the boundaries of the body.

6 years agoacc: no request is needed for setting end time on dialog termination
Daniel-Constantin Mierla [Mon, 28 Apr 2014 11:51:56 +0000 (13:51 +0200)]
acc: no request is needed for setting end time on dialog termination

- callback function cdr_on_end() doesn't use it at all
- reported by Eduardo Lejarreta, FS#256

6 years agomodules/sdpops: added sdp_with_ice() function for checking if sdp
Juha Heinanen [Mon, 28 Apr 2014 09:15:54 +0000 (12:15 +0300)]
modules/sdpops: added sdp_with_ice() function for checking if sdp
  contains ICE candidate attribute(s)

6 years agomodules/pv: use just a comma as header delimiter
Juha Heinanen [Mon, 28 Apr 2014 09:08:42 +0000 (12:08 +0300)]
modules/pv: use just a comma as header delimiter

6 years agopipelimit: run timer at 1000ms
Daniel-Constantin Mierla [Mon, 28 Apr 2014 07:51:42 +0000 (09:51 +0200)]
pipelimit: run timer at 1000ms

- proper execution on timer_interval
- reported by Julia <juliabo@gmail.com>

6 years agocnxcc: fixed deadlock when call gets terminated under certain conditions
Carlos Ruiz Diaz [Mon, 28 Apr 2014 02:22:49 +0000 (21:22 -0500)]
cnxcc: fixed deadlock when call gets terminated under certain conditions

- fixed some indentation problems introduced by Eclipse IDE

6 years agodrouting: removed old contraint on route index
Daniel-Constantin Mierla [Thu, 24 Apr 2014 16:02:34 +0000 (18:02 +0200)]
drouting: removed old contraint on route index

6 years agoUpdated example configurations for IMS:
Carsten Bock [Thu, 24 Apr 2014 10:04:41 +0000 (12:04 +0200)]
Updated example configurations for IMS:
- use NAPTR query (comment from Franz Edler & Andrea Meroni on sr-users)
- Rx (P-CSCF) is now asynchronous

6 years agodispatcher: refactored rpc command dispatcher.list to give proper xmlrpc output
Daniel-Constantin Mierla [Wed, 23 Apr 2014 21:09:20 +0000 (23:09 +0200)]
dispatcher: refactored rpc command dispatcher.list to give proper xmlrpc output

- sets and destinations within sets are printed as an array of
  structures

6 years agoxhttp_rpc: added handling for specifier '['
Daniel-Constantin Mierla [Wed, 23 Apr 2014 21:07:21 +0000 (23:07 +0200)]
xhttp_rpc: added handling for specifier '['

- add array into rpc result
- new rpc api member aliased to rpc_struct_add (needs update for proper
  array value insertion)

6 years agoxmlrpc: implemented specifier '[' for array
Daniel-Constantin Mierla [Wed, 23 Apr 2014 21:04:53 +0000 (23:04 +0200)]
xmlrpc: implemented specifier '[' for array

- it is only for add operations (no scan)
- implemented new rpc member array_add

6 years agoctl: init binrpc callbacks in mod init and implement '[' specifier
Daniel-Constantin Mierla [Wed, 23 Apr 2014 21:03:10 +0000 (23:03 +0200)]
ctl: init binrpc callbacks in mod init and implement '[' specifier

- '[' allows adding an array
- implemented rpc api member array_add

6 years agoctl: fifo server implementation was lacking adding struct values
Daniel-Constantin Mierla [Wed, 23 Apr 2014 21:01:07 +0000 (23:01 +0200)]
ctl: fifo server implementation was lacking adding struct values

- specifier '{' was not handled for adding values
- implemented adding array with '[' specifier
- array_add aliased to rpc_struct_add for the moment

6 years agocore: new rpc api to add values in an array
Daniel-Constantin Mierla [Wed, 23 Apr 2014 20:59:22 +0000 (22:59 +0200)]
core: new rpc api to add values in an array

- memeber named array_add

6 years agotm: reset local lock reply status after functions that do unlock
Daniel-Constantin Mierla [Wed, 23 Apr 2014 20:12:48 +0000 (22:12 +0200)]
tm: reset local lock reply status after functions that do unlock