URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=657b180…
Author: Alex Hermann <alex(a)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=f17a349…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Aug 22 15:30:07 2014 +0200
dialog: Unset DMQ_SYNC flag upon restore from DB on another host
Don't try to sync non-local dialogs via DMQ after DB restore.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7b23af7…
Author: Alex Hermann <alex(a)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=3f5ddcc…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Aug 11 17:03:31 2014 +0200
dialog: Introduce increment and offset for hash id's
When replicating dialogs via dmq, the id's must not overlap. introduce an
offset and increment so each kamailio instance creates unique id's. The
increment must be identical between all involved proxies, the offset must
be unique.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=50d96c0…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Aug 7 17:13:17 2014 +0200
dialog: Add syncing via DMQ
Primary purpose is to sync profiles. This implements just that.
Enough of the state is synced to maintain identical profiles counts on
all kamailio instances.
Changed profiles are only synced as the request is sent out, adding
multiple profiles will result in just 1 sync message at the moment
the request is being sent.
It is not possible for the 'other' instances to send in-dialog requests.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3d6e507…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Aug 7 11:22:53 2014 +0200
dialog: delete dialog on negative ack, not tm destroy
Do what the comments say, destroy the dialog on reception of a negative ACK
instead of delaying it until the transaction is cleaned up. Keep the old
behaviour as backup for when the ACK is missing.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=74923e4…
Author: Alex Hermann <alex(a)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=ce92fe7…
Author: Alex Hermann <alex(a)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=3214481…
Author: Alex Hermann <alex(a)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=4fc27d4…
Author: Alex Hermann <alex(a)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=e4e63eb…
Author: Alex Hermann <alex(a)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=b8db958…
Author: Alex Hermann <alex(a)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=061b485…
Author: Alex Hermann <alex(a)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=95d4e0f…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Jul 17 13:02:12 2014 +0200
dmq: Set send_socket to the correct address
UDP is hardcodd because DMQ doesn;t work with other protocols (yet)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c589248…
Author: Alex Hermann <alex(a)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=ad45f19…
Author: Alex Hermann <alex(a)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.