[OpenSIPS-Devel] [OpenSIPS/opensips] c4ffac: [proto_hep] introduce hep_id parameter(currently u...

ionutrazvanionita ionutionita at opensips.org
Wed Sep 7 15:25:47 CEST 2016


  Branch: refs/heads/siptrace-reloaded
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c4ffacca48ef67561b87579745e606ebd30e9141
      https://github.com/OpenSIPS/opensips/commit/c4ffacca48ef67561b87579745e606ebd30e9141
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M modules/proto_hep/hep.c
    M modules/proto_hep/hep.h
    M modules/proto_hep/hep_cb.c
    M modules/proto_hep/hep_cb.h
    M modules/proto_hep/proto_hep.c

  Log Message:
  -----------
  [proto_hep] introduce hep_id parameter(currently unused)

	The hep_id is used to define destinations for your hep
packets. It shall be used by other modules in order for them not
to implement the parsing logic.


  Commit: 3ca0770baed723f7b1ffcb51998e1b2dd8feb67d
      https://github.com/OpenSIPS/opensips/commit/3ca0770baed723f7b1ffcb51998e1b2dd8feb67d
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M modules/siptrace/siptrace.c
    M modules/siptrace/siptrace.h

  Log Message:
  -----------
  [siptrace] use the hep id defined in proto hep

	Use the hep ids defined in proto_hep module instead of
defining new ones in siptrace module.


  Commit: 348b29ae33ad853f4b23da53cee629d3b9253260
      https://github.com/OpenSIPS/opensips/commit/348b29ae33ad853f4b23da53cee629d3b9253260
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M modules/proto_hep/hep.c
    M modules/proto_hep/hep.h
    M modules/proto_hep/hep_cb.c
    M modules/proto_hep/hep_cb.h
    M modules/proto_hep/proto_hep.c
    M modules/sipcapture/sipcapture.c
    M modules/siptrace/siptrace.c
    M modules/siptrace/siptrace.h
    A trace_api.c
    A trace_api.h

  Log Message:
  -----------
  Define generic tracing api and proto_hep implementation

	A new api has been defined in OpenSIPS core which
provides functions for doing complex message tracing. Currently,
the only module implementing this api is proto_hep which provides
functions for HEP protocol.
	The new api provides functions for creating a tracing
message, adding data to the message, sending the message and
fetching destination structure info.
	The old api that was defined in proto_hep is still there
but provides only the functionality used by sipcapture module,
the callback registration function for received hep messages and
the context position getter function which gives you the index
where the hep context is being held. The rest of the functions
are now being implemented by the generic api in core.
	What is more, siptrace module uses the core tracing api
to send it's messages, having now more flexibility than ever.


Compare: https://github.com/OpenSIPS/opensips/compare/b0787fecf23e...348b29ae33ad


More information about the Devel mailing list