Module: kamailio Branch: master Commit: f564c0d33974eeaa1833abeb7972f5d207c5663f URL: https://github.com/kamailio/kamailio/commit/f564c0d33974eeaa1833abeb7972f5d2...
Author: Donat Zenichev dzenichev@sipwise.com Committer: Victor Seva linuxmaniac@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/f564c0d33974eeaa1833abeb7972f5d2... Patch: https://github.com/kamailio/kamailio/commit/f564c0d33974eeaa1833abeb7972f5d2...