use session_timeout when doing invites.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7494 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
199cf9fa1c
commit
ee629066a2
|
@ -865,6 +865,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
|
|||
extra_headers = stream.data;
|
||||
}
|
||||
|
||||
session_timeout = tech_pvt->profile->session_timeout;
|
||||
if ((val = switch_channel_get_variable(channel, SOFIA_SESSION_TIMEOUT))) {
|
||||
int v_session_timeout = atoi(val);
|
||||
if (v_session_timeout >= 0) {
|
||||
|
|
Loading…
Reference in New Issue