Skip to content
Snippets Groups Projects
Commit 1c6049a3 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Merge branch 'yun-pjsip' of ssh://milou@192.168.1.203/home/yun/release/sflphone into sip_dev

Conflicts:

	src/sipvoiplink.cpp
	src/useragent.cpp
parents 04b6e04b 04812921
Branches
Tags
No related merge requests found
...@@ -348,7 +348,8 @@ void UserAgent::busy_sleep(unsigned msec) ...@@ -348,7 +348,8 @@ void UserAgent::busy_sleep(unsigned msec)
#endif #endif
} }
bool UserAgent::addAccount(AccountID id, pjsip_regc **regc2, const std::string& server, const std::string& user, const std::string& passwd, const int& timeout UNUSED, const unsigned int& port) { bool UserAgent::addAccount(AccountID id, pjsip_regc **regc2, const std::string& server, const std::string& user, const std::string& passwd,
const int& timeout UNUSED, const unsigned int& port) {
pj_status_t status; pj_status_t status;
AccountID *currentId = new AccountID(id); AccountID *currentId = new AccountID(id);
char contactTmp[256]; char contactTmp[256];
...@@ -389,6 +390,7 @@ bool UserAgent::addAccount(AccountID id, pjsip_regc **regc2, const std::string& ...@@ -389,6 +390,7 @@ bool UserAgent::addAccount(AccountID id, pjsip_regc **regc2, const std::string&
return status; return status;
} }
account = dynamic_cast<SIPAccount *> (Manager::instance().getAccount(id)); account = dynamic_cast<SIPAccount *> (Manager::instance().getAccount(id));
pjsip_cred_info *cred = account->getCredInfo(); pjsip_cred_info *cred = account->getCredInfo();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment