Skip to content
Snippets Groups Projects
Commit 82a870c8 authored by Jean Aunis's avatar Jean Aunis Committed by Jean Aunis - Prescom
Browse files

chan_sip: voice frames are no longer transmitted after emitting a COLP

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
parent c6dc24fc
No related branches found
No related tags found
No related merge requests found
...@@ -15756,7 +15756,6 @@ static void update_connectedline(struct sip_pvt *p, const void *data, size_t dat ...@@ -15756,7 +15756,6 @@ static void update_connectedline(struct sip_pvt *p, const void *data, size_t dat
initialize_initreq(p, &req); initialize_initreq(p, &req);
p->lastinvite = p->ocseq; p->lastinvite = p->ocseq;
ast_set_flag(&p->flags[0], SIP_OUTGOING); ast_set_flag(&p->flags[0], SIP_OUTGOING);
p->invitestate = INV_CALLING;
send_request(p, &req, XMIT_CRITICAL, p->ocseq); send_request(p, &req, XMIT_CRITICAL, p->ocseq);
} else if ((is_method_allowed(&p->allowed_methods, SIP_UPDATE)) && (!ast_strlen_zero(p->okcontacturi))) { } else if ((is_method_allowed(&p->allowed_methods, SIP_UPDATE)) && (!ast_strlen_zero(p->okcontacturi))) {
reqprep(&req, p, SIP_UPDATE, 0, 1); reqprep(&req, p, SIP_UPDATE, 0, 1);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment