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
No related branches found
No related tags found
No related merge requests found
......@@ -348,7 +348,8 @@ void UserAgent::busy_sleep(unsigned msec)
#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;
AccountID *currentId = new AccountID(id);
char contactTmp[256];
......@@ -389,6 +390,7 @@ bool UserAgent::addAccount(AccountID id, pjsip_regc **regc2, const std::string&
return status;
}
account = dynamic_cast<SIPAccount *> (Manager::instance().getAccount(id));
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