Commit 3c603465 authored by Pekka Pessi's avatar Pekka Pessi

Returning local and user SDP via tags.

darcs-hash:20050928194541-65a35-7c6a9e57060763233dd80448109c0ddd003b266d.gz
parent df81955d
......@@ -473,8 +473,8 @@ int soa_base_get_params(soa_session_t const *ss, tagi_t *tags)
SOATAG_CAPS_SDP(ss->ss_caps->ssd_sdp),
SOATAG_CAPS_SDP_STR(ss->ss_caps->ssd_str),
SOATAG_USER_SDP(ss->ss_local->ssd_sdp),
SOATAG_USER_SDP_STR(ss->ss_local->ssd_str),
SOATAG_USER_SDP(ss->ss_user->ssd_sdp),
SOATAG_USER_SDP_STR(ss->ss_user->ssd_str),
SOATAG_LOCAL_SDP(ss->ss_local->ssd_sdp),
SOATAG_LOCAL_SDP_STR(ss->ss_local->ssd_str),
......@@ -527,12 +527,24 @@ tagi_t *soa_base_get_paramlist(soa_session_t const *ss,
ta_start(ta, tag, value);
params = tl_list(
TAG_IF(ss->ss_caps->ssd_sdp,
SOATAG_CAPS_SDP(ss->ss_caps->ssd_sdp)),
TAG_IF(ss->ss_caps->ssd_str,
SOATAG_CAPS_SDP_STR(ss->ss_caps->ssd_str)),
SOATAG_CAPS_SDP(ss->ss_caps->ssd_sdp),
SOATAG_CAPS_SDP_STR(ss->ss_caps->ssd_str),
TAG_IF(ss->ss_user->ssd_sdp,
SOATAG_USER_SDP(ss->ss_user->ssd_sdp)),
TAG_IF(ss->ss_user->ssd_str,
SOATAG_USER_SDP_STR(ss->ss_user->ssd_str)),
TAG_IF(ss->ss_local->ssd_sdp,
SOATAG_LOCAL_SDP(ss->ss_local->ssd_sdp)),
TAG_IF(ss->ss_user->ssd_str,
SOATAG_LOCAL_SDP_STR(ss->ss_local->ssd_str)),
SOATAG_AF(ss->ss_af),
SOATAG_ADDRESS(ss->ss_address),
TAG_IF(ss->ss_address,
SOATAG_ADDRESS(ss->ss_address)),
SOATAG_SRTP_ENABLE(ss->ss_srtp_enable),
SOATAG_SRTP_CONFIDENTIALITY(ss->ss_srtp_confidentiality),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment