Module: kamailio
Branch: master
Commit: 796a12d6ef27c01e9c5a9ad36b82833b03b62109
URL:
https://github.com/kamailio/kamailio/commit/796a12d6ef27c01e9c5a9ad36b82833…
Author: iionita <ionut-razvan.ionita(a)1and1.ro>
Committer: Henning Westerholt <henningw(a)users.noreply.github.com>
Date: 2019-05-28T21:56:25+02:00
siptrace: use xavps to pass data for the duration of transaction/dialog
Before this data was serialized in order to fit a normal AVP and
be passed to DLGCB_CREATED callback. Moreover for transaction tracing
data was allocated in current process memory which would have crashed
if the reply were to be recieved in a different process. With the
current implementation data is allocated in shared memory, all processes
having access to it.
For dialogs data is passed through xavp to dlgcb created. From
there all dialog callbacks are registered and they receive argument
the pointer to siptrace info. For transactions the pointer is passed
as dialog callback parameter.
---
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/796a12d6ef27c01e9c5a9ad36b82833…
Patch:
https://github.com/kamailio/kamailio/commit/796a12d6ef27c01e9c5a9ad36b82833…