[sr-dev] New commits on branch master
Alex Hermann
alex at speakup.nl
Thu Sep 4 11:53:14 CEST 2014
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e990a74e447cd9e516c4df5cb2aa5c35c46f419a
Author: Alex Hermann <alex at speakup.nl>
Date: Mon Sep 1 17:54:38 2014 +0200
dmq: Add an RPC interface to query the nodes in the cluster
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bc2fd3ec9077a0177914efc6f6bac697c1706d10
Author: Alex Hermann <alex at speakup.nl>
Date: Mon Sep 1 15:28:23 2014 +0200
jsonrpc-s: Link to srutils for access to srjson
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1a553312279dc9452c1b091c0372caa39e36adb7
Author: Alex Hermann <alex at speakup.nl>
Date: Mon Sep 1 17:50:54 2014 +0200
jsonrpc-s: Don't make up a random reply when the reply is empty
In case the function was registered with RET_ARRAY, return an empty array,
as that is a valid response.
Else, there is no sane response, send an empty object for now. This should
maybe become an error repsonse instead.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=549f96e5608a137299a9bf962b65a85890ad37b3
Author: Alex Hermann <alex at speakup.nl>
Date: Tue Aug 26 18:52:38 2014 +0200
dmq: Parse Content-Length header if it isn't parsed yet
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4abbae4bc58395692f3fcd7026a40348d1f30fda
Author: Alex Hermann <alex at speakup.nl>
Date: Fri Aug 22 15:55:05 2014 +0200
dmq: More efficient peer storage
Allocate only 1 hunk of memory for the entire peer's storage needs.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=78a87972b8b2961c306f8cbd16af1e7d7885ff31
Author: Alex Hermann <alex at speakup.nl>
Date: Fri Aug 22 15:51:49 2014 +0200
dmq: Broadcast nodelists to all hosts
Update all hosts with updated state on shutdown.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9c3524a68d729fdd235e514bbc74d5f058c111da
Author: Alex Hermann <alex at speakup.nl>
Date: Fri Aug 22 15:48:28 2014 +0200
dmq: Handle Max-Forwards correctly when maxfwd module is used.
The maxfwd module will change the current msg buffer with a decreased
Max-Forwards header. Detect this sitation via the 'parsed' field and handle
it.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=42e653b5e5fbd9781037c131778674e27e125a72
Author: Alex Hermann <alex at speakup.nl>
Date: Fri Aug 22 15:46:08 2014 +0200
dmq: Use the received status updates from peer hosts to update in-memory status
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4d75916422ccdf815aa542718d9bfa87c0133067
Author: Alex Hermann <alex at speakup.nl>
Date: Fri Aug 22 15:42:51 2014 +0200
dmq: Set node status to value in uri
The status was forced to ACTIVE regardless of the status in the uri.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3e34dbf68bcb33fc57973f7a1d735820f11c796b
Author: Alex Hermann <alex at speakup.nl>
Date: Mon Aug 11 19:06:42 2014 +0200
dmq: Various sanity checks and initializations
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fd3eb9ffa647d3e3cf234f2ee240bcf1d5df9fac
Author: Alex Hermann <alex at speakup.nl>
Date: Thu Aug 7 17:20:20 2014 +0200
dmq: fix copy-paste error resulting in the peer's description not being copied
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3e53527030ab360e010cfdda756efff516c54f11
Author: Alex Hermann <alex at speakup.nl>
Date: Thu Jul 17 13:02:12 2014 +0200
dmq: Set send_socket to the correct address
Documentation says the server_address is the address used to send messages
from. Make the code actually do this.
UDP is hardcoded for now because DMQ doesn't work with other protocols (yet).
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=02932c9af755f155a35ec5243cd33530e74929ae
Author: Alex Hermann <alex at speakup.nl>
Date: Tue Sep 2 16:38:15 2014 +0200
dmq: Fix indenting
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2d77ac31fb1bf488ef986978edbc2b05982a38ba
Author: Alex Hermann <alex at speakup.nl>
Date: Tue Jul 15 10:26:42 2014 +0200
dialog: Allow '_' in dlg profile names
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=684afd9cdefaa46fea3993a1a01316521c8631cd
Author: Alex Hermann <alex at speakup.nl>
Date: Fri Aug 22 11:44:56 2014 +0200
dialog: Send properly structured responses on RPC requests
Instead of dumping random blobs in structured protocols (json, xmlrpc),
return properly structured data.
Each dialog is a struct with named fields, a list of dialogs is an array
of structs. Variables and profiles are arrays in the dialog struct.
Dialog contexts still todo.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3d5f8af6efb5a33e46427a1a9b273e445a3064c7
Author: Alex Hermann <alex at speakup.nl>
Date: Fri Aug 22 13:55:42 2014 +0200
dialog: Correctly restore dialog lifetime from DB
Restore the lifetime to the configured value instead of the offset from the
time the reload from the DB took place.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=811bb515c09e7270d1d7f8a28d280e184874e487
Author: Alex Hermann <alex at speakup.nl>
Date: Mon Jul 7 16:38:29 2014 +0200
dialog: Set the dialog context on transaction failure
Before, the dialog context would be derived from the callid and tags. This
could select the wrong dialog in case of spirals. This patch sets the correct
dialog context by storing the it in the transaction and restoring it on a
failure. Now the correct dialog variables are available in failure_route.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=25a3297915fbcc0a267d444d245526de978a5d62
Author: Alex Hermann <alex at speakup.nl>
Date: Mon Jul 7 16:38:29 2014 +0200
dialog: Set the dialog context on incoming replies
Before, the dialog context would be derived from the callid and tags. This
could select the wrong dialog in case of spirals. This patch sets the correct
dialog context by storing the it in the transaction and restoring it on an
incoming response. Now the correct dialog variables are available in
onreply_route.
More information about the sr-dev
mailing list