Esempio n. 1
0
LinphoneAccountCreator * linphone_account_creator_new(LinphoneCore *core, const char *xmlrpc_url) {
	LinphoneAccountCreator *creator;
	creator = ms_new0(LinphoneAccountCreator, 1);
	creator->core = core;
	creator->xmlrpc_session = linphone_xml_rpc_session_new(core, xmlrpc_url);
	return creator;
}
Esempio n. 2
0
LinphoneAccountCreator * linphone_account_creator_new(LinphoneCore *core, const char *xmlrpc_url) {
    LinphoneAccountCreator *creator;
    creator = belle_sip_object_new(LinphoneAccountCreator);
    creator->callbacks = linphone_account_creator_cbs_new();
    creator->core = core;
    creator->xmlrpc_session = linphone_xml_rpc_session_new(core, xmlrpc_url);
    return creator;
}
Esempio n. 3
0
LinphoneAccountCreator * linphone_account_creator_new(LinphoneCore *core, const char *xmlrpc_url) {
	LinphoneAccountCreator *creator;
	const char* domain = lp_config_get_string(core->config, "assistant", "domain", NULL);
	creator = belle_sip_object_new(LinphoneAccountCreator);
	creator->callbacks = linphone_account_creator_cbs_new();
	creator->core = core;
	creator->xmlrpc_session = linphone_xml_rpc_session_new(core, xmlrpc_url);
	if (domain) {
		linphone_account_creator_set_domain(creator, domain);
	}
	return creator;
}