[sr-dev] git:master:f564c0d3: tm: API improvement, new function introduced: t_append_branch_by_contact()

Victor Seva linuxmaniac at torreviejawireless.org
Fri Nov 19 09:19:01 CET 2021

Module: kamailio
Branch: master
Commit: f564c0d33974eeaa1833abeb7972f5d207c5663f
URL: https://github.com/kamailio/kamailio/commit/f564c0d33974eeaa1833abeb7972f5d207c5663f

Author: Donat Zenichev <dzenichev at sipwise.com>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2021-11-19T09:18:55+01:00

tm: API improvement, new function introduced: t_append_branch_by_contact()

New module functions introduced:
- t_append_branch_by_contact()

This commit introduces a possibility of TM's API to append a branch
based on specific location (Contact's URI).

Indeed the 't_append_branch_by_contact()' is a corrected copy of
the 't_append_branches()', which instead takes Contact as a parameter
of str type.

The separate function has been introduced, in order to save full
back-compatibility, and not affect existing implementation.


Modified: src/modules/tm/t_append_branches.c
Modified: src/modules/tm/t_append_branches.h
Modified: src/modules/tm/tm_load.c
Modified: src/modules/tm/tm_load.h


Diff:  https://github.com/kamailio/kamailio/commit/f564c0d33974eeaa1833abeb7972f5d207c5663f.diff
Patch: https://github.com/kamailio/kamailio/commit/f564c0d33974eeaa1833abeb7972f5d207c5663f.patch

More information about the sr-dev mailing list