Liblinphone 5.5.0
Macros | Typedefs | Enumerations | Functions
Deprecated APIs

Macros

#define linphone_proxy_config_expires   linphone_proxy_config_set_expires
 
#define linphone_proxy_config_enableregister   linphone_proxy_config_enable_register
 
#define linphone_proxy_config_get_addr   linphone_proxy_config_get_server_addr
 

Typedefs

typedef void(* LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *response)
 
typedef struct _LinphoneProxyConfig LinphoneProxyConfig
 
typedef struct _LinphoneAccountCreator LinphoneAccountCreator
 
typedef struct _LinphoneAccountCreatorService LinphoneAccountCreatorService
 
typedef struct _LinphoneAccountCreatorCbs LinphoneAccountCreatorCbs
 
typedef enum _LinphoneAccountCreatorPhoneNumberStatus LinphoneAccountCreatorPhoneNumberStatus
 
typedef unsigned int LinphoneAccountCreatorPhoneNumberStatusMask
 
typedef enum _LinphoneAccountCreatorBackend LinphoneAccountCreatorBackend
 
typedef enum _LinphoneAccountCreatorUsernameStatus LinphoneAccountCreatorUsernameStatus
 
typedef enum _LinphoneAccountCreatorEmailStatus LinphoneAccountCreatorEmailStatus
 
typedef enum _LinphoneAccountCreatorPasswordStatus LinphoneAccountCreatorPasswordStatus
 
typedef enum _LinphoneAccountCreatorLanguageStatus LinphoneAccountCreatorLanguageStatus
 
typedef enum _LinphoneAccountCreatorAlgoStatus LinphoneAccountCreatorAlgoStatus
 
typedef enum _LinphoneAccountCreatorActivationCodeStatus LinphoneAccountCreatorActivationCodeStatus
 
typedef enum _LinphoneAccountCreatorDomainStatus LinphoneAccountCreatorDomainStatus
 
typedef enum _LinphoneAccountCreatorTransportStatus LinphoneAccountCreatorTransportStatus
 
typedef enum _LinphoneAccountCreatorStatus LinphoneAccountCreatorStatus
 
typedef void(* LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb) (const LinphoneAccountManagerServicesRequest *request, const char *data)
 
typedef void(* LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb) (const LinphoneAccountManagerServicesRequest *request, int status_code, const char *error_message, const LinphoneDictionary *parameter_errors)
 
typedef void(* LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb) (const LinphoneAccountManagerServicesRequest *request, const bctbx_list_t *devices_list)
 
typedef struct _LinphoneAccountManagerServices LinphoneAccountManagerServices
 
typedef struct _LinphoneAccountManagerServicesRequest LinphoneAccountManagerServicesRequest
 
typedef struct _LinphoneAccountManagerServicesRequestCbs LinphoneAccountManagerServicesRequestCbs
 
typedef enum _LinphoneAccountManagerServicesRequestType LinphoneAccountManagerServicesRequestType
 

Enumerations

enum  _LinphoneAccountCreatorPhoneNumberStatus {
  LinphoneAccountCreatorPhoneNumberStatusOk = 0x1 ,
  LinphoneAccountCreatorPhoneNumberStatusTooShort = 0x2 ,
  LinphoneAccountCreatorPhoneNumberStatusTooLong = 0x4 ,
  LinphoneAccountCreatorPhoneNumberStatusInvalidCountryCode = 0x8 ,
  LinphoneAccountCreatorPhoneNumberStatusInvalid = 0x10
}
 
enum  _LinphoneAccountCreatorBackend {
  LinphoneAccountCreatorBackendXMLRPC = 0 ,
  LinphoneAccountCreatorBackendFlexiAPI = 1
}
 
enum  _LinphoneAccountCreatorUsernameStatus {
  LinphoneAccountCreatorUsernameStatusOk = 0 ,
  LinphoneAccountCreatorUsernameStatusTooShort = 1 ,
  LinphoneAccountCreatorUsernameStatusTooLong = 2 ,
  LinphoneAccountCreatorUsernameStatusInvalidCharacters = 3 ,
  LinphoneAccountCreatorUsernameStatusInvalid = 4
}
 
enum  _LinphoneAccountCreatorEmailStatus {
  LinphoneAccountCreatorEmailStatusOk = 0 ,
  LinphoneAccountCreatorEmailStatusMalformed = 1 ,
  LinphoneAccountCreatorEmailStatusInvalidCharacters = 2
}
 
enum  _LinphoneAccountCreatorPasswordStatus {
  LinphoneAccountCreatorPasswordStatusOk = 0 ,
  LinphoneAccountCreatorPasswordStatusTooShort = 1 ,
  LinphoneAccountCreatorPasswordStatusTooLong = 2 ,
  LinphoneAccountCreatorPasswordStatusInvalidCharacters = 3 ,
  LinphoneAccountCreatorPasswordStatusMissingCharacters = 4
}
 
enum  _LinphoneAccountCreatorLanguageStatus { LinphoneAccountCreatorLanguageStatusOk = 0 }
 
enum  _LinphoneAccountCreatorAlgoStatus {
  LinphoneAccountCreatorAlgoStatusOk = 0 ,
  LinphoneAccountCreatorAlgoStatusNotSupported = 1
}
 
enum  _LinphoneAccountCreatorActivationCodeStatus {
  LinphoneAccountCreatorActivationCodeStatusOk = 0 ,
  LinphoneAccountCreatorActivationCodeStatusTooShort = 1 ,
  LinphoneAccountCreatorActivationCodeStatusTooLong = 2 ,
  LinphoneAccountCreatorActivationCodeStatusInvalidCharacters = 3
}
 
enum  _LinphoneAccountCreatorDomainStatus {
  LinphoneAccountCreatorDomainOk = 0 ,
  LinphoneAccountCreatorDomainInvalid = 1
}
 
enum  _LinphoneAccountCreatorTransportStatus {
  LinphoneAccountCreatorTransportOk = 0 ,
  LinphoneAccountCreatorTransportUnsupported = 1
}
 
enum  _LinphoneAccountCreatorStatus {
  LinphoneAccountCreatorStatusRequestOk = 0 ,
  LinphoneAccountCreatorStatusRequestFailed = 1 ,
  LinphoneAccountCreatorStatusMissingArguments = 2 ,
  LinphoneAccountCreatorStatusMissingCallbacks = 3 ,
  LinphoneAccountCreatorStatusAccountCreated = 4 ,
  LinphoneAccountCreatorStatusAccountNotCreated = 5 ,
  LinphoneAccountCreatorStatusAccountExist = 6 ,
  LinphoneAccountCreatorStatusAccountExistWithAlias = 7 ,
  LinphoneAccountCreatorStatusAccountNotExist = 8 ,
  LinphoneAccountCreatorStatusAliasIsAccount = 9 ,
  LinphoneAccountCreatorStatusAliasExist = 10 ,
  LinphoneAccountCreatorStatusAliasNotExist = 11 ,
  LinphoneAccountCreatorStatusAccountActivated = 12 ,
  LinphoneAccountCreatorStatusAccountAlreadyActivated = 13 ,
  LinphoneAccountCreatorStatusAccountNotActivated = 14 ,
  LinphoneAccountCreatorStatusAccountLinked = 15 ,
  LinphoneAccountCreatorStatusAccountNotLinked = 16 ,
  LinphoneAccountCreatorStatusServerError = 17 ,
  LinphoneAccountCreatorStatusPhoneNumberInvalid = 18 ,
  LinphoneAccountCreatorStatusWrongActivationCode = 19 ,
  LinphoneAccountCreatorStatusPhoneNumberOverused = 20 ,
  LinphoneAccountCreatorStatusAlgoNotSupported = 21 ,
  LinphoneAccountCreatorStatusUnexpectedError = 22 ,
  LinphoneAccountCreatorStatusNotImplementedError = 23 ,
  LinphoneAccountCreatorStatusRequestNotAuthorized ,
  LinphoneAccountCreatorStatusRequestTooManyRequests
}
 
enum  _LinphoneAccountManagerServicesRequestType {
  LinphoneAccountManagerServicesRequestTypeSendAccountCreationTokenByPush ,
  LinphoneAccountManagerServicesRequestTypeAccountCreationRequestToken ,
  LinphoneAccountManagerServicesRequestTypeAccountCreationTokenFromAccountCreationRequestToken ,
  LinphoneAccountManagerServicesRequestTypeCreateAccountUsingToken ,
  LinphoneAccountManagerServicesRequestTypeSendPhoneNumberLinkingCodeBySms ,
  LinphoneAccountManagerServicesRequestTypeLinkPhoneNumberUsingCode ,
  LinphoneAccountManagerServicesRequestTypeSendEmailLinkingCodeByEmail ,
  LinphoneAccountManagerServicesRequestTypeLinkEmailUsingCode ,
  LinphoneAccountManagerServicesRequestTypeGetDevicesList = 8 ,
  LinphoneAccountManagerServicesRequestTypeDeleteDevice = 9 ,
  LinphoneAccountManagerServicesRequestTypeSendAccountRecoveryTokenByPush ,
  LinphoneAccountManagerServicesRequestTypeGetCreationTokenAsAdmin = 100 ,
  LinphoneAccountManagerServicesRequestTypeGetAccountInfoAsAdmin = 101 ,
  LinphoneAccountManagerServicesRequestTypeDeleteAccountAsAdmin = 102
}
 

Functions

LinphoneAccountCreatorServicelinphone_account_creator_service_new (void)
 
LinphoneAccountCreatorServicelinphone_account_creator_service_ref (LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_unref (LinphoneAccountCreatorService *service)
 
void * linphone_account_creator_service_get_user_data (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_user_data (LinphoneAccountCreatorService *service, void *ud)
 
void linphone_account_creator_service_set_constructor_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_constructor_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_destructor_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_destructor_cb (const LinphoneAccountCreatorService *service)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_create_account_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_create_account_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_create_push_account_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_create_push_account_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_account_exist_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_is_account_exist_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_activate_account_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_activate_account_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_account_activated_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_is_account_activated_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_link_account_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_link_account_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_activate_alias_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_activate_alias_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_alias_used_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_is_alias_used_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_account_linked_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_is_account_linked_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_recover_account_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_recover_account_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_update_account_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_update_account_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_confirmation_key_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_confirmation_key_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_login_linphone_account_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_login_linphone_account_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_send_token_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_send_token_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_account_creation_request_token_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_account_creation_request_token_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_account_creation_token_using_request_token_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_account_creation_token_using_request_token_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_create_account_with_token_cb (const LinphoneAccountCreatorService *service)
 
void linphone_account_creator_service_set_create_account_with_token_cb (LinphoneAccountCreatorService *service, LinphoneAccountCreatorRequestFunc cb)
 
LinphoneAccountCreatorlinphone_account_creator_create (LinphoneCore *core)
 
LinphoneAccountCreatorlinphone_account_creator_new (LinphoneCore *core, const char *xmlrpc_url)
 
void linphone_account_creator_reset (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_is_account_exist (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_create_account (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_create_push_account (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_is_account_activated (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_activate_account (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_link_account (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_activate_alias (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_is_alias_used (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_is_account_linked (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_recover_account (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_update_account (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_login_linphone_account (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_request_auth_token (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_request_account_creation_request_token (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_request_account_creation_token_using_request_token (LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorlinphone_account_creator_ref (LinphoneAccountCreator *creator)
 
void linphone_account_creator_unref (LinphoneAccountCreator *creator)
 
void * linphone_account_creator_get_user_data (const LinphoneAccountCreator *creator)
 
void linphone_account_creator_set_user_data (LinphoneAccountCreator *creator, void *user_data)
 
void linphone_account_creator_set_account (LinphoneAccountCreator *creator, LinphoneAccount *account)
 
void linphone_account_creator_set_proxy_config (LinphoneAccountCreator *creator, LinphoneProxyConfig *cfg)
 
LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_username (LinphoneAccountCreator *creator, const char *username)
 
const char * linphone_account_creator_get_username (const LinphoneAccountCreator *creator)
 
void linphone_account_creator_set_pn_provider (LinphoneAccountCreator *creator, const char *pn_provider)
 
const char * linphone_account_creator_get_pn_provider (const LinphoneAccountCreator *creator)
 
void linphone_account_creator_set_pn_param (LinphoneAccountCreator *creator, const char *pn_param)
 
const char * linphone_account_creator_get_pn_param (const LinphoneAccountCreator *creator)
 
void linphone_account_creator_set_pn_prid (LinphoneAccountCreator *creator, const char *pn_prid)
 
const char * linphone_account_creator_get_pn_prid (const LinphoneAccountCreator *creator)
 
void linphone_account_creator_set_token (LinphoneAccountCreator *creator, const char *token)
 
const char * linphone_account_creator_get_token (const LinphoneAccountCreator *creator)
 
void linphone_account_creator_set_account_creation_request_token (LinphoneAccountCreator *creator, const char *token)
 
const char * linphone_account_creator_get_account_creation_request_token (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorPhoneNumberStatusMask linphone_account_creator_set_phone_number (LinphoneAccountCreator *creator, const char *phone_number, const char *country_code)
 
const char * linphone_account_creator_get_phone_number (const LinphoneAccountCreator *creator)
 
const char * linphone_account_creator_get_phone_country_code (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_password (LinphoneAccountCreator *creator, const char *password)
 
const char * linphone_account_creator_get_password (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_ha1 (LinphoneAccountCreator *creator, const char *ha1)
 
const char * linphone_account_creator_get_ha1 (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorActivationCodeStatus linphone_account_creator_set_activation_code (LinphoneAccountCreator *creator, const char *activation_code)
 
const char * linphone_account_creator_get_activation_code (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorLanguageStatus linphone_account_creator_set_language (LinphoneAccountCreator *creator, const char *lang)
 
const char * linphone_account_creator_get_language (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorAlgoStatus linphone_account_creator_set_algorithm (LinphoneAccountCreator *creator, const char *algorithm)
 
const char * linphone_account_creator_get_algorithm (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_display_name (LinphoneAccountCreator *creator, const char *display_name)
 
const char * linphone_account_creator_get_display_name (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorEmailStatus linphone_account_creator_set_email (LinphoneAccountCreator *creator, const char *email)
 
const char * linphone_account_creator_get_email (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorDomainStatus linphone_account_creator_set_domain (LinphoneAccountCreator *creator, const char *domain)
 
const char * linphone_account_creator_get_domain (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorTransportStatus linphone_account_creator_set_transport (LinphoneAccountCreator *creator, LinphoneTransportType transport)
 
LinphoneTransportType linphone_account_creator_get_transport (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorStatus linphone_account_creator_set_as_default (LinphoneAccountCreator *creator, bool_t set_as_default)
 
bool_t linphone_account_creator_get_set_as_default (const LinphoneAccountCreator *creator)
 
void linphone_account_creator_add_callbacks (LinphoneAccountCreator *creator, LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_remove_callbacks (LinphoneAccountCreator *creator, LinphoneAccountCreatorCbs *cbs)
 
LinphoneAccountCreatorCbslinphone_account_creator_get_current_callbacks (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorServicelinphone_account_creator_get_service (const LinphoneAccountCreator *creator)
 
LinphoneAccountCreatorCbslinphone_account_creator_cbs_ref (LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_unref (LinphoneAccountCreatorCbs *cbs)
 
void * linphone_account_creator_cbs_get_user_data (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_user_data (LinphoneAccountCreatorCbs *cbs, void *user_data)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_create_account (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_create_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_exist (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_is_account_exist (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_account (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_activate_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_send_token (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_send_token (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_account_creation_request_token (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_account_creation_request_token (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_account_creation_token_using_request_token (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_account_creation_token_using_request_token (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_activated (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_is_account_activated (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_link_account (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_link_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_alias (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_activate_alias (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_alias_used (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_is_alias_used (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_linked (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_is_account_linked (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_recover_account (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_recover_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_update_account (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_update_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_login_linphone_account (const LinphoneAccountCreatorCbs *cbs)
 
void linphone_account_creator_cbs_set_login_linphone_account (LinphoneAccountCreatorCbs *cbs, LinphoneAccountCreatorCbsStatusCb cb)
 
LinphoneProxyConfiglinphone_account_creator_create_proxy_config (const LinphoneAccountCreator *creator)
 
LinphoneAccountlinphone_account_creator_create_account_in_core (const LinphoneAccountCreator *creator)
 
void linphone_account_creator_use_test_admin_account (LinphoneAccountCreator *creator)
 
MS2_DEPRECATED LinphoneAccountCreatorCbslinphone_account_creator_get_callbacks (const LinphoneAccountCreator *creator)
 
MS2_DEPRECATED LinphoneAccountCreatorStatus linphone_account_creator_set_route (LinphoneAccountCreator *creator, const char *route)
 
MS2_DEPRECATED const char * linphone_account_creator_get_route (const LinphoneAccountCreator *creator)
 
MS2_DEPRECATED LinphoneProxyConfiglinphone_account_creator_configure (const LinphoneAccountCreator *creator)
 
LinphoneProxyConfiglinphone_core_create_proxy_config (LinphoneCore *core)
 
LinphoneStatus linphone_core_add_proxy_config (LinphoneCore *core, LinphoneProxyConfig *config)
 
void linphone_core_clear_proxy_config (LinphoneCore *core)
 
void linphone_core_remove_proxy_config (LinphoneCore *core, LinphoneProxyConfig *config)
 
const bctbx_list_t * linphone_core_get_proxy_config_list (const LinphoneCore *core)
 
LinphoneProxyConfiglinphone_core_get_proxy_config_by_idkey (LinphoneCore *core, const char *idkey)
 
LinphoneProxyConfiglinphone_core_get_default_proxy_config (const LinphoneCore *core)
 
void linphone_core_set_default_proxy_config (LinphoneCore *core, LinphoneProxyConfig *config)
 
void linphone_core_set_account_creator_url (LinphoneCore *core, const char *url)
 
const char * linphone_core_get_account_creator_url (LinphoneCore *core)
 
void linphone_core_set_account_creator_backend (LinphoneCore *core, LinphoneAccountCreatorBackend backend)
 
LinphoneAccountCreatorBackend linphone_core_get_account_creator_backend (const LinphoneCore *core)
 
LinphoneAccountCreatorlinphone_core_create_account_creator (LinphoneCore *core, const char *xmlrpc_url)
 
LinphoneAccountManagerServiceslinphone_core_create_account_manager_services (LinphoneCore *core)
 
LinphoneLdaplinphone_core_create_ldap (LinphoneCore *core)
 
LinphoneLdaplinphone_core_create_ldap_with_params (LinphoneCore *core, LinphoneLdapParams *params)
 
void linphone_core_clear_ldaps (LinphoneCore *core)
 
void linphone_core_add_ldap (LinphoneCore *core, LinphoneLdap *ldap)
 
void linphone_core_remove_ldap (LinphoneCore *core, LinphoneLdap *ldap)
 
bctbx_list_t * linphone_core_get_ldap_list (LinphoneCore *core)
 
LinphoneAddresslinphone_core_get_primary_contact_address (LinphoneCore *core)
 
MS2_DEPRECATED LinphoneAddresslinphone_core_get_primary_contact_parsed (LinphoneCore *core)
 
LinphoneProxyConfiglinphone_proxy_config_ref (LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_unref (LinphoneProxyConfig *proxy_config)
 
void * linphone_proxy_config_get_user_data (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_user_data (LinphoneProxyConfig *proxy_config, void *user_data)
 
LinphoneStatus linphone_proxy_config_set_server_addr (LinphoneProxyConfig *proxy_config, const char *server_address)
 
LinphoneStatus linphone_proxy_config_set_identity_address (LinphoneProxyConfig *proxy_config, LinphoneAddress *identity)
 
LinphoneStatus linphone_proxy_config_set_routes (LinphoneProxyConfig *proxy_config, const bctbx_list_t *routes)
 
void linphone_proxy_config_set_expires (LinphoneProxyConfig *proxy_config, int expires)
 
void linphone_proxy_config_enable_register (LinphoneProxyConfig *proxy_config, bool_t enable)
 
void linphone_proxy_config_edit (LinphoneProxyConfig *proxy_config)
 
LinphoneStatus linphone_proxy_config_done (LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_enable_publish (LinphoneProxyConfig *proxy_config, bool_t enable)
 
void linphone_proxy_config_set_publish_expires (LinphoneProxyConfig *proxy_config, int expires)
 
int linphone_proxy_config_get_publish_expires (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_dial_escape_plus (LinphoneProxyConfig *proxy_config, bool_t enable)
 
void linphone_proxy_config_set_dial_prefix (LinphoneProxyConfig *proxy_config, const char *prefix)
 
void linphone_proxy_config_enable_quality_reporting (LinphoneProxyConfig *proxy_config, bool_t enable)
 
bool_t linphone_proxy_config_quality_reporting_enabled (LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_quality_reporting_collector (LinphoneProxyConfig *proxy_config, const char *collector)
 
const char * linphone_proxy_config_get_quality_reporting_collector (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_quality_reporting_interval (LinphoneProxyConfig *proxy_config, int interval)
 
int linphone_proxy_config_get_quality_reporting_interval (LinphoneProxyConfig *proxy_config)
 
LinphoneRegistrationState linphone_proxy_config_get_state (const LinphoneProxyConfig *proxy_config)
 
const char * linphone_proxy_config_get_domain (const LinphoneProxyConfig *proxy_config)
 
const char * linphone_proxy_config_get_realm (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_realm (LinphoneProxyConfig *proxy_config, const char *realm)
 
const bctbx_list_t * linphone_proxy_config_get_routes (const LinphoneProxyConfig *proxy_config)
 
const LinphoneAddresslinphone_proxy_config_get_identity_address (const LinphoneProxyConfig *proxy_config)
 
bool_t linphone_proxy_config_publish_enabled (const LinphoneProxyConfig *proxy_config)
 
const char * linphone_proxy_config_get_server_addr (const LinphoneProxyConfig *proxy_config)
 
int linphone_proxy_config_get_expires (const LinphoneProxyConfig *proxy_config)
 
bool_t linphone_proxy_config_register_enabled (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_refresh_register (LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_pause_register (LinphoneProxyConfig *proxy_config)
 
const LinphoneAddresslinphone_proxy_config_get_contact (const LinphoneProxyConfig *proxy_config)
 
const char * linphone_proxy_config_get_contact_parameters (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_contact_parameters (LinphoneProxyConfig *proxy_config, const char *contact_params)
 
void linphone_proxy_config_set_contact_uri_parameters (LinphoneProxyConfig *proxy_config, const char *contact_uri_params)
 
const char * linphone_proxy_config_get_contact_uri_parameters (const LinphoneProxyConfig *proxy_config)
 
LinphoneCorelinphone_proxy_config_get_core (const LinphoneProxyConfig *proxy_config)
 
bool_t linphone_proxy_config_get_dial_escape_plus (const LinphoneProxyConfig *proxy_config)
 
const char * linphone_proxy_config_get_dial_prefix (const LinphoneProxyConfig *proxy_config)
 
LinphoneReason linphone_proxy_config_get_error (const LinphoneProxyConfig *proxy_config)
 
const LinphoneErrorInfolinphone_proxy_config_get_error_info (const LinphoneProxyConfig *proxy_config)
 
const char * linphone_proxy_config_get_transport (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_sip_setup (LinphoneProxyConfig *proxy_config, const char *type)
 
char * linphone_proxy_config_normalize_phone_number (LinphoneProxyConfig *proxy_config, const char *username)
 
LinphoneAddresslinphone_proxy_config_normalize_sip_uri (LinphoneProxyConfig *proxy_config, const char *username)
 
void linphone_proxy_config_set_privacy (LinphoneProxyConfig *proxy_config, LinphonePrivacyMask privacy)
 
LinphonePrivacyMask linphone_proxy_config_get_privacy (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_file_transfer_server (LinphoneProxyConfig *proxy_config, const char *server_url)
 
const char * linphone_proxy_config_get_file_transfer_server (const LinphoneProxyConfig *proxy_config)
 
bool_t linphone_proxy_config_avpf_enabled (LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_avpf_rr_interval (LinphoneProxyConfig *proxy_config, uint8_t interval)
 
uint8_t linphone_proxy_config_get_avpf_rr_interval (const LinphoneProxyConfig *proxy_config)
 
LinphoneAVPFMode linphone_proxy_config_get_avpf_mode (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_avpf_mode (LinphoneProxyConfig *proxy_config, LinphoneAVPFMode mode)
 
const char * linphone_proxy_config_get_custom_header (LinphoneProxyConfig *proxy_config, const char *header_name)
 
void linphone_proxy_config_set_custom_header (LinphoneProxyConfig *proxy_config, const char *header_name, const char *header_value)
 
const LinphoneAuthInfolinphone_proxy_config_find_auth_info (const LinphoneProxyConfig *proxy_config)
 
const char * linphone_proxy_config_get_ref_key (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_ref_key (LinphoneProxyConfig *proxy_config, const char *refkey)
 
LinphoneProxyConfiglinphone_proxy_config_get_dependency (LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_dependency (LinphoneProxyConfig *proxy_config, LinphoneProxyConfig *depends_on)
 
const char * linphone_proxy_config_get_idkey (LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_idkey (LinphoneProxyConfig *proxy_config, const char *idkey)
 
LinphoneNatPolicylinphone_proxy_config_get_nat_policy (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_nat_policy (LinphoneProxyConfig *proxy_config, LinphoneNatPolicy *policy)
 
void linphone_proxy_config_set_conference_factory_uri (LinphoneProxyConfig *proxy_config, const char *uri)
 
const char * linphone_proxy_config_get_conference_factory_uri (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_push_notification_allowed (LinphoneProxyConfig *proxy_config, bool_t allow)
 
bool_t linphone_proxy_config_is_push_notification_allowed (const LinphoneProxyConfig *proxy_config)
 
bool_t linphone_proxy_config_is_remote_push_notification_allowed (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_remote_push_notification_allowed (LinphoneProxyConfig *proxy_config, bool_t allow)
 
bool_t linphone_proxy_config_is_push_notification_available (const LinphoneProxyConfig *proxy_config)
 
int linphone_proxy_config_get_unread_chat_message_count (const LinphoneProxyConfig *proxy_config)
 
void linphone_proxy_config_set_push_notification_config (LinphoneProxyConfig *cfg, LinphonePushNotificationConfig *push_cfg)
 
LinphonePushNotificationConfiglinphone_proxy_config_get_push_notification_config (const LinphoneProxyConfig *cfg)
 
MS2_DEPRECATED LinphoneStatus linphone_proxy_config_set_route (LinphoneProxyConfig *proxy_config, const char *route)
 
MS2_DEPRECATED const char * linphone_proxy_config_get_route (const LinphoneProxyConfig *proxy_config)
 
MS2_DEPRECATED const char * linphone_proxy_config_get_identity (const LinphoneProxyConfig *cfg)
 
LinphoneLdaplinphone_ldap_new (LinphoneCore *lc)
 
LinphoneLdaplinphone_ldap_new_with_params (LinphoneCore *lc, LinphoneLdapParams *params)
 
LinphoneLdaplinphone_ldap_ref (LinphoneLdap *ldap)
 
void linphone_ldap_unref (LinphoneLdap *ldap)
 
void linphone_ldap_set_params (LinphoneLdap *ldap, LinphoneLdapParams *params)
 
LinphoneLdapParamslinphone_ldap_get_params (LinphoneLdap *ldap)
 
LinphoneCorelinphone_ldap_get_core (LinphoneLdap *ldap)
 
void linphone_ldap_set_index (LinphoneLdap *ldap, int index)
 
int linphone_ldap_get_index (const LinphoneLdap *ldap)
 

Detailed Description

Deprecated objects and APIs.

Typedef Documentation

◆ LinphoneAccountCreatorCbsStatusCb

typedef void(* LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *response)

Callback to notify of a server response.

Parameters
creatorLinphoneAccountCreator object
statusThe status of the LinphoneAccountCreator test existence operation that has just finished
responseThe response as a string
Deprecated:
11/06/2024 Use LinphoneAccountManagerServices instead

◆ LinphoneAccountCreatorService

typedef struct _LinphoneAccountCreatorService LinphoneAccountCreatorService

An object to define a LinphoneAccountCreator service.

◆ LinphoneAccountManagerServices

typedef struct _LinphoneAccountManagerServices LinphoneAccountManagerServices

Creates and manage SIP user accounts remotely, using the REST API of the Flexisip Account Manager.

See also
https://gitlab.linphone.org/BC/public/flexisip-account-manager

◆ LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb

typedef void(* LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb) (const LinphoneAccountManagerServicesRequest *request, const bctbx_list_t *devices_list)

Callback for notifying when a request has results available.

Parameters
requestLinphoneAccountManagerServicesRequest object.
devices_listthe of fetched devices.

◆ LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb

typedef void(* LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb) (const LinphoneAccountManagerServicesRequest *request, int status_code, const char *error_message, const LinphoneDictionary *parameter_errors)

Callback for notifying a request has failed.

Parameters
requestLinphoneAccountManagerServicesRequest object.
status_codeThe error status code.
error_messageAn error message, if any.
parameter_errorsA LinphoneDictionary with parameter specific errors, if any.

◆ LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb

typedef void(* LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb) (const LinphoneAccountManagerServicesRequest *request, const char *data)

Callback for notifying a request was successful.

Parameters
requestLinphoneAccountManagerServicesRequest object.
dataany relevant data depending on the request (for example SIP identity for account creation).

◆ LinphoneProxyConfig

typedef struct _LinphoneProxyConfig LinphoneProxyConfig

Represents an account configuration to be used by LinphoneCore.

In addition to the LinphoneAuthInfo that stores the credentials, you need to configure a LinphoneProxyConfig as well to be able to connect to a proxy server.

A minimal proxy config consists of an identity address (sip:username@domain.tld) and the proxy server address,

See also
linphone_proxy_config_set_server_addr().

If any, it will be stored inside the default configuration file, so it will survive the destruction of the LinphoneCore and be available at the next start.

The account set with linphone_core_set_default_proxy_config() will be used as default for outgoing calls & chat messages unless specified otherwise.

Deprecated:
06/04/2020 Use LinphoneAccount object instead

Enumeration Type Documentation

◆ _LinphoneAccountCreatorActivationCodeStatus

Enum describing activation code checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorActivationCodeStatusOk 

Activation code ok.

LinphoneAccountCreatorActivationCodeStatusTooShort 

Activation code too short.

LinphoneAccountCreatorActivationCodeStatusTooLong 

Activation code too long.

LinphoneAccountCreatorActivationCodeStatusInvalidCharacters 

Contain invalid characters.

◆ _LinphoneAccountCreatorAlgoStatus

Enum describing algorithm checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorAlgoStatusOk 

Algorithm ok.

LinphoneAccountCreatorAlgoStatusNotSupported 

Algorithm not supported.

◆ _LinphoneAccountCreatorBackend

Enum describing backend used in the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorBackendXMLRPC 

XMLRPC Backend.

LinphoneAccountCreatorBackendFlexiAPI 

FlexiAPI Backend.

◆ _LinphoneAccountCreatorDomainStatus

Enum describing domain checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorDomainOk 

Domain ok.

LinphoneAccountCreatorDomainInvalid 

Domain invalid.

◆ _LinphoneAccountCreatorEmailStatus

Enum describing email checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorEmailStatusOk 

Email ok.

LinphoneAccountCreatorEmailStatusMalformed 

Email malformed.

LinphoneAccountCreatorEmailStatusInvalidCharacters 

Contain invalid characters.

◆ _LinphoneAccountCreatorLanguageStatus

Enum describing language checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorLanguageStatusOk 

Language ok.

◆ _LinphoneAccountCreatorPasswordStatus

Enum describing password checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorPasswordStatusOk 

Password ok.

LinphoneAccountCreatorPasswordStatusTooShort 

Password too short.

LinphoneAccountCreatorPasswordStatusTooLong 

Password too long.

LinphoneAccountCreatorPasswordStatusInvalidCharacters 

Contain invalid characters.

LinphoneAccountCreatorPasswordStatusMissingCharacters 

Missing specific characters.

◆ _LinphoneAccountCreatorPhoneNumberStatus

Enum describing phone number checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorPhoneNumberStatusOk 

Phone number ok.

LinphoneAccountCreatorPhoneNumberStatusTooShort 

Phone number too short.

LinphoneAccountCreatorPhoneNumberStatusTooLong 

Phone number too long.

LinphoneAccountCreatorPhoneNumberStatusInvalidCountryCode 

Country code invalid.

LinphoneAccountCreatorPhoneNumberStatusInvalid 

Phone number invalid.

◆ _LinphoneAccountCreatorStatus

Enum describing the status of server request, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorStatusRequestOk 

Request status.

Request passed

LinphoneAccountCreatorStatusRequestFailed 

Request failed.

LinphoneAccountCreatorStatusMissingArguments 

Request failed due to missing argument(s)

LinphoneAccountCreatorStatusMissingCallbacks 

Request failed due to missing callback(s)

LinphoneAccountCreatorStatusAccountCreated 

Account status.

Account created

LinphoneAccountCreatorStatusAccountNotCreated 

Account not created.

LinphoneAccountCreatorStatusAccountExist 

Account exist.

LinphoneAccountCreatorStatusAccountExistWithAlias 

Account exist with alias.

LinphoneAccountCreatorStatusAccountNotExist 

Account not exist.

LinphoneAccountCreatorStatusAliasIsAccount 

Account was created with Alias.

LinphoneAccountCreatorStatusAliasExist 

Alias exist.

LinphoneAccountCreatorStatusAliasNotExist 

Alias not exist.

LinphoneAccountCreatorStatusAccountActivated 

Account activated.

LinphoneAccountCreatorStatusAccountAlreadyActivated 

Account already activated.

LinphoneAccountCreatorStatusAccountNotActivated 

Account not activated.

LinphoneAccountCreatorStatusAccountLinked 

Account linked.

LinphoneAccountCreatorStatusAccountNotLinked 

Account not linked.

LinphoneAccountCreatorStatusServerError 

Server.

Error server

LinphoneAccountCreatorStatusPhoneNumberInvalid 

Error cannot send SMS.

LinphoneAccountCreatorStatusWrongActivationCode 

Error key doesn't match.

LinphoneAccountCreatorStatusPhoneNumberOverused 

Error too many SMS sent.

LinphoneAccountCreatorStatusAlgoNotSupported 

Error algo isn't MD5 or SHA-256.

LinphoneAccountCreatorStatusUnexpectedError 

Generic error.

LinphoneAccountCreatorStatusNotImplementedError 

This API isn't implemented in the current backend.

LinphoneAccountCreatorStatusRequestNotAuthorized 

Request has been denied, probably due to invalid auth token.

LinphoneAccountCreatorStatusRequestTooManyRequests 

Request has been denied, due to too many requests sent in given period.

◆ _LinphoneAccountCreatorTransportStatus

Enum describing transport checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorTransportOk 

Transport ok.

LinphoneAccountCreatorTransportUnsupported 

Transport invalid.

◆ _LinphoneAccountCreatorUsernameStatus

Enum describing username checking, used by the LinphoneAccountCreator.

Enumerator
LinphoneAccountCreatorUsernameStatusOk 

Username ok.

LinphoneAccountCreatorUsernameStatusTooShort 

Username too short.

LinphoneAccountCreatorUsernameStatusTooLong 

Username too long.

LinphoneAccountCreatorUsernameStatusInvalidCharacters 

Contain invalid characters.

LinphoneAccountCreatorUsernameStatusInvalid 

Invalid username.

◆ _LinphoneAccountManagerServicesRequestType

List of all supported LinphoneAccountManagerServicesRequest requests, allowing to know which one triggered either a callback from the LinphoneAccountManagerServicesRequestCbs.

Enumerator
LinphoneAccountManagerServicesRequestTypeSendAccountCreationTokenByPush 

Asks the account manager to send us an account creation token by push notification.

LinphoneAccountManagerServicesRequestTypeAccountCreationRequestToken 

Asks the account manager to create a request token to be validated in a web browser (captcha) and that can later be used to create an account creation token.

LinphoneAccountManagerServicesRequestTypeAccountCreationTokenFromAccountCreationRequestToken 

Asks the account manager to consume the account creation request token to create an account creation token.

LinphoneAccountManagerServicesRequestTypeCreateAccountUsingToken 

Uses an account creation token to create the account.

LinphoneAccountManagerServicesRequestTypeSendPhoneNumberLinkingCodeBySms 

Asks for a code to be sent by SMS to a given phone number to link that phone number with an account.

LinphoneAccountManagerServicesRequestTypeLinkPhoneNumberUsingCode 

Uses the code received by SMS to confirm the link between an account and a phone number.

LinphoneAccountManagerServicesRequestTypeSendEmailLinkingCodeByEmail 

Asks for a code to be sent by email to a given email address to link that address with an account.

LinphoneAccountManagerServicesRequestTypeLinkEmailUsingCode 

Uses the code received by email to confirm the link between an account and an email address.

LinphoneAccountManagerServicesRequestTypeGetDevicesList 

Gets the list of devices for account.

LinphoneAccountManagerServicesRequestTypeDeleteDevice 

Removes an account device.

LinphoneAccountManagerServicesRequestTypeSendAccountRecoveryTokenByPush 

Asks the account manager to send us an account recovery token by push notification.

Function Documentation

◆ linphone_account_creator_activate_account()

LinphoneAccountCreatorStatus linphone_account_creator_activate_account ( LinphoneAccountCreator creator)

Send a request to activate an account on server.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_activate_alias()

LinphoneAccountCreatorStatus linphone_account_creator_activate_alias ( LinphoneAccountCreator creator)

Send a request to activate an alias.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_add_callbacks()

void linphone_account_creator_add_callbacks ( LinphoneAccountCreator creator,
LinphoneAccountCreatorCbs cbs 
)

Add the LinphoneAccountCreatorCbs object to a LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
cbsThe LinphoneAccountCreatorCbs object to add to the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_cbs_get_account_creation_request_token()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_account_creation_request_token ( const LinphoneAccountCreatorCbs cbs)

Get the callback on account creation request token.

In response:

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current request token request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_account_creation_token_using_request_token()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_account_creation_token_using_request_token ( const LinphoneAccountCreatorCbs cbs)

Get the callback on account creation token.

In response, "token" is the token to pass to linphone_account_creator_set_token(). It is used for linphone_account_creator_create_account()

In status:

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current request token request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_activate_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_account ( const LinphoneAccountCreatorCbs cbs)

Get the activate account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current activate account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_activate_alias()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_alias ( const LinphoneAccountCreatorCbs cbs)

Get the activate alias request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current link account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_create_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_create_account ( const LinphoneAccountCreatorCbs cbs)

Get the create account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current create account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_is_account_activated()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_activated ( const LinphoneAccountCreatorCbs cbs)

Get the is account activated request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current is account activated request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_is_account_exist()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_exist ( const LinphoneAccountCreatorCbs cbs)

Get the is account exist request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current is account exist request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_is_account_linked()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_linked ( const LinphoneAccountCreatorCbs cbs)

Get the is account linked request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current is account linked request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_is_alias_used()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_alias_used ( const LinphoneAccountCreatorCbs cbs)

Get the is alias used request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current is alias used request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_link_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_link_account ( const LinphoneAccountCreatorCbs cbs)

Get the link account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current link account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_login_linphone_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_login_linphone_account ( const LinphoneAccountCreatorCbs cbs)

Get the login linphone account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current login linphone account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_recover_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_recover_account ( const LinphoneAccountCreatorCbs cbs)

Get the recover account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current recover account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_send_token()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_send_token ( const LinphoneAccountCreatorCbs cbs)

Get the activate account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current activate account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_update_account()

LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_update_account ( const LinphoneAccountCreatorCbs cbs)

Get the update account request.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The current update account request.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_get_user_data()

void * linphone_account_creator_cbs_get_user_data ( const LinphoneAccountCreatorCbs cbs)

Retrieve the user pointer associated with a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The user pointer associated with the LinphoneAccountCreatorCbs object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_ref()

LinphoneAccountCreatorCbs * linphone_account_creator_cbs_ref ( LinphoneAccountCreatorCbs cbs)

Acquire a reference to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
Returns
The same LinphoneAccountCreatorCbs object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_account_creation_request_token()

void linphone_account_creator_cbs_set_account_creation_request_token ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe request token callback used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_account_creation_token_using_request_token()

void linphone_account_creator_cbs_set_account_creation_token_using_request_token ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe token callback used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_activate_account()

void linphone_account_creator_cbs_set_activate_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe activate account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_activate_alias()

void linphone_account_creator_cbs_set_activate_alias ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe activate alias request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_create_account()

void linphone_account_creator_cbs_set_create_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe create account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_is_account_activated()

void linphone_account_creator_cbs_set_is_account_activated ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe is account activated request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_is_account_exist()

void linphone_account_creator_cbs_set_is_account_exist ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe is account exist request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_is_account_linked()

void linphone_account_creator_cbs_set_is_account_linked ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe is account linked request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_is_alias_used()

void linphone_account_creator_cbs_set_is_alias_used ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe is alias used request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_link_account()

void linphone_account_creator_cbs_set_link_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe link account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_login_linphone_account()

void linphone_account_creator_cbs_set_login_linphone_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe login linphone account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_recover_account()

void linphone_account_creator_cbs_set_recover_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe recover account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_send_token()

void linphone_account_creator_cbs_set_send_token ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe send token request used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_update_account()

void linphone_account_creator_cbs_set_update_account ( LinphoneAccountCreatorCbs cbs,
LinphoneAccountCreatorCbsStatusCb  cb 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
cbThe update account request to be used.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_set_user_data()

void linphone_account_creator_cbs_set_user_data ( LinphoneAccountCreatorCbs cbs,
void *  user_data 
)

Assign a user pointer to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
user_dataThe user pointer to associate with the LinphoneAccountCreatorCbs object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_cbs_unref()

void linphone_account_creator_cbs_unref ( LinphoneAccountCreatorCbs cbs)

Release a reference to a LinphoneAccountCreatorCbs object.

Parameters
cbsLinphoneAccountCreatorCbs object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServicesRequestCbs instead

◆ linphone_account_creator_configure()

MS2_DEPRECATED LinphoneProxyConfig * linphone_account_creator_configure ( const LinphoneAccountCreator creator)

Configure an account (create a proxy config and authentication info for it).

Parameters
creatorLinphoneAccountCreator object
Returns
A LinphoneProxyConfig object if successful, NULL otherwise
Deprecated:
13/04/2017 Use linphone_account_creator_create_proxy_config() instead

◆ linphone_account_creator_create()

LinphoneAccountCreator * linphone_account_creator_create ( LinphoneCore core)

Creates a LinphoneAccountCreator and sets Linphone Request callbacks.

Parameters
coreThe LinphoneCore used for the XML-RPC communication
Returns
The new LinphoneAccountCreator object.
Deprecated:
11/06/2024 Use LinphoneAccountManagerServices instead

◆ linphone_account_creator_create_account()

LinphoneAccountCreatorStatus linphone_account_creator_create_account ( LinphoneAccountCreator creator)

Sends a request to create an account on the server.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, otherwise LinphoneAccountCreatorStatusRequestFailed
Deprecated:
11/06/2024 Use LinphoneAccountManagerServices instead

◆ linphone_account_creator_create_account_in_core()

LinphoneAccount * linphone_account_creator_create_account_in_core ( const LinphoneAccountCreator creator)

Create and configure a LinphoneAccount and a LinphoneAuthInfo from informations set in the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
Returns
A LinphoneAccount object if successful, NULL otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_create_proxy_config()

LinphoneProxyConfig * linphone_account_creator_create_proxy_config ( const LinphoneAccountCreator creator)

Create and configure a proxy config and a authentication info for an account creator.

Parameters
creatorLinphoneAccountCreator object
Returns
A LinphoneProxyConfig object if successful, NULL otherwise.
Deprecated:
05/05/2023 Use linphone_account_creator_create_account_in_core() instead.

◆ linphone_account_creator_create_push_account()

LinphoneAccountCreatorStatus linphone_account_creator_create_push_account ( LinphoneAccountCreator creator)

Sends a request to create a push account on the server.

Push accounts are used in account-dependent situations when an account cannot send push notifications. A username and password are automatically generated, and an account is automatically activated.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, otherwise LinphoneAccountCreatorStatusRequestFailed
Deprecated:
11/06/2024 Use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_account_creation_request_token()

const char * linphone_account_creator_get_account_creation_request_token ( const LinphoneAccountCreator creator)

Get the account creation request token received to be used to check user validation.

Parameters
creatorLinphoneAccountCreator object
Returns
The token set, if any
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_activation_code()

const char * linphone_account_creator_get_activation_code ( const LinphoneAccountCreator creator)

Get the activation code.

Parameters
creatorLinphoneAccountCreator object
Returns
The activation code of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_algorithm()

const char * linphone_account_creator_get_algorithm ( const LinphoneAccountCreator creator)

Get the algorithm configured in the account creator.

Parameters
creatorLinphoneAccountCreator object
Returns
The algorithm of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_callbacks()

MS2_DEPRECATED LinphoneAccountCreatorCbs * linphone_account_creator_get_callbacks ( const LinphoneAccountCreator creator)

Get the LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
Returns
The LinphoneAccountCreatorCbs object associated with the LinphoneAccountCreator.
Deprecated:
19/02/2019 use add_callbacks / remove_callbacks instead

◆ linphone_account_creator_get_current_callbacks()

LinphoneAccountCreatorCbs * linphone_account_creator_get_current_callbacks ( const LinphoneAccountCreator creator)

Get the current LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
Returns
The current LinphoneAccountCreatorCbs object associated with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_display_name()

const char * linphone_account_creator_get_display_name ( const LinphoneAccountCreator creator)

Get the display name.

Parameters
creatorLinphoneAccountCreator object
Returns
The display name of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_domain()

const char * linphone_account_creator_get_domain ( const LinphoneAccountCreator creator)

Get the domain.

Parameters
creatorLinphoneAccountCreator object
Returns
The domain of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_email()

const char * linphone_account_creator_get_email ( const LinphoneAccountCreator creator)

Get the email.

Parameters
creatorLinphoneAccountCreator object
Returns
The email of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_ha1()

const char * linphone_account_creator_get_ha1 ( const LinphoneAccountCreator creator)

Get the ha1.

Parameters
creatorLinphoneAccountCreator object
Returns
The ha1 of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_language()

const char * linphone_account_creator_get_language ( const LinphoneAccountCreator creator)

Get the language use in email of SMS.

Parameters
creatorLinphoneAccountCreator object
Returns
The language of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_password()

const char * linphone_account_creator_get_password ( const LinphoneAccountCreator creator)

Get the password.

Parameters
creatorLinphoneAccountCreator object
Returns
The password of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_phone_country_code()

const char * linphone_account_creator_get_phone_country_code ( const LinphoneAccountCreator creator)

Get the international prefix.

Parameters
creatorLinphoneAccountCreator object
Returns
The international prefix (or phone country code) of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_phone_number()

const char * linphone_account_creator_get_phone_number ( const LinphoneAccountCreator creator)

Get the RFC 3966 normalized phone number.

Parameters
creatorLinphoneAccountCreator object
Returns
The phone number of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_pn_param()

const char * linphone_account_creator_get_pn_param ( const LinphoneAccountCreator creator)

Get the param to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
Returns
The pn_param set, if any
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_pn_prid()

const char * linphone_account_creator_get_pn_prid ( const LinphoneAccountCreator creator)

Get the prid to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
Returns
The pn_prid set, if any
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_pn_provider()

const char * linphone_account_creator_get_pn_provider ( const LinphoneAccountCreator creator)

Get the provider to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
Returns
The pn_provider set, if any
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_route()

MS2_DEPRECATED const char * linphone_account_creator_get_route ( const LinphoneAccountCreator creator)

Get the route.

Parameters
creatorLinphoneAccountCreator object
Returns
The route of the LinphoneAccountCreator.

◆ linphone_account_creator_get_service()

LinphoneAccountCreatorService * linphone_account_creator_get_service ( const LinphoneAccountCreator creator)

Get the LinphoneAccountCreatorService object associated with a LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
Returns
The LinphoneAccountCreatorService object associated with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_set_as_default()

bool_t linphone_account_creator_get_set_as_default ( const LinphoneAccountCreator creator)

Get the set_as_default property.

Parameters
creatorLinphoneAccountCreator object
Returns
TRUE if account will be set as default, FALSE otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_token()

const char * linphone_account_creator_get_token ( const LinphoneAccountCreator creator)

Get the authentication token set (if any) to be used to authenticate next queries, if required.

Parameters
creatorLinphoneAccountCreator object
Returns
The token set, if any
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_transport()

LinphoneTransportType linphone_account_creator_get_transport ( const LinphoneAccountCreator creator)

Get Transport.

Parameters
creatorLinphoneAccountCreator object
Returns
The LinphoneTransportType of the creator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_user_data()

void * linphone_account_creator_get_user_data ( const LinphoneAccountCreator creator)

Retrieve the user pointer associated with the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
Returns
The user pointer associated with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_get_username()

const char * linphone_account_creator_get_username ( const LinphoneAccountCreator creator)

Get the username.

Parameters
creatorLinphoneAccountCreator object
Returns
The username of the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_is_account_activated()

LinphoneAccountCreatorStatus linphone_account_creator_is_account_activated ( LinphoneAccountCreator creator)

Sends a request to check if an account is activated on the server.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_is_account_exist()

LinphoneAccountCreatorStatus linphone_account_creator_is_account_exist ( LinphoneAccountCreator creator)

Sends a request to check if an account exists on the server.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, otherwise LinphoneAccountCreatorStatusRequestFailed
Deprecated:
11/06/2024 Use LinphoneAccountManagerServices instead

◆ linphone_account_creator_is_account_linked()

LinphoneAccountCreatorStatus linphone_account_creator_is_account_linked ( LinphoneAccountCreator creator)

Send a request to know if an account is linked.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_is_alias_used()

LinphoneAccountCreatorStatus linphone_account_creator_is_alias_used ( LinphoneAccountCreator creator)

Send a request to know if an alias is used.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_link_account()

LinphoneAccountCreatorStatus linphone_account_creator_link_account ( LinphoneAccountCreator creator)

Send a request to link an account to an alias.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_login_linphone_account()

LinphoneAccountCreatorStatus linphone_account_creator_login_linphone_account ( LinphoneAccountCreator creator)

Send a request to get the password & algorithm of an account using the confirmation key.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_new()

LinphoneAccountCreator * linphone_account_creator_new ( LinphoneCore core,
const char *  xmlrpc_url 
)

Creates a LinphoneAccountCreator and sets Linphone Request callbacks.

Parameters
coreThe LinphoneCore used for the XML-RPC communication
xmlrpc_urlThe URL to the XML-RPC server.
Returns
The new LinphoneAccountCreator object.
Deprecated:
13/04/2020 Use linphone_account_creator_create() instead

◆ linphone_account_creator_recover_account()

LinphoneAccountCreatorStatus linphone_account_creator_recover_account ( LinphoneAccountCreator creator)

Send a request to recover an account.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_ref()

LinphoneAccountCreator * linphone_account_creator_ref ( LinphoneAccountCreator creator)

Acquire a reference to the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
Returns
The same LinphoneAccountCreator object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_remove_callbacks()

void linphone_account_creator_remove_callbacks ( LinphoneAccountCreator creator,
LinphoneAccountCreatorCbs cbs 
)

Removes the LinphoneAccountCreatorCbs object from a LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object
cbsThe LinphoneAccountCreatorCbs object to remove from the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_request_account_creation_request_token()

LinphoneAccountCreatorStatus linphone_account_creator_request_account_creation_request_token ( LinphoneAccountCreator creator)

Request an account creation "request_token" to be used on account creations.

The request_token is retrieved from the callback linphone_account_creator_cbs_get_account_creation_request_token()

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_request_account_creation_token_using_request_token()

LinphoneAccountCreatorStatus linphone_account_creator_request_account_creation_token_using_request_token ( LinphoneAccountCreator creator)

Send a request to get a token to be used for account creation from a request_token.

The token is retrieved from the callback linphone_account_creator_cbs_get_account_creation_token_using_request_token()

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_request_auth_token()

LinphoneAccountCreatorStatus linphone_account_creator_request_auth_token ( LinphoneAccountCreator creator)

Request an auth token to be send by the backend by push notification.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_reset()

void linphone_account_creator_reset ( LinphoneAccountCreator creator)

Resets the account creator entries (username, password, phone number...).

Parameters
creatorLinphoneAccountCreator object
Deprecated:
11/06/2024 Use LinphoneAccountManagerServices instead

◆ linphone_account_creator_service_get_account_creation_request_token_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_account_creation_request_token_cb ( const LinphoneAccountCreatorService service)

Gets the account creation request token request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The request token cb to be used.

◆ linphone_account_creator_service_get_account_creation_token_using_request_token_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_account_creation_token_using_request_token_cb ( const LinphoneAccountCreatorService service)

Gets the account creation token request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The request token cb to be used.

◆ linphone_account_creator_service_get_activate_account_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_activate_account_cb ( const LinphoneAccountCreatorService service)

Gets the activate account request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current activate account request.

◆ linphone_account_creator_service_get_activate_alias_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_activate_alias_cb ( const LinphoneAccountCreatorService service)

Gets the activate alias request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current link account request.

◆ linphone_account_creator_service_get_confirmation_key_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_confirmation_key_cb ( const LinphoneAccountCreatorService service)

Gets the confirmation key request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current confirmation key request.

◆ linphone_account_creator_service_get_constructor_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_constructor_cb ( const LinphoneAccountCreatorService service)

Gets the constructor of account creator requests.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current constructor of create account request.

◆ linphone_account_creator_service_get_create_account_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_create_account_cb ( const LinphoneAccountCreatorService service)

Gets the create account request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current create account request.

◆ linphone_account_creator_service_get_create_account_with_token_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_create_account_with_token_cb ( const LinphoneAccountCreatorService service)

Gets the create account with token request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current create account with token request.

◆ linphone_account_creator_service_get_create_push_account_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_create_push_account_cb ( const LinphoneAccountCreatorService service)

Gets the create account request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current create account request.

◆ linphone_account_creator_service_get_destructor_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_destructor_cb ( const LinphoneAccountCreatorService service)

Gets the destructor of create account request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current destructor of create account request.

◆ linphone_account_creator_service_get_is_account_activated_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_account_activated_cb ( const LinphoneAccountCreatorService service)

Gets the is account activated request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current is account activated request.

◆ linphone_account_creator_service_get_is_account_exist_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_account_exist_cb ( const LinphoneAccountCreatorService service)

Gets the is account exist request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current is account exist request.

◆ linphone_account_creator_service_get_is_account_linked_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_account_linked_cb ( const LinphoneAccountCreatorService service)

Gets the is account linked request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current is account linked request.

◆ linphone_account_creator_service_get_is_alias_used_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_alias_used_cb ( const LinphoneAccountCreatorService service)

Gets the is alias used request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current is alias used request.

◆ linphone_account_creator_service_get_link_account_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_link_account_cb ( const LinphoneAccountCreatorService service)

Gets the link account request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current link account request.

◆ linphone_account_creator_service_get_login_linphone_account_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_login_linphone_account_cb ( const LinphoneAccountCreatorService service)

Gets the login linphone account request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current login linphone account request.

◆ linphone_account_creator_service_get_recover_account_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_recover_account_cb ( const LinphoneAccountCreatorService service)

Gets the recover account request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current recover account request.

◆ linphone_account_creator_service_get_send_token_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_send_token_cb ( const LinphoneAccountCreatorService service)

Gets the send token request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current login linphone account request.

◆ linphone_account_creator_service_get_update_account_cb()

LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_update_account_cb ( const LinphoneAccountCreatorService service)

Gets the update account request.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The current update account request.

◆ linphone_account_creator_service_get_user_data()

void * linphone_account_creator_service_get_user_data ( const LinphoneAccountCreatorService service)

Retrieve the user pointer associated with a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The user pointer associated with the LinphoneAccountCreatorService object.

◆ linphone_account_creator_service_new()

LinphoneAccountCreatorService * linphone_account_creator_service_new ( void  )

Creates a new LinphoneAccountCreatorService object.

Returns
a new LinphoneAccountCreatorService object.

◆ linphone_account_creator_service_ref()

LinphoneAccountCreatorService * linphone_account_creator_service_ref ( LinphoneAccountCreatorService service)

Acquire a reference to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
Returns
The same LinphoneAccountCreatorService object.

◆ linphone_account_creator_service_set_account_creation_request_token_cb()

void linphone_account_creator_service_set_account_creation_request_token_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Sets the account creation request token request.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe request token cb to be used.

◆ linphone_account_creator_service_set_account_creation_token_using_request_token_cb()

void linphone_account_creator_service_set_account_creation_token_using_request_token_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Sets the account creation token request.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe request token cb to be used.

◆ linphone_account_creator_service_set_activate_account_cb()

void linphone_account_creator_service_set_activate_account_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe activate account request to be used.

◆ linphone_account_creator_service_set_activate_alias_cb()

void linphone_account_creator_service_set_activate_alias_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe activate alias request to be used.

◆ linphone_account_creator_service_set_confirmation_key_cb()

void linphone_account_creator_service_set_confirmation_key_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe confirmation key request to be used.

◆ linphone_account_creator_service_set_constructor_cb()

void linphone_account_creator_service_set_constructor_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe constructor of account creator requests.

◆ linphone_account_creator_service_set_create_account_cb()

void linphone_account_creator_service_set_create_account_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe create account request to be used.

◆ linphone_account_creator_service_set_create_account_with_token_cb()

void linphone_account_creator_service_set_create_account_with_token_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe create account with token request to be used.

◆ linphone_account_creator_service_set_create_push_account_cb()

void linphone_account_creator_service_set_create_push_account_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe create account request to be used.

◆ linphone_account_creator_service_set_destructor_cb()

void linphone_account_creator_service_set_destructor_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe destructor.

◆ linphone_account_creator_service_set_is_account_activated_cb()

void linphone_account_creator_service_set_is_account_activated_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe is account activated request to be used.

◆ linphone_account_creator_service_set_is_account_exist_cb()

void linphone_account_creator_service_set_is_account_exist_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe is account exist request to be used.

◆ linphone_account_creator_service_set_is_account_linked_cb()

void linphone_account_creator_service_set_is_account_linked_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe is account linked request to be used.

◆ linphone_account_creator_service_set_is_alias_used_cb()

void linphone_account_creator_service_set_is_alias_used_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe is alias used request to be used.

◆ linphone_account_creator_service_set_link_account_cb()

void linphone_account_creator_service_set_link_account_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe link account request to be used.

◆ linphone_account_creator_service_set_login_linphone_account_cb()

void linphone_account_creator_service_set_login_linphone_account_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe login linphone account request to be used.

◆ linphone_account_creator_service_set_recover_account_cb()

void linphone_account_creator_service_set_recover_account_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe recover account request to be used.

◆ linphone_account_creator_service_set_send_token_cb()

void linphone_account_creator_service_set_send_token_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Request an auth token for account creator backend to be sent by push.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe send token request to be used.

◆ linphone_account_creator_service_set_update_account_cb()

void linphone_account_creator_service_set_update_account_cb ( LinphoneAccountCreatorService service,
LinphoneAccountCreatorRequestFunc  cb 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
cbThe update account request to be used.

◆ linphone_account_creator_service_set_user_data()

void linphone_account_creator_service_set_user_data ( LinphoneAccountCreatorService service,
void *  ud 
)

Assign a user pointer to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.
udThe user pointer to associate with the LinphoneAccountCreatorService object.

◆ linphone_account_creator_service_unref()

void linphone_account_creator_service_unref ( LinphoneAccountCreatorService service)

Release a reference to a LinphoneAccountCreatorService object.

Parameters
serviceLinphoneAccountCreatorService object.

◆ linphone_account_creator_set_account()

void linphone_account_creator_set_account ( LinphoneAccountCreator creator,
LinphoneAccount account 
)

Assign a proxy config pointer to the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
accountThe LinphoneAccount to associate with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_account_creation_request_token()

void linphone_account_creator_set_account_creation_request_token ( LinphoneAccountCreator creator,
const char *  token 
)

Set the account creation request token received to be used to check user validation.

Parameters
creatorLinphoneAccountCreator object
tokenThe token to set
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_activation_code()

LinphoneAccountCreatorActivationCodeStatus linphone_account_creator_set_activation_code ( LinphoneAccountCreator creator,
const char *  activation_code 
)

Set the activation code.

Parameters
creatorLinphoneAccountCreator object
activation_codeThe activation code to set
Returns
LinphoneAccountCreatorActivationCodeStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_algorithm()

LinphoneAccountCreatorAlgoStatus linphone_account_creator_set_algorithm ( LinphoneAccountCreator creator,
const char *  algorithm 
)

Set the supported algorithm.

Parameters
creatorLinphoneAccountCreator object
algorithmThe algorithm to use
Returns
LinphoneAccountCreatorAlgoStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_as_default()

LinphoneAccountCreatorStatus linphone_account_creator_set_as_default ( LinphoneAccountCreator creator,
bool_t  set_as_default 
)

Set the set_as_default property.

Parameters
creatorLinphoneAccountCreator object
set_as_defaultTRUE for the created proxy config to be set as default in LinphoneCore, FALSE otherwise
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_display_name()

LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_display_name ( LinphoneAccountCreator creator,
const char *  display_name 
)

Set the display name.

Parameters
creatorLinphoneAccountCreator object
display_nameThe display name to set
Returns
LinphoneAccountCreatorUsernameStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_domain()

LinphoneAccountCreatorDomainStatus linphone_account_creator_set_domain ( LinphoneAccountCreator creator,
const char *  domain 
)

Set the domain.

Parameters
creatorLinphoneAccountCreator object
domainThe domain to set
Returns
LinphoneAccountCreatorDomainOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_email()

LinphoneAccountCreatorEmailStatus linphone_account_creator_set_email ( LinphoneAccountCreator creator,
const char *  email 
)

Set the email.

Parameters
creatorLinphoneAccountCreator object
emailThe email to set
Returns
LinphoneAccountCreatorEmailStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_ha1()

LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_ha1 ( LinphoneAccountCreator creator,
const char *  ha1 
)

Set the ha1.

Parameters
creatorLinphoneAccountCreator object
ha1The ha1 to set
Returns
LinphoneAccountCreatorPasswordStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_language()

LinphoneAccountCreatorLanguageStatus linphone_account_creator_set_language ( LinphoneAccountCreator creator,
const char *  lang 
)

Set the language to use in email or SMS if supported.

Parameters
creatorLinphoneAccountCreator object
langThe language to use
Returns
LinphoneAccountCreatorLanguageStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_password()

LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_password ( LinphoneAccountCreator creator,
const char *  password 
)

Set the password.

Parameters
creatorLinphoneAccountCreator object
passwordThe password to set
Returns
LinphoneAccountCreatorPasswordStatusOk if everything is OK, or specific(s) error(s) otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_phone_number()

LinphoneAccountCreatorPhoneNumberStatusMask linphone_account_creator_set_phone_number ( LinphoneAccountCreator creator,
const char *  phone_number,
const char *  country_code 
)

Set the phone number normalized.

Parameters
creatorLinphoneAccountCreator object
phone_numberThe phone number to set
country_codeCountry code to associate phone number with
Returns
LinphoneAccountCreatorPhoneNumberStatusOk if everything is OK, or specific(s) error(s) otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_pn_param()

void linphone_account_creator_set_pn_param ( LinphoneAccountCreator creator,
const char *  pn_param 
)

Set the param to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
pn_paramThe pn_param to set
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_pn_prid()

void linphone_account_creator_set_pn_prid ( LinphoneAccountCreator creator,
const char *  pn_prid 
)

Set the prid to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
pn_pridThe pn_prid to set
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_pn_provider()

void linphone_account_creator_set_pn_provider ( LinphoneAccountCreator creator,
const char *  pn_provider 
)

Set the provider to be used by the backend to send the push notification to the device asking for an auth token.

Parameters
creatorLinphoneAccountCreator object
pn_providerThe pn_provider to set
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_proxy_config()

void linphone_account_creator_set_proxy_config ( LinphoneAccountCreator creator,
LinphoneProxyConfig cfg 
)

Assign a proxy config pointer to the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
cfgThe LinphoneProxyConfig to associate with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_route()

MS2_DEPRECATED LinphoneAccountCreatorStatus linphone_account_creator_set_route ( LinphoneAccountCreator creator,
const char *  route 
)

Set the route.

Parameters
creatorLinphoneAccountCreator object
routeThe route to set
Returns
LinphoneAccountCreatorStatusRequestOk if everything is OK, or a specific error otherwise.

◆ linphone_account_creator_set_token()

void linphone_account_creator_set_token ( LinphoneAccountCreator creator,
const char *  token 
)

Set the authentication token received by push notification to be used to authenticate next queries, if required.

Parameters
creatorLinphoneAccountCreator object
tokenThe token to set
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_transport()

LinphoneAccountCreatorTransportStatus linphone_account_creator_set_transport ( LinphoneAccountCreator creator,
LinphoneTransportType  transport 
)

Set Transport.

Parameters
creatorLinphoneAccountCreator object
transportThe LinphoneTransportType to set
Returns
LinphoneAccountCreatorTransportOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_user_data()

void linphone_account_creator_set_user_data ( LinphoneAccountCreator creator,
void *  user_data 
)

Assign a user pointer to the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
user_dataThe user pointer to associate with the LinphoneAccountCreator.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_set_username()

LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_username ( LinphoneAccountCreator creator,
const char *  username 
)

Set the username.

Parameters
creatorLinphoneAccountCreator object
usernameThe username to set
Returns
LinphoneAccountCreatorUsernameStatusOk if everything is OK, or a specific error otherwise.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_unref()

void linphone_account_creator_unref ( LinphoneAccountCreator creator)

Release reference to the LinphoneAccountCreator.

Parameters
creatorLinphoneAccountCreator object.
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_update_account()

LinphoneAccountCreatorStatus linphone_account_creator_update_account ( LinphoneAccountCreator creator)

Send a request to update an account.

Parameters
creatorLinphoneAccountCreator object
Returns
LinphoneAccountCreatorStatusRequestOk if the request has been sent, LinphoneAccountCreatorStatusRequestFailed otherwise
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_account_creator_use_test_admin_account()

void linphone_account_creator_use_test_admin_account ( LinphoneAccountCreator creator)

Require the account creator to use special "test admin account".

Warning
The "test admin account" is a special feature required for automated test, and requires the APP_EVERYONE_IS_ADMIN property to be enabled on the remote Flexisip Account Manager (FlexiAPI). This feature must never be turned on for a production-stage app.
Parameters
creatorLinphoneAccountCreator object
Deprecated:
11/06/2024 use LinphoneAccountManagerServices instead

◆ linphone_core_add_ldap()

void linphone_core_add_ldap ( LinphoneCore core,
LinphoneLdap ldap 
)

Add or update a LDAP server and save it to the configuration.

Parameters
coreLinphoneCore object
ldapThe LinphoneLdap object to add/update.
Deprecated:
18/11/2024 use linphone_core_add_remote_contact_directory() instead.

◆ linphone_core_add_proxy_config()

LinphoneStatus linphone_core_add_proxy_config ( LinphoneCore core,
LinphoneProxyConfig config 
)

Add a proxy configuration.

This will start registration on the proxy, if registration is enabled.

Parameters
coreLinphoneCore object
configthe LinphoneProxyConfig to add
Returns
0 if successful, -1 otherwise
Deprecated:
04/09/2024 Use linphone_core_add_account()

◆ linphone_core_clear_ldaps()

void linphone_core_clear_ldaps ( LinphoneCore core)

Erases all LDAP from the configuration.

Parameters
coreLinphoneCore object
Deprecated:
18/11/2024 use linphone_core_remove_remote_contact_directory() instead.

◆ linphone_core_clear_proxy_config()

void linphone_core_clear_proxy_config ( LinphoneCore core)

Erase all proxies from config.

Parameters
coreLinphoneCore object
Deprecated:
04/09/2024 Use linphone_core_clear_accounts()

◆ linphone_core_create_account_creator()

LinphoneAccountCreator * linphone_core_create_account_creator ( LinphoneCore core,
const char *  xmlrpc_url 
)

Creates a LinphoneAccountCreator and sets Linphone Request callbacks.

Parameters
coreThe LinphoneCore used for the XML-RPC communication
xmlrpc_urlThe URL to the XML-RPC server.
Returns
The new LinphoneAccountCreator object.
Deprecated:
04/09/2024: The LinphoneAccountCreator interface is replaced by the LinphoneAccountManagerServices interface.

◆ linphone_core_create_account_manager_services()

LinphoneAccountManagerServices * linphone_core_create_account_manager_services ( LinphoneCore core)

Creates a LinphoneAccountManagerServices.

Parameters
coreThe LinphoneCore to use
Returns
The new LinphoneAccountManagerServices object.

◆ linphone_core_create_ldap()

LinphoneLdap * linphone_core_create_ldap ( LinphoneCore core)

Creates an empty LDAP search.

linphone_ldap_set_params() must be call to save the parameters in the configuration file.

Parameters
coreLinphoneCore object
Returns
LinphoneLdap with default values set
Deprecated:
18/11/2024 use linphone_core_create_ldap_remote_contact_directory() instead.

◆ linphone_core_create_ldap_with_params()

LinphoneLdap * linphone_core_create_ldap_with_params ( LinphoneCore core,
LinphoneLdapParams params 
)

Creates a LDAP search using given parameters, adds it to the core list and stores them in the configuration file.

Parameters
coreLinphoneCore object
paramsLinphoneLdapParams object
Returns
LinphoneLdap object
Deprecated:
18/11/2024 use linphone_core_create_ldap_remote_contact_directory() instead.

◆ linphone_core_create_proxy_config()

LinphoneProxyConfig * linphone_core_create_proxy_config ( LinphoneCore core)

Create a proxy config with default values from Linphone core.

Parameters
coreLinphoneCore object
Returns
LinphoneProxyConfig with default values set
Deprecated:
04/09/2024 Use linphone_core_create_account()

◆ linphone_core_get_account_creator_backend()

LinphoneAccountCreatorBackend linphone_core_get_account_creator_backend ( const LinphoneCore core)

Gets the LinphoneAccountCreator backend set for the LinphoneCore.

Parameters
coreThe LinphoneCore
Returns
The LinphoneAccountCreatorBackend

◆ linphone_core_get_account_creator_url()

const char * linphone_core_get_account_creator_url ( LinphoneCore core)

Gets the LinphoneAccountCreator url on the LinphoneCore.

Parameters
coreThe LinphoneCore
Returns
url The URL to reach.

◆ linphone_core_get_default_proxy_config()

LinphoneProxyConfig * linphone_core_get_default_proxy_config ( const LinphoneCore core)

Returns the default proxy configuration, that is the one used to determine the current identity.

Parameters
coreLinphoneCore object
Returns
The default proxy configuration.
Deprecated:
04/09/2024 Use linphone_core_get_default_account()

◆ linphone_core_get_ldap_list()

bctbx_list_t * linphone_core_get_ldap_list ( LinphoneCore core)

Returns a list of entered LDAPs.

Items must be freed with linphone_ldap_unref()

Parameters
coreThe LinphoneCore object
Returns
Deprecated:
18/11/2024 use linphone_core_get_remote_contact_directories() instead.

◆ linphone_core_get_primary_contact_address()

LinphoneAddress * linphone_core_get_primary_contact_address ( LinphoneCore core)

Same as linphone_core_get_primary_contact() but the result is a LinphoneAddress object instead of a string.

Parameters
corethe LinphoneCore
Returns
a LinphoneAddress object.

◆ linphone_core_get_primary_contact_parsed()

MS2_DEPRECATED LinphoneAddress * linphone_core_get_primary_contact_parsed ( LinphoneCore core)

Same as linphone_core_get_primary_contact() but the result is a LinphoneAddress object instead of const char *.

Parameters
corethe LinphoneCore
Returns
a LinphoneAddress object.
Deprecated:
22/10/2018 Use linphone_core_create_primary_contact_parsed() instead.

◆ linphone_core_get_proxy_config_by_idkey()

LinphoneProxyConfig * linphone_core_get_proxy_config_by_idkey ( LinphoneCore core,
const char *  idkey 
)

Searches for a LinphoneProxyConfig by its idkey.

Parameters
corethe LinphoneCore object
idkeyAn arbitrary idkey string associated to a proxy configuration
Returns
the LinphoneProxyConfig object for the given idkey value, or NULL if none found
Deprecated:
04/09/2024 Use linphone_core_get_account_by_idkey()

◆ linphone_core_get_proxy_config_list()

const bctbx_list_t * linphone_core_get_proxy_config_list ( const LinphoneCore core)

Returns an unmodifiable list of entered proxy configurations.

Parameters
coreThe LinphoneCore object
Returns
A list of LinphoneProxyConfig.
Deprecated:
04/09/2024 Use linphone_core_get_account_list()

◆ linphone_core_remove_ldap()

void linphone_core_remove_ldap ( LinphoneCore core,
LinphoneLdap ldap 
)

Remove a LDAP from the configuration.

Parameters
coreLinphoneCore object
ldapThe LinphoneLdap object to remove.
Deprecated:
18/11/2024 use linphone_core_remove_remote_contact_directory() instead.

◆ linphone_core_remove_proxy_config()

void linphone_core_remove_proxy_config ( LinphoneCore core,
LinphoneProxyConfig config 
)

Removes a proxy configuration.

LinphoneCore will then automatically unregister and place the proxy configuration on a deleted list. For that reason, a removed proxy does NOT need to be freed.

Parameters
coreLinphoneCore object
configthe LinphoneProxyConfig to remove
Deprecated:
04/09/2024 Use linphone_core_remove_account()

◆ linphone_core_set_account_creator_backend()

void linphone_core_set_account_creator_backend ( LinphoneCore core,
LinphoneAccountCreatorBackend  backend 
)

Sets the LinphoneAccountCreator backend on the LinphoneCore.

Parameters
coreThe LinphoneCore
backendThe LinphoneAccountCreatorBackend

◆ linphone_core_set_account_creator_url()

void linphone_core_set_account_creator_url ( LinphoneCore core,
const char *  url 
)

Sets the LinphoneAccountCreator url on the LinphoneCore.

Parameters
coreThe LinphoneCore
urlThe URL to reach

◆ linphone_core_set_default_proxy_config()

void linphone_core_set_default_proxy_config ( LinphoneCore core,
LinphoneProxyConfig config 
)

Sets the default proxy.

This default proxy must be part of the list of already entered LinphoneProxyConfig. Toggling it as default will make LinphoneCore use the identity associated with the proxy configuration in all incoming and outgoing calls.

Parameters
coreLinphoneCore object
configThe proxy configuration to use as the default one.
Deprecated:
04/09/2024 Use linphone_core_set_default_account()

◆ linphone_ldap_get_core()

LinphoneCore * linphone_ldap_get_core ( LinphoneLdap ldap)

Gets the LinphoneCore object to which the LinphoneLdap is associated.

Parameters
ldapThe LinphoneLdap object.
Returns
The LinphoneCore object to which the LinphoneLdap is associated.
Deprecated:
18/11/2024 LinphoneLdap object is no longer used; use LinphoneRemoteContactDirectory instead.

◆ linphone_ldap_get_index()

int linphone_ldap_get_index ( const LinphoneLdap ldap)

Get the index of the LinphoneLdap.

Parameters
ldapThe LinphoneLdap object.
Returns
The index of the Ldap
Deprecated:
18/11/2024 LinphoneLdap object is no longer used, use LinphoneRemoteContactDirectory instead.

◆ linphone_ldap_get_params()

LinphoneLdapParams * linphone_ldap_get_params ( LinphoneLdap ldap)

Gets the LinphoneLdapParams as a read-only object.

To make changes, clone the returned object using linphone_ldap_params_clone() method, make your changes on it, and apply them using linphone_ldap_set_params().

Parameters
ldapThe LinphoneLdap object.
Returns
The LinphoneLdapParams attached to this LinphoneLdap.
Deprecated:
18/11/2024 LinphoneLdap object is no longer used; use LinphoneRemoteContactDirectory instead.

◆ linphone_ldap_new()

LinphoneLdap * linphone_ldap_new ( LinphoneCore lc)

Creates a new LinphoneLdap.

Call linphone_ldap_set_params() to store the new LDAP configuration.

Parameters
lcThe LinphoneCore object.
Returns
The newly created LinphoneLdap object.
Deprecated:
18/11/2024 LinphoneLdap object is no longer used; use LinphoneRemoteContactDirectory instead.

◆ linphone_ldap_new_with_params()

LinphoneLdap * linphone_ldap_new_with_params ( LinphoneCore lc,
LinphoneLdapParams params 
)

Creates a new LinphoneLdap, associates it with the LinphoneLdapParams, and stores it in the configuration file.

Parameters
lcThe LinphoneCore object.
paramsThe LinphoneLdapParams object.
Returns
The newly created LinphoneLdap object.
Deprecated:
18/11/2024 LinphoneLdap object is no longer used; use LinphoneRemoteContactDirectory instead.

◆ linphone_ldap_ref()

LinphoneLdap * linphone_ldap_ref ( LinphoneLdap ldap)

Takes a reference on a LinphoneLdap.

Parameters
ldapThe LinphoneLdap object.
Returns
The same LinphoneLdap object.
Deprecated:
18/11/2024 LinphoneLdap object is no longer used; use LinphoneRemoteContactDirectory instead.

◆ linphone_ldap_set_index()

void linphone_ldap_set_index ( LinphoneLdap ldap,
int  index 
)

Set the index associated to the LinphoneLdap.

Parameters
ldapThe LinphoneLdap object.
indexThe index of the Ldap. Can be -1 : it will be determined on save.
Deprecated:
18/11/2024 LinphoneLdap object is no longer used, use LinphoneRemoteContactDirectory instead.

◆ linphone_ldap_set_params()

void linphone_ldap_set_params ( LinphoneLdap ldap,
LinphoneLdapParams params 
)

Sets the LinphoneLdapParams used by this LinphoneLdap.

The parameters will be saved in the configuration file.

Parameters
ldapThe LinphoneLdap object.
paramsThe LinphoneLdapParams object.
Deprecated:
18/11/2024 LinphoneLdap object is no longer used; use LinphoneRemoteContactDirectory instead.

◆ linphone_ldap_unref()

void linphone_ldap_unref ( LinphoneLdap ldap)

Releases a LinphoneLdap.

Parameters
ldapThe LinphoneLdap object.
Deprecated:
18/11/2024 LinphoneLdap object is no longer used; use LinphoneRemoteContactDirectory instead.

◆ linphone_proxy_config_avpf_enabled()

bool_t linphone_proxy_config_avpf_enabled ( LinphoneProxyConfig proxy_config)

Indicates whether AVPF/SAVPF is being used for calls using this proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
True if AVPF/SAVPF is enabled, false otherwise.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_done()

LinphoneStatus linphone_proxy_config_done ( LinphoneProxyConfig proxy_config)

Commits modification made to the proxy configuration.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
0 if successful, -1 otherwise
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_edit()

void linphone_proxy_config_edit ( LinphoneProxyConfig proxy_config)

Starts editing a proxy configuration.

Because proxy configuration must be consistent, applications MUST call linphone_proxy_config_edit() before doing any attempts to modify proxy configuration (such as identity, proxy address and so on). Once the modifications are done, then the application must call linphone_proxy_config_done() to commit the changes.

Parameters
proxy_configLinphoneProxyConfig object.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_enable_publish()

void linphone_proxy_config_enable_publish ( LinphoneProxyConfig proxy_config,
bool_t  enable 
)

Indicates either or not, PUBLISH must be issued for this LinphoneProxyConfig.

In case this LinphoneProxyConfig has been added to LinphoneCore, follows the linphone_proxy_config_edit() rule.

Parameters
proxy_configLinphoneProxyConfig object.
enableif TRUE, publish will be engaged
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_enable_quality_reporting()

void linphone_proxy_config_enable_quality_reporting ( LinphoneProxyConfig proxy_config,
bool_t  enable 
)

Indicates whether quality statistics during call should be stored and sent to a collector according to RFC 6035.

Parameters
proxy_configLinphoneProxyConfig object.
enableTrue to store quality statistics and send them to the collector, false to disable it.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_enable_register()

void linphone_proxy_config_enable_register ( LinphoneProxyConfig proxy_config,
bool_t  enable 
)

Indicates either or not, REGISTRATION must be issued for this LinphoneProxyConfig.

In case this LinphoneProxyConfig has been added to LinphoneCore, follows the linphone_proxy_config_edit() rule.

Parameters
proxy_configLinphoneProxyConfig object.
enableif true, registration will be engaged
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_find_auth_info()

const LinphoneAuthInfo * linphone_proxy_config_find_auth_info ( const LinphoneProxyConfig proxy_config)

Find authentication info matching proxy config, if any, similarly to linphone_core_find_auth_info.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
a LinphoneAuthInfo matching proxy config criteria if possible, NULL if nothing can be found.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_avpf_mode()

LinphoneAVPFMode linphone_proxy_config_get_avpf_mode ( const LinphoneProxyConfig proxy_config)

Get enablement status of RTCP feedback (also known as AVPF profile).

Parameters
proxy_configLinphoneProxyConfig object.
Returns
the enablement mode, which can be LinphoneAVPFDefault (use LinphoneCore's mode), LinphoneAVPFEnabled (avpf is enabled), or LinphoneAVPFDisabled (disabled).
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_avpf_rr_interval()

uint8_t linphone_proxy_config_get_avpf_rr_interval ( const LinphoneProxyConfig proxy_config)

Get the interval between regular RTCP reports when using AVPF/SAVPF.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The interval in seconds.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_conference_factory_uri()

const char * linphone_proxy_config_get_conference_factory_uri ( const LinphoneProxyConfig proxy_config)

Get the conference factory uri.

Parameters
proxy_configA LinphoneProxyConfig object
Returns
The uri of the conference factory.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_contact()

const LinphoneAddress * linphone_proxy_config_get_contact ( const LinphoneProxyConfig proxy_config)

Return the contact address of the proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
a LinphoneAddress correspong to the contact address of the proxy config.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_contact_parameters()

const char * linphone_proxy_config_get_contact_parameters ( const LinphoneProxyConfig proxy_config)

Returns the contact parameters.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
previously set contact parameters.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_contact_uri_parameters()

const char * linphone_proxy_config_get_contact_uri_parameters ( const LinphoneProxyConfig proxy_config)

Returns the contact URI parameters.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
previously set contact URI parameters.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_core()

LinphoneCore * linphone_proxy_config_get_core ( const LinphoneProxyConfig proxy_config)

Get the LinphoneCore object to which is associated the LinphoneProxyConfig.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The LinphoneCore object to which is associated the LinphoneProxyConfig.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_custom_header()

const char * linphone_proxy_config_get_custom_header ( LinphoneProxyConfig proxy_config,
const char *  header_name 
)

Obtain the value of a header sent by the server in last answer to REGISTER.

Parameters
proxy_configLinphoneProxyConfig object.
header_namethe header name for which to fetch corresponding value
Returns
the value of the queried header.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_dependency()

LinphoneProxyConfig * linphone_proxy_config_get_dependency ( LinphoneProxyConfig proxy_config)

Get the dependency of a LinphoneProxyConfig.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The proxy config this one is dependent upon, or NULL if not marked dependent.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_dial_escape_plus()

bool_t linphone_proxy_config_get_dial_escape_plus ( const LinphoneProxyConfig proxy_config)

Returns whether or not the + should be replaced by 00.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
whether liblinphone should replace "+" by "00" in dialed numbers (passed to linphone_core_invite()).
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_dial_prefix()

const char * linphone_proxy_config_get_dial_prefix ( const LinphoneProxyConfig proxy_config)

Gets the prefix set for this proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
dialing prefix.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_domain()

const char * linphone_proxy_config_get_domain ( const LinphoneProxyConfig proxy_config)

Get the domain name of the given proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The domain name of the proxy config.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_error()

LinphoneReason linphone_proxy_config_get_error ( const LinphoneProxyConfig proxy_config)

Get the reason why registration failed when the proxy config state is LinphoneRegistrationFailed.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The LinphoneReason why registration failed for this proxy config.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_error_info()

const LinphoneErrorInfo * linphone_proxy_config_get_error_info ( const LinphoneProxyConfig proxy_config)

Get detailed information why registration failed when the proxy config state is LinphoneRegistrationFailed.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The LinphoneErrorInfo explaining why registration failed for this proxy config.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_expires()

int linphone_proxy_config_get_expires ( const LinphoneProxyConfig proxy_config)

Gets the proxy config expires.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
the duration of registration.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_file_transfer_server()

const char * linphone_proxy_config_get_file_transfer_server ( const LinphoneProxyConfig proxy_config)

Gets the HTTP file transfer server to be used for content type application/vnd.gsma.rcs-ft-http+xml.

URL may be like: "https://file.linphone.org/upload.php".

Parameters
proxy_configLinphoneProxyConfig object.
Returns
URL of the file server.
Warning
This function isn't implemented yet.

◆ linphone_proxy_config_get_identity()

MS2_DEPRECATED const char * linphone_proxy_config_get_identity ( const LinphoneProxyConfig cfg)

◆ linphone_proxy_config_get_identity_address()

const LinphoneAddress * linphone_proxy_config_get_identity_address ( const LinphoneProxyConfig proxy_config)

Gets the identity addres of the proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
the SIP identity that belongs to this proxy configuration.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_idkey()

const char * linphone_proxy_config_get_idkey ( LinphoneProxyConfig proxy_config)

Get the idkey property of a LinphoneProxyConfig.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The idkey string, or NULL.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_nat_policy()

LinphoneNatPolicy * linphone_proxy_config_get_nat_policy ( const LinphoneProxyConfig proxy_config)

Get The policy that is used to pass through NATs/firewalls when using this proxy config.

If it is set to NULL, the default NAT policy from the core will be used instead.

Parameters
proxy_configLinphoneProxyConfig object
Returns
LinphoneNatPolicy object in use.
See also
linphone_core_get_nat_policy()
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_privacy()

LinphonePrivacyMask linphone_proxy_config_get_privacy ( const LinphoneProxyConfig proxy_config)

Get default privacy policy for all calls routed through this proxy.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
Privacy mode as LinphonePrivacyMask
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_publish_expires()

int linphone_proxy_config_get_publish_expires ( const LinphoneProxyConfig proxy_config)

get the publish expiration time in second.

Default value is the registration expiration value.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
expires in second
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_push_notification_config()

LinphonePushNotificationConfig * linphone_proxy_config_get_push_notification_config ( const LinphoneProxyConfig cfg)

Retrieves the push notification configuration.

Parameters
cfgLinphoneProxyConfig object.
Returns
The LinphonePushNotificationConfig.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_quality_reporting_collector()

const char * linphone_proxy_config_get_quality_reporting_collector ( const LinphoneProxyConfig proxy_config)

Get the route of the collector end-point when using quality reporting.

This SIP address should be used on server-side to process packets directly before discarding packets. Collector address should be a non existing account and will not receive any messages. If NULL, reports will be send to the proxy domain.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The SIP address of the collector end-point.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_quality_reporting_interval()

int linphone_proxy_config_get_quality_reporting_interval ( LinphoneProxyConfig proxy_config)

Get the interval between interval reports when using quality reporting.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The interval in seconds, 0 means interval reports are disabled.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_realm()

const char * linphone_proxy_config_get_realm ( const LinphoneProxyConfig proxy_config)

Get the realm of the given proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The realm of the proxy config.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_ref_key()

const char * linphone_proxy_config_get_ref_key ( const LinphoneProxyConfig proxy_config)

Get the persistent reference key associated to the proxy config.

The reference key can be for example an id to an external database. It is stored in the config file, thus can survive to process exits/restarts.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The reference key string that has been associated to the proxy config, or NULL if none has been associated.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_route()

MS2_DEPRECATED const char * linphone_proxy_config_get_route ( const LinphoneProxyConfig proxy_config)
Returns
the route set for this proxy configuration.
Deprecated:
09/03/2018 Use linphone_proxy_config_get_routes() instead.

◆ linphone_proxy_config_get_routes()

const bctbx_list_t * linphone_proxy_config_get_routes ( const LinphoneProxyConfig proxy_config)

Gets the list of the routes set for this proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The list of routes as string.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_server_addr()

const char * linphone_proxy_config_get_server_addr ( const LinphoneProxyConfig proxy_config)

Gets the proxy config proxy address.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
the proxy's SIP address.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_state()

LinphoneRegistrationState linphone_proxy_config_get_state ( const LinphoneProxyConfig proxy_config)

Get the registration state of the given proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The LinphoneRegistrationState of the proxy config.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_transport()

const char * linphone_proxy_config_get_transport ( const LinphoneProxyConfig proxy_config)

Get the transport from either service route, route or addr.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The transport as a string (I.E udp, tcp, tls, dtls)
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_unread_chat_message_count()

int linphone_proxy_config_get_unread_chat_message_count ( const LinphoneProxyConfig proxy_config)

Return the unread chat message count for a given proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The unread chat message count.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_get_user_data()

void * linphone_proxy_config_get_user_data ( const LinphoneProxyConfig proxy_config)

Retrieve the user pointer associated with the proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The user pointer associated with the proxy config.

◆ linphone_proxy_config_is_push_notification_allowed()

bool_t linphone_proxy_config_is_push_notification_allowed ( const LinphoneProxyConfig proxy_config)

Indicates whether to add to the contact parameters the push notification information.

For IOS, it indicates to VOIP push notification.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
TRUE if push notification informations should be added, FALSE otherwise.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_is_push_notification_available()

bool_t linphone_proxy_config_is_push_notification_available ( const LinphoneProxyConfig proxy_config)

Gets whether push notifications are available or not (Android & iOS only).

Parameters
proxy_configLinphoneProxyConfig object.
Returns
TRUE if push notifications are available, FALSE otherwise
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_is_remote_push_notification_allowed()

bool_t linphone_proxy_config_is_remote_push_notification_allowed ( const LinphoneProxyConfig proxy_config)

Indicates whether to add to the contact parameters the remote push notification information (IOS only).

Default value is FALSE.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
TRUE if remote push notification informations should be added, FALSE otherwise.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_normalize_phone_number()

char * linphone_proxy_config_normalize_phone_number ( LinphoneProxyConfig proxy_config,
const char *  username 
)

Normalize a human readable phone number into a basic string.

888-444-222 becomes 888444222 or +33888444222 depending on the LinphoneProxyConfig object. This function will always generate a normalized username if input is a phone number.

Parameters
proxy_configLinphoneProxyConfig object containing country code and/or escape symbol. If NULL passed, will use default configuration.
usernamethe string to parse
Returns
NULL if input is an invalid phone number, normalized phone number from username input otherwise.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_normalize_sip_uri()

LinphoneAddress * linphone_proxy_config_normalize_sip_uri ( LinphoneProxyConfig proxy_config,
const char *  username 
)

Normalize a human readable sip uri into a fully qualified LinphoneAddress.

A sip address should look like DisplayName <sip:username@domain:port> . Basically this function performs the following tasks

  • if a phone number is entered, prepend country prefix and eventually escape the '+' by 00 of the proxy config.
  • if no domain part is supplied, append the domain name of the proxy config. Returns NULL if no proxy is provided at this point.
  • if no sip: is present, prepend it.

The result is a syntactically correct SIP address.

Parameters
proxy_configLinphoneProxyConfig object containing country code, escape symbol and/or domain name. Can be NULL if domain is already provided.
usernamethe string to parse
Returns
NULL if invalid input, normalized sip address otherwise.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_pause_register()

void linphone_proxy_config_pause_register ( LinphoneProxyConfig proxy_config)

Prevent a proxy config from refreshing its registration.

This is useful to let registrations to expire naturally (or) when the application wants to keep control on when refreshes are sent. However, linphone_core_set_network_reachable(lc,TRUE) will always request the proxy configs to refresh their registrations. The refreshing operations can be resumed with linphone_proxy_config_refresh_register().

Parameters
proxy_configLinphoneProxyConfig object.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_publish_enabled()

bool_t linphone_proxy_config_publish_enabled ( const LinphoneProxyConfig proxy_config)

Gets if the PUBLISH is enabled.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
TRUE if PUBLISH request is enabled for this proxy.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_quality_reporting_enabled()

bool_t linphone_proxy_config_quality_reporting_enabled ( LinphoneProxyConfig proxy_config)

Indicates whether quality statistics during call should be stored and sent to a collector according to RFC 6035.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
True if quality repotring is enabled, false otherwise.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_ref()

LinphoneProxyConfig * linphone_proxy_config_ref ( LinphoneProxyConfig proxy_config)

Acquire a reference to the proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
The same proxy config.

◆ linphone_proxy_config_refresh_register()

void linphone_proxy_config_refresh_register ( LinphoneProxyConfig proxy_config)

Refresh a proxy registration.

This is useful if for example you resuming from suspend, thus IP address may have changed.

Parameters
proxy_configLinphoneProxyConfig object.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_register_enabled()

bool_t linphone_proxy_config_register_enabled ( const LinphoneProxyConfig proxy_config)

Returns whether the proxy config is enabled or not.

Parameters
proxy_configLinphoneProxyConfig object.
Returns
TRUE if registration to the proxy is enabled.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_avpf_mode()

void linphone_proxy_config_set_avpf_mode ( LinphoneProxyConfig proxy_config,
LinphoneAVPFMode  mode 
)

Enable the use of RTCP feedback (also known as AVPF profile).

Parameters
proxy_configLinphoneProxyConfig object.
modethe enablement mode, which can be LinphoneAVPFDefault (use LinphoneCore's mode), LinphoneAVPFEnabled (avpf is enabled), or LinphoneAVPFDisabled (disabled).
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_avpf_rr_interval()

void linphone_proxy_config_set_avpf_rr_interval ( LinphoneProxyConfig proxy_config,
uint8_t  interval 
)

Set the interval between regular RTCP reports when using AVPF/SAVPF.

Parameters
proxy_configLinphoneProxyConfig object.
intervalThe interval in seconds (between 0 and 5 seconds).
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_conference_factory_uri()

void linphone_proxy_config_set_conference_factory_uri ( LinphoneProxyConfig proxy_config,
const char *  uri 
)

Set the conference factory uri.

Parameters
proxy_configA LinphoneProxyConfig object
uriThe uri of the conference factory.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_contact_parameters()

void linphone_proxy_config_set_contact_parameters ( LinphoneProxyConfig proxy_config,
const char *  contact_params 
)

Set optional contact parameters that will be added to the contact information sent in the registration.

Parameters
proxy_configLinphoneProxyConfig object.
contact_paramsa string contaning the additional parameters in text form, like "myparam=something;myparam2=something_else"

The main use case for this function is provide the proxy additional information regarding the user agent, like for example unique identifier or apple push id. As an example, the contact address in the SIP register sent will look like <sip:joe@1.nosp@m.5.12.nosp@m.8.128.nosp@m..93:50421>;apple-push-id=43143-DFE23F-2323-FA2232.

Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_contact_uri_parameters()

void linphone_proxy_config_set_contact_uri_parameters ( LinphoneProxyConfig proxy_config,
const char *  contact_uri_params 
)

Set optional contact parameters that will be added to the contact information sent in the registration, inside the URI.

Parameters
proxy_configLinphoneProxyConfig object.
contact_uri_paramsa string containing the additional parameters in text form, like "myparam=something;myparam2=something_else"

The main use case for this function is provide the proxy additional information regarding the user agent, like for example unique identifier or apple push id. As an example, the contact address in the SIP register sent will look like <sip:joe@1.nosp@m.5.12.nosp@m.8.128.nosp@m..93:50421;apple-push-id=43143-DFE23F-2323-FA2232>.

Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_custom_header()

void linphone_proxy_config_set_custom_header ( LinphoneProxyConfig proxy_config,
const char *  header_name,
const char *  header_value 
)

Set the value of a custom header sent to the server in REGISTERs request.

Parameters
proxy_configLinphoneProxyConfig object.
header_namethe header name
header_valuethe header's value
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_dependency()

void linphone_proxy_config_set_dependency ( LinphoneProxyConfig proxy_config,
LinphoneProxyConfig depends_on 
)

Mark this proxy configuration as being dependent on the given one.

The dependency must refer to a proxy config previously added to the core and which idkey property is defined.

See also
linphone_proxy_config_set_idkey()

The proxy configuration marked as dependent will wait for successful registration on its dependency before triggering its own.

Once registered, both proxy configurations will share the same contact address (the 'dependency' one).

This mecanism must be enabled before the proxy configuration is added to the core

Parameters
proxy_configLinphoneProxyConfig object.
depends_onThe LinphoneProxyConfig this one shall be depend on.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_dial_escape_plus()

void linphone_proxy_config_set_dial_escape_plus ( LinphoneProxyConfig proxy_config,
bool_t  enable 
)

Sets whether liblinphone should replace "+" by international calling prefix in dialed numbers (passed to linphone_core_invite() ).

Parameters
proxy_configLinphoneProxyConfig object.
enableTRUE to replace + by the international prefix, FALSE otherwise.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_dial_prefix()

void linphone_proxy_config_set_dial_prefix ( LinphoneProxyConfig proxy_config,
const char *  prefix 
)

Sets a dialing prefix to be automatically prepended when inviting a number with linphone_core_invite(); This dialing prefix shall usually be the country code of the country where the user is living, without "+".

Parameters
proxy_configLinphoneProxyConfig object.
prefixthe prefix to set (withouth the +)
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_expires()

void linphone_proxy_config_set_expires ( LinphoneProxyConfig proxy_config,
int  expires 
)

Sets the registration expiration time in seconds.

Parameters
proxy_configLinphoneProxyConfig object.
expiresthe expiration time to set
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_file_transfer_server()

void linphone_proxy_config_set_file_transfer_server ( LinphoneProxyConfig proxy_config,
const char *  server_url 
)

Sets the HTTP file transfer server to be used for content type application/vnd.gsma.rcs-ft-http+xml.

URL may be like: "https://file.linphone.org/upload.php".

Parameters
proxy_configLinphoneProxyConfig object.
server_urlURL of the file server.
Warning
This function isn't implemented yet.

◆ linphone_proxy_config_set_identity_address()

LinphoneStatus linphone_proxy_config_set_identity_address ( LinphoneProxyConfig proxy_config,
LinphoneAddress identity 
)

Sets the user identity as a SIP address.

This identity is normally formed with display name, username and domain, such as: Alice <sip:alice.nosp@m.@exa.nosp@m.mple..nosp@m.net> The REGISTER messages will have from and to set to this identity.

Parameters
proxy_configLinphoneProxyConfig object.
identitythe LinphoneAddress of the identity to set
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_idkey()

void linphone_proxy_config_set_idkey ( LinphoneProxyConfig proxy_config,
const char *  idkey 
)

Set the idkey property on the given proxy configuration.

This property can the be referenced by another proxy config 'depends_on' to create a dependency relation between them.

See also
linphone_proxy_config_set_depends_on()
Parameters
proxy_configLinphoneProxyConfig object.
idkeyThe idkey string to associate to the given LinphoneProxyConfig.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_nat_policy()

void linphone_proxy_config_set_nat_policy ( LinphoneProxyConfig proxy_config,
LinphoneNatPolicy policy 
)

Set the policy to use to pass through NATs/firewalls when using this proxy config.

If it is set to NULL, the default NAT policy from the core will be used instead.

Parameters
proxy_configLinphoneProxyConfig object
policyLinphoneNatPolicy object.
See also
linphone_core_set_nat_policy()
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_privacy()

void linphone_proxy_config_set_privacy ( LinphoneProxyConfig proxy_config,
LinphonePrivacyMask  privacy 
)

Set default privacy policy for all calls routed through this proxy.

Parameters
proxy_configLinphoneProxyConfig object.
privacyLinphonePrivacy to configure privacy
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_publish_expires()

void linphone_proxy_config_set_publish_expires ( LinphoneProxyConfig proxy_config,
int  expires 
)

Set the publish expiration time in second.

Parameters
proxy_configLinphoneProxyConfig object.
expiresin second
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_push_notification_allowed()

void linphone_proxy_config_set_push_notification_allowed ( LinphoneProxyConfig proxy_config,
bool_t  allow 
)

Indicates whether to add to the contact parameters the push notification information.

For IOS, it indicates to VOIP push notification.

Parameters
proxy_configLinphoneProxyConfig object.
allowTRUE to allow push notification information, FALSE otherwise.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_push_notification_config()

void linphone_proxy_config_set_push_notification_config ( LinphoneProxyConfig cfg,
LinphonePushNotificationConfig push_cfg 
)

Sets the push notification configuration.

Parameters
cfgLinphoneProxyConfig object.
push_cfgLinphonePushNotificationConfig to set.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_quality_reporting_collector()

void linphone_proxy_config_set_quality_reporting_collector ( LinphoneProxyConfig proxy_config,
const char *  collector 
)

Set the route of the collector end-point when using quality reporting.

This SIP address should be used on server-side to process packets directly before discarding packets. Collector address should be a non existing account and will not receive any messages. If NULL, reports will be send to the proxy domain.

Parameters
proxy_configLinphoneProxyConfig object.
collectorroute of the collector end-point, if NULL PUBLISH will be sent to the proxy domain.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_quality_reporting_interval()

void linphone_proxy_config_set_quality_reporting_interval ( LinphoneProxyConfig proxy_config,
int  interval 
)

Set the interval between 2 interval reports sending when using quality reporting.

If call exceed interval size, an interval report will be sent to the collector. On call termination, a session report will be sent for the remaining period. Value must be 0 (disabled) or positive.

Parameters
proxy_configLinphoneProxyConfig object.
intervalThe interval in seconds, 0 means interval reports are disabled.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_realm()

void linphone_proxy_config_set_realm ( LinphoneProxyConfig proxy_config,
const char *  realm 
)

Set the realm of the given proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
realmNew realm value.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_ref_key()

void linphone_proxy_config_set_ref_key ( LinphoneProxyConfig proxy_config,
const char *  refkey 
)

Associate a persistent reference key to the proxy config.

The reference key can be for example an id to an external database. It is stored in the config file, thus can survive to process exits/restarts.

Parameters
proxy_configLinphoneProxyConfig object.
refkeyThe reference key string to associate to the proxy config.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_remote_push_notification_allowed()

void linphone_proxy_config_set_remote_push_notification_allowed ( LinphoneProxyConfig proxy_config,
bool_t  allow 
)

Indicates whether to add to the contact parameters the remote push notification information (IOS only).

Parameters
proxy_configLinphoneProxyConfig object.
allowTRUE to allow remote push notification information, FALSE otherwise.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_route()

MS2_DEPRECATED LinphoneStatus linphone_proxy_config_set_route ( LinphoneProxyConfig proxy_config,
const char *  route 
)

Sets a SIP route.

When a route is set, all outgoing calls will go to the route's destination if this proxy is the default one (see linphone_core_set_default_proxy_config() ).

Parameters
proxy_configLinphoneProxyConfig object.
routethe SIP route to set
Returns
-1 if route is invalid, 0 otherwise.
Deprecated:
08/07/2020 use linphone_proxy_config_set_routes() instead

◆ linphone_proxy_config_set_routes()

LinphoneStatus linphone_proxy_config_set_routes ( LinphoneProxyConfig proxy_config,
const bctbx_list_t *  routes 
)

Sets a list of SIP route.

When a route is set, all outgoing calls will go to the route's destination if this proxy is the default one (see linphone_core_set_default_proxy_config() ).

Parameters
proxy_configthe LinphoneProxyConfig
routesA of routes
Returns
-1 if routes are invalid, 0 otherwise.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_server_addr()

LinphoneStatus linphone_proxy_config_set_server_addr ( LinphoneProxyConfig proxy_config,
const char *  server_address 
)

Sets the proxy address.

Examples of valid sip proxy address are:

  • IP address: sip:87.98.157.38
  • IP address with port: sip:87.98.157.38:5062
  • hostnames : sip:sip.example.net
Parameters
proxy_configLinphoneProxyConfig object.
server_addressthe proxy address to set.
Deprecated:
06/04/2020 Use LinphoneAccount object instead

◆ linphone_proxy_config_set_user_data()

void linphone_proxy_config_set_user_data ( LinphoneProxyConfig proxy_config,
void *  user_data 
)

Assign a user pointer to the proxy config.

Parameters
proxy_configLinphoneProxyConfig object.
user_dataThe user pointer to associate with the proxy config.

◆ linphone_proxy_config_unref()

void linphone_proxy_config_unref ( LinphoneProxyConfig proxy_config)

Release reference to the proxy config.

Parameters
proxy_configLinphoneProxyConfig object.