diff --git a/linphone/console/commands.c b/linphone/console/commands.c index 0bdb6032c..445bf0e39 100644 --- a/linphone/console/commands.c +++ b/linphone/console/commands.c @@ -1376,7 +1376,7 @@ static int lpc_cmd_register(LinphoneCore *lc, char *args){ if (osip_from_parse(from,identity)==0){ char realm[128]; snprintf(realm,sizeof(realm)-1,"\"%s\"",from->url->host); - info=linphone_auth_info_new(from->url->username,NULL,passwd,NULL,realm); + info=linphone_auth_info_new(from->url->username,NULL,passwd,NULL,NULL); linphone_core_add_auth_info(lc,info); } osip_from_free(from);