[sr-dev] git:master: modules_k/dialog: Add multiple features.

Jason Penton jason.penton at gmail.com
Tue Aug 16 20:22:25 CEST 2011


Nice work Timo ;)

On Tue, Aug 16, 2011 at 7:55 PM, Timo Reimann <timo.reimann at 1und1.de> wrote:

> Module: sip-router
> Branch: master
> Commit: c021559e414892b9bafae0f1ce40081945fff49a
> URL:
> http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c021559e414892b9bafae0f1ce40081945fff49a
>
> Author: Timo Reimann <timo.reimann at 1und1.de>
> Committer: Timo Reimann <timo.reimann at 1und1.de>
> Date:   Tue Aug  2 18:29:05 2011 +0200
>
> modules_k/dialog: Add multiple features.
>
> - Set and get dialog variables programmatically (needed in certain
>  cases where PV access does not suffice).
> - Change dialog callback signature to pass both request and
>  response message instead of just the request. This is to enable
>  access to at least one type of message when the other is not
>  available; e.g., DLGCB_FAILED callbacks due to a local timeout
>  (408) do not provide requests but responses only.
>  Also, adapt callback usages accordingly at multiple spots.
> - Provide additional callback DLGCB_TERMINATED_CONFIRMED that is
>  executed whenever the response to a BYE request is sent.
> - Move unreference_dialog() to a more suitable location.
> - Provide functions to add and remove a dialog from a transaction
>  (required for referencing at certain occassions).
> - Move spiral detection functionality into dlg_new_dialog() to
>  faciliate spiral detection when dlg_manage() is used.
> - Add a dialog's reference count to list of printable statistics.
>
> Credits to Sven Knoblich, sven.knoblich at 1und1.de .
>
> ---
>
>  modules_k/dialog/dialog.c         |    4 +-
>  modules_k/dialog/dlg_cb.c         |   18 +-
>  modules_k/dialog/dlg_cb.h         |   19 ++-
>  modules_k/dialog/dlg_handlers.c   |  429
> ++++++++++++++++++++++++-------------
>  modules_k/dialog/dlg_hash.c       |   21 ++-
>  modules_k/dialog/dlg_load.h       |    2 +
>  modules_k/dialog/dlg_profile.c    |   39 ++--
>  modules_k/dialog/dlg_profile.h    |    6 +
>  modules_k/dialog/dlg_req_within.c |    2 +-
>  modules_k/dialog/dlg_var.c        |   59 +++++-
>  modules_k/dialog/dlg_var.h        |    2 +
>  11 files changed, 421 insertions(+), 180 deletions(-)
>
> Diff:
> http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=c021559e414892b9bafae0f1ce40081945fff49a
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20110816/ac7b22f7/attachment.htm>


More information about the sr-dev mailing list