LinphoneAuthInfo*info=linphone_auth_info_new(test_username,NULL,test_password,NULL,auth_domain,NULL);/*create authentication structure from identity*/
LinphoneAuthInfo*info=linphone_auth_info_new_for_algorithm(test_username,NULL,test_password,NULL,auth_domain,NULL,NULL);/*create authentication structure from identity*/
charroute[256];
sprintf(route,"sip:%s",test_route);
linphone_core_add_auth_info(lcm->lc,info);/*add authentication info to LinphoneCore*/
LinphoneAuthInfo*info=linphone_auth_info_new_for_algorithm(test_username,NULL,test_password,NULL,auth_domain,NULL,"SHA-256");/*create authentication structure from identity*/
charroute[256];
sprintf(route,"sip:%s",test_route);
linphone_core_add_auth_info(lcm->lc,info);/*add authentication info to LinphoneCore*/