Module: sems Branch: master Commit: fa4d56e8b15a47333a5a52a696ff95440442f9e5 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=fa4d56e8b15a47333a5a52a696ff95440442f9e5
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Sat Mar 30 12:36:14 2013 +0800 reindent --- apps/dsm/DSMCall.cpp | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/dsm/DSMCall.cpp b/apps/dsm/DSMCall.cpp index d38f71a..d8b28ed 100644 --- a/apps/dsm/DSMCall.cpp +++ b/apps/dsm/DSMCall.cpp @@ -807,14 +807,14 @@ void DSMCall::B2BconnectCallee(const string& remote_party, } AmB2BCalleeSession* DSMCall::newCalleeSession() { - DSMCallCalleeSession* s = new DSMCallCalleeSession(this); - s->dlg->setLocalParty(getVar(DSM_B2B_LOCAL_PARTY)); - s->dlg->setLocalUri(getVar(DSM_B2B_LOCAL_URI)); - - string user = getVar(DSM_B2B_AUTH_USER); - string pwd = getVar(DSM_B2B_AUTH_PWD); - if (!user.empty() && !pwd.empty()) { - s->setCredentials("", user, pwd); + DSMCallCalleeSession* s = new DSMCallCalleeSession(this); + s->dlg->setLocalParty(getVar(DSM_B2B_LOCAL_PARTY)); + s->dlg->setLocalUri(getVar(DSM_B2B_LOCAL_URI)); + + string user = getVar(DSM_B2B_AUTH_USER); + string pwd = getVar(DSM_B2B_AUTH_PWD); + if (!user.empty() && !pwd.empty()) { + s->setCredentials("", user, pwd); // adding auth handler AmSessionEventHandlerFactory* uac_auth_f = _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
