mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
mod_sofia: move NUTAG_MIN_SE to sofia_glue_do_invite so it only appears on requests. MODSOFIA-47
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15943 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
837ac8eb3f
commit
e6a0c4e99f
@ -1156,7 +1156,6 @@ void *SWITCH_THREAD_FUNC sofia_profile_thread_run(switch_thread_t *thread, void
|
||||
NUTAG_ALLOW("NOTIFY"),
|
||||
NUTAG_ALLOW_EVENTS("talk"),
|
||||
NUTAG_SESSION_TIMER(profile->session_timeout),
|
||||
TAG_IF(profile->minimum_session_expires, NUTAG_MIN_SE(profile->minimum_session_expires)),
|
||||
NTATAG_MAX_PROCEEDING(profile->max_proceeding),
|
||||
TAG_IF(profile->pres_type, NUTAG_ALLOW("PUBLISH")),
|
||||
TAG_IF(profile->pres_type, NUTAG_ALLOW("SUBSCRIBE")),
|
||||
|
@ -1810,6 +1810,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
|
||||
TAG_IF(!zstr(max_forwards), SIPTAG_MAX_FORWARDS_STR(max_forwards)),
|
||||
TAG_IF(!zstr(route_uri), NUTAG_PROXY(route_uri)),
|
||||
TAG_IF(!zstr(route), SIPTAG_ROUTE_STR(route)),
|
||||
TAG_IF(tech_pvt->profile->minimum_session_expires, NUTAG_MIN_SE(tech_pvt->profile->minimum_session_expires)),
|
||||
SOATAG_ADDRESS(tech_pvt->adv_sdp_audio_ip),
|
||||
SOATAG_USER_SDP_STR(tech_pvt->local_sdp_str),
|
||||
SOATAG_REUSE_REJECTED(1),
|
||||
|
Loading…
x
Reference in New Issue
Block a user