summaryrefslogtreecommitdiff
path: root/include/asterisk/format.h
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2014-12-12 15:30:28 +0000
committerKevin Harwell <kharwell@digium.com>2014-12-12 15:30:28 +0000
commit01c4e76c4e5ea426f1b16133ae9423e915a72361 (patch)
treef5389512eeddfd79abae397f120bc05a21ef13f1 /include/asterisk/format.h
parent49386cf5680d2348d3511e2a68d41bd1cdfdd4d4 (diff)
chan_pjsip: Race between channel answer and bridge setup when using direct media
When direct media is enabled and a pjsip channel is answered a race would occur between the handling of the answer and bridge setup. Sometimes the media negotiation would take place after the native bridge was setup. This resulted in a NULL media address, which in turn resulted in Asterisk using its address as the remote media address when sending a reinvite. This patch makes the chan_pjsip answer handler synchronous thus alleviating the race condition (the bridge won't start setting things up until after it returns). ASTERISK-24563 #close Reported by: Steve Pitts Review: https://reviewboard.asterisk.org/r/4257/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@429477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/format.h')
0 files changed, 0 insertions, 0 deletions