]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: Serialize INVITE creation on DTMF attended transfer
authorMike Bradeen <mbradeen@sangoma.com>
Mon, 5 May 2025 18:05:15 +0000 (12:05 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Thu, 26 Jun 2025 18:25:12 +0000 (12:25 -0600)
commit73a345463ebddf67e4b773d04ef3082f41b6cd34
tree8634ead3c89a7c11efd83cb91b996174baf50a92
parenta407b4948d3cf5645eefa46452c7de681144d508
chan_pjsip: Serialize INVITE creation on DTMF attended transfer

When a call is transfered via DTMF feature code, the Transfer Target and
Transferer are bridged immediately.  This opens the possibilty of a race
condition between the creation of an INVITE and the bridge induced colp
update that can result in the set caller ID being over-written with the
transferer's default info.

Fixes: #1234
(cherry picked from commit ba4680f7ec0c6aebd0952d6052d10c7e3cb99005)
channels/chan_pjsip.c