summaryrefslogtreecommitdiff
path: root/main/sdp_state.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2017-04-28 12:30:34 -0500
committerRichard Mudgett <rmudgett@digium.com>2017-05-09 12:57:57 -0500
commitae7689f09333d88867a5eb6feeec8437c17dc1d2 (patch)
tree7ae4cdd9c600a5d5a16085f670be01c2f7211ca2 /main/sdp_state.c
parentc2906dfa05ad6f2d3b952d21d09178e724180e95 (diff)
SDP: Update ast_get_topology_from_sdp() to keep RTP map.
* Add failure exits to ast_get_topology_from_sdp(). Change-Id: I4cc85c1ede8d712766ed20f544dbcef04c8c1049
Diffstat (limited to 'main/sdp_state.c')
-rw-r--r--main/sdp_state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/sdp_state.c b/main/sdp_state.c
index a9979eb7d..6ce06ee52 100644
--- a/main/sdp_state.c
+++ b/main/sdp_state.c
@@ -1007,7 +1007,8 @@ static int merge_sdps(struct ast_sdp_state *sdp_state, const struct ast_sdp *rem
struct ast_stream_topology *remote_capabilities;
int i;
- remote_capabilities = ast_get_topology_from_sdp(remote_sdp);
+ remote_capabilities = ast_get_topology_from_sdp(remote_sdp,
+ sdp_state->options->g726_non_standard);
if (!remote_capabilities) {
return -1;
}