Module: kamailio Branch: master Commit: fcf4deb123ed37f937dc6ab2558ab23eeaad3121 URL: https://github.com/kamailio/kamailio/commit/fcf4deb123ed37f937dc6ab2558ab23eeaad3121
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2025-12-12T09:20:31+01:00 tm: use the new function for 200ok Via branch of local transactions --- Modified: src/modules/tm/t_msgbuilder.c Modified: src/modules/tm/t_msgbuilder.h --- Diff: https://github.com/kamailio/kamailio/commit/fcf4deb123ed37f937dc6ab2558ab23eeaad3121.diff Patch: https://github.com/kamailio/kamailio/commit/fcf4deb123ed37f937dc6ab2558ab23eeaad3121.patch --- diff --git a/src/modules/tm/t_msgbuilder.c b/src/modules/tm/t_msgbuilder.c index 43f6d284cd9..4cf8ecf3633 100644 --- a/src/modules/tm/t_msgbuilder.c +++ b/src/modules/tm/t_msgbuilder.c @@ -1321,7 +1321,7 @@ char *build_dlg_ack(struct sip_msg *rpl, struct cell *Trans, } /* via */ - if(!t_calc_branch(Trans, branch, branch_buf, &branch_len)) + if(!t_calc_branch_ack(Trans, branch, branch_buf, &branch_len)) goto error; branch_str.s = branch_buf; branch_str.len = branch_len; diff --git a/src/modules/tm/t_msgbuilder.h b/src/modules/tm/t_msgbuilder.h index 3ee5f8f1af9..aefc103ae2e 100644 --- a/src/modules/tm/t_msgbuilder.h +++ b/src/modules/tm/t_msgbuilder.h @@ -71,6 +71,8 @@ char *build_uac_req(str *method, str *headers, str *body, dlg_t *dialog, int t_calc_branch(struct cell *t, int b, char *branch, int *branch_len); +int t_calc_branch_ack(struct cell *t, int b, char *branch, int *branch_len); + /* exported minimum functions for use in t_cancel */ char *print_callid_mini(char *target, str callid); char *print_cseq_mini(char *target, str *cseq, str *method); _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
