res_pjsip_sdp_rtp.c: Fix native formats containing formats that were not negotiated.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 19 Sep 2014 17:16:32 +0000 (17:16 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 19 Sep 2014 17:16:32 +0000 (17:16 +0000)
commitec0313c4118d2d8b26eed1b94319a0744534a32e
tree10b3f0f0628d2ccb3a662c5691ba999bcae02147
parent6dae3456746919fdca9983ba7459742dfa77dff5
res_pjsip_sdp_rtp.c: Fix native formats containing formats that were not negotiated.

Outgoing PJSIP calls can result in non-negotiated formats listed in the
channel's native formats if video formats are listed in the endpoint's
configuration.  The resulting call could then use a non-negotiated format
resulting in one way audio.

* Simplified the update of session->req_caps in set_caps().  Why do
something in five steps when only one is needed?

AFS-162 #close

Review: https://reviewboard.asterisk.org/r/4000/
........

Merged revisions 423561 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@423563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_pjsip.c
res/res_pjsip_sdp_rtp.c