mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
login frame and SipLogin work now.
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@647 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
4e7fd433aa
commit
d9ea6f2938
3 changed files with 4 additions and 2 deletions
|
|
@ -37,6 +37,8 @@ static int sip_login_do_login(SipSetupContext * ctx, const char *uri, const char
|
|||
linphone_proxy_config_set_identity(cfg,uri);
|
||||
linphone_core_add_auth_info(lc,auth);
|
||||
linphone_proxy_config_enable_register(cfg,TRUE);
|
||||
linphone_proxy_config_done(cfg);
|
||||
ms_message("SipLogin: done");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ void linphone_gtk_in_call_view_terminate(const char *error_msg){
|
|||
g_timeout_add_seconds(2,(GSourceFunc)in_call_view_terminated,NULL);
|
||||
}
|
||||
|
||||
void linphone_gtk_incall_mute_toggled(GtkToggleButton *button){
|
||||
void linphone_gtk_mute_toggled(GtkToggleButton *button){
|
||||
linphone_core_mute_mic(linphone_gtk_get_core(),
|
||||
gtk_toggle_button_get_active(button));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ void linphone_gtk_login_frame_connect_clicked(GtkWidget *button){
|
|||
if (sip_setup_context_login_account(ssctx,identity,password)==0){
|
||||
guint t=GPOINTER_TO_INT(g_object_get_data(G_OBJECT(mw),"login_tout"));
|
||||
if (t!=0) g_source_remove(t);
|
||||
t=g_timeout_add(50000,(GSourceFunc)check_login_ok,cfg);
|
||||
t=g_timeout_add(50,(GSourceFunc)check_login_ok,cfg);
|
||||
g_object_set_data(G_OBJECT(mw),"login_tout",GINT_TO_POINTER(t));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue