summaryrefslogtreecommitdiff
path: root/res/res_pjsip_outbound_publish.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-12-13 12:54:58 +0000
committerJoshua Colp <jcolp@digium.com>2017-12-13 12:54:58 +0000
commit272594a70a4f4c6f522bd0e2135b405c2162d2dc (patch)
treeab36b7bff5a94dc94266cd6b3ff4ac3d0dcc6e36 /res/res_pjsip_outbound_publish.c
parent0384e49a6e293ae27e98fafd2b593fbfa330847c (diff)
res_pjsip_session: Reinvite using active stream topology if none requested.
When a connected line update is sent to an endpoint we do not request a specific stream topology to be used. Previously this resulted in the configured stream topology being used which may actually differ from the currently negotiated topology. PJSIP is helpful in this regard in that it will fill in any missing streams with removed ones. This results in our own state not matching the SDP, though, and we do not apply the negotiated SDP. This change tweaks the code to use the actively negotiated stream topology if it is present with a fallback to the configured one. This results in the SDP and the state having matching information and the world is happy. ASTERISK*27397 Change-Id: I7a57117f0183479e6884b7bf3a53bb8c7464f604
Diffstat (limited to 'res/res_pjsip_outbound_publish.c')
0 files changed, 0 insertions, 0 deletions