]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
chan_sip: voice frames are no longer transmitted after emitting a COLP
authorJean Aunis <jean.aunis@prescom.fr>
Tue, 3 Dec 2019 11:58:26 +0000 (12:58 +0100)
committerJean Aunis - Prescom <jean.aunis@prescom.fr>
Mon, 30 Dec 2019 07:44:58 +0000 (01:44 -0600)
The SIP transaction state was reset when emitting an UPDATE or a re-INVITE
related to a COLP, preventing RTP packets to be emitted.

ASTERISK-28647

Change-Id: Ie7a30fa7a97f711e7ba6cc17f221a0993d48bd8b

channels/chan_sip.c

index 5aaabb4b5634d32323651a821c2b314b9d279ec0..7448951c308e19769193884dfb818767fd1cba55 100644 (file)
@@ -15756,7 +15756,6 @@ static void update_connectedline(struct sip_pvt *p, const void *data, size_t dat
                        initialize_initreq(p, &req);
                        p->lastinvite = p->ocseq;
                        ast_set_flag(&p->flags[0], SIP_OUTGOING);
-                       p->invitestate = INV_CALLING;
                        send_request(p, &req, XMIT_CRITICAL, p->ocseq);
                } else if ((is_method_allowed(&p->allowed_methods, SIP_UPDATE)) && (!ast_strlen_zero(p->okcontacturi))) {
                        reqprep(&req, p, SIP_UPDATE, 0, 1);