]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix a random one way audio issue in PJSIP.
authorJoshua Colp <jcolp@digium.com>
Wed, 2 Oct 2013 15:31:31 +0000 (15:31 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 2 Oct 2013 15:31:31 +0000 (15:31 +0000)
commit1e22b90efe1dcaa12a0e89298ca72e62f5d57213
tree123165ecb35cf8a58e79772afe7f90cc86b4f9b9
parentadd6d9a01283447a25f1d94f56d67e55a9186d4a
Fix a random one way audio issue in PJSIP.

Due to the asynchronous design of the PJMEDIA SDP negotiator it was possible for
the SDP to be negotiated *after* a channel was created and after it was being wait
on by an application. It is only after negotiation occurs that the file descriptors
for RTP are placed on the channel. Since the channel was already being waited on
these file descriptors were not monitored, causing incoming media to never be read.

This change wakes up any application waiting on the channel so that added file
descriptors end up being monitored.

(closes issue AST-1227)
Reported by: John Bigelow

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_session.c