diff options
author | Joshua Colp <jcolp@digium.com> | 2014-03-01 20:28:04 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2014-03-01 20:28:04 +0000 |
commit | 597690f3638405fb4b187f2e3cc7a6cf7c5a32d5 (patch) | |
tree | b5ccd1995861475f9e1d5dc1f8add0382ba90765 /res/res_pjsip_session.c | |
parent | c95146269c6d4682993599743a89551dd093f790 (diff) |
res_pjsip_session: Set options (100rel, timers) on incoming sessions.
This change passes options to the UAS creation function. This in turn
sets up 100rel and session timer properties on the incoming session.
Reported by Julian Russell on asterisk-users mailing list.
........
Merged revisions 409287 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@409288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_session.c')
-rw-r--r-- | res/res_pjsip_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c index 3ad34de78..067bf8781 100644 --- a/res/res_pjsip_session.c +++ b/res/res_pjsip_session.c @@ -1384,7 +1384,7 @@ static pjsip_inv_session *pre_session_setup(pjsip_rx_data *rdata, const struct a pjsip_endpt_respond_stateless(ast_sip_get_pjsip_endpoint(), rdata, 500, NULL, NULL, NULL); return NULL; } - if (pjsip_inv_create_uas(dlg, rdata, NULL, 0, &inv_session) != PJ_SUCCESS) { + if (pjsip_inv_create_uas(dlg, rdata, NULL, options, &inv_session) != PJ_SUCCESS) { pjsip_endpt_respond_stateless(ast_sip_get_pjsip_endpoint(), rdata, 500, NULL, NULL, NULL); pjsip_dlg_terminate(dlg); return NULL; |