]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Fails to resume WebRTC call from hold
authorKevin Harwell <kharwell@digium.com>
Thu, 9 Jan 2014 16:49:55 +0000 (16:49 +0000)
committerKevin Harwell <kharwell@digium.com>
Thu, 9 Jan 2014 16:49:55 +0000 (16:49 +0000)
commitdee9ce4a0bf47b5fd18932ffb46a8fa79397cf50
treeb0d386c51f7467fcb675386e8070280719b382c9
parentf9465fd40dceba5f0d2d99bda959b6b9e22b4523
res_rtp_asterisk: Fails to resume WebRTC call from hold

In ast_rtp_ice_start if the ice session create check list failed, start check
was never initiated and ice_started was never set to true.  Upon re-entering
the function (for instance, [un]hold) it would try to create the check list
again with duplicate remote candidates.

Fixed so that if the create check list fails the necessary data structures
are properly re-initialized for any subsequent retries.

Note, it was decided to not stop ice support (by calling ast_rtp_ice_stop) on a
check list failure because it possible things might still work.  However, a
debug message was added to help with any future troubleshooting.

(closes issue ASTERISK-22911)
Reported by: Vytis Valentinavičius
Patches:
     works_on_my_machine.patch uploaded by xytis (license 6558)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@405234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_rtp_asterisk.c