diff --git a/sflphone-gtk/src/assistant.c b/sflphone-gtk/src/assistant.c index 27c066cc6e4c8fd888af2ea69fd8a8a6a8c22be3..47c1a5a2b498bc0910014f4d07649e2eebca2745 100644 --- a/sflphone-gtk/src/assistant.c +++ b/sflphone-gtk/src/assistant.c @@ -61,6 +61,7 @@ sip_apply_callback( void ) g_hash_table_insert(current->properties, g_strdup(ACCOUNT_MAILBOX), g_strdup("888")); g_hash_table_insert(current->properties, g_strdup(ACCOUNT_TYPE), g_strdup("SIP")); g_hash_table_insert(current->properties, g_strdup(ACCOUNT_SIP_HOST), g_strdup((gchar *)gtk_entry_get_text(GTK_ENTRY(wiz->sip_server)))); + //g_hash_table_insert(current->properties, g_strdup(ACCOUNT_SIP_PORT), g_strdup((gchar *)gtk_entry_get_text(GTK_ENTRY(wiz->sip_port)))); g_hash_table_insert(current->properties, g_strdup(ACCOUNT_SIP_PASSWORD), g_strdup((gchar *)gtk_entry_get_text(GTK_ENTRY(wiz->sip_password)))); g_hash_table_insert(current->properties, g_strdup(ACCOUNT_SIP_USER), g_strdup((gchar *)gtk_entry_get_text(GTK_ENTRY(wiz->sip_username)))); g_hash_table_insert(current->properties, g_strdup(ACCOUNT_SIP_STUN_ENABLED), g_strdup((gchar *)gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(wiz->enable))? "TRUE":"FALSE")); diff --git a/src/managerimpl.cpp b/src/managerimpl.cpp index 7102d2a27360241e3564c36a1364ded94a291378..2c0a5d3c06ccd61e04769b2e5c3ef872d2bfd605 100644 --- a/src/managerimpl.cpp +++ b/src/managerimpl.cpp @@ -2106,6 +2106,7 @@ ManagerImpl::sendRegister( const ::DBus::String& accountID , const DBus::Int32& ManagerImpl::addAccount(const std::map< ::DBus::String, ::DBus::String >& details) { + _debug("********************** Into ManagerImpl::addAccount \n"); /** @todo Deal with both the _accountMap and the Configuration */ std::string accountType = (*details.find(CONFIG_ACCOUNT_TYPE)).second; Account* newAccount; @@ -2223,7 +2224,15 @@ ManagerImpl::getNewCallID() } return random_id.str(); } - +/* +ManagerImpl::updatePjsip() +{ + if ( _userAgentInitlized ) + delete _userAgent; + //loadAccountMap + +} +*/ short ManagerImpl::loadAccountMap() {