]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip.c: Start ICE negotiation when response is sent or received. 51/1751/3
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:41:36 +0000 (15:41 -0600)
commitbadac7c340248637740da7ff4421c9f22a7e399e
treea707e354846cfe4aebd4d72a474a76959d381bc4
parent47118fb9473af6f361792c83970cc35be573663b
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