]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip.c: Start ICE negotiation when response is sent or received. 87/1787/2
authorEugene Voityuk <eugene@thirdlane.com>
Wed, 2 Dec 2015 18:42:15 +0000 (20:42 +0200)
committerEugene Voityuk <eugene@thirdlane.com>
Tue, 8 Dec 2015 21:50:47 +0000 (15:50 -0600)
commit28d924307940700ce2321572b016fdd8263ac7ad
tree7ab6f7e320d4cb23707ece6b776879ca56d58b30
parent246e513110e8b24dc9469472668a23f580a355bc
chan_sip.c: Start ICE negotiation when response is sent or received.

The current logic for ICE negotiation starts it
when receiving an SDP with ICE candidates. This is
incorrect as ICE negotiation can only start when each
call party have at least one pair of local and remote
candidate. Starting ICE negotiation early would result
in negotiation failure and ultimately no audio.

This change makes it so ICE negotiation is only started
when a response with SDP is received or when a response
with SDP is sent.

ASTERISK-24146

Change-Id: I55a632bde9e9827871b09141d82747e08379a8ca
channels/chan_sip.c