[sr-dev] New commits on branch alexh/dialog-sync-wip

Alex Hermann alex at speakup.nl
Mon Aug 25 10:57:36 CEST 2014


URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=657b1809813f70e64b6528017b088579c6375810
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=f17a34941526b353bd4d2c9bff74a5e7179c5d50
Author: Alex Hermann <alex at 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=7b23af77c479abe5e09fe1cc1e49d9a033a6e579
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=3f5ddcc629c3be2ede92d77628b02d54c70b27a3
Author: Alex Hermann <alex at 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=50d96c015961955218c909b236289ae0a33f7fd7
Author: Alex Hermann <alex at 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=3d6e507030becb40afb21e036bf80f6c7c8268f7
Author: Alex Hermann <alex at 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=74923e4108ecd081914aa7e107ab0a566859a29b
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=ce92fe7508b8cb18397f799d50b7e70801519a00
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=3214481957086a807cbf3c331b2417b77cd42a31
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=4fc27d480e4c6c0b46710b02db5bda6385d2b4af
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=e4e63ebcad230f38d81a791443ae20b9648eb1c7
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=b8db95852df5c008aaefe5576a105ad91d555eb3
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=061b485c0da4932e55668102bacd49d5e7b3c975
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=95d4e0f1b22c614d0c17dd661f52c186eec98224
Author: Alex Hermann <alex at 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=c589248839394e3f81ae39808b2329d172eeb436
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=ad45f196d2d20e10526bc170937681099b9d6c4e
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