|
Liblinphone 5.5.0
|
Typedefs | |
| typedef void(* | LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *response) |
| 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 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 |
| typedef void(* LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *response) |
Callback to notify a response of server.
| creator | LinphoneAccountCreator object |
| status | The status of the LinphoneAccountCreator test existence operation that has just finished |
| response | The response has a string |
| typedef struct _LinphoneAccountCreatorService LinphoneAccountCreatorService |
An object to define a LinphoneAccountCreator service.
| typedef struct _LinphoneAccountManagerServices LinphoneAccountManagerServices |
Creates and manage SIP user accounts remotely, using the REST API of the Flexisip Account Manager.
| typedef void(* LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb) (const LinphoneAccountManagerServicesRequest *request, const bctbx_list_t *devices_list) |
Callback for notifying when a request has results available.
| request | LinphoneAccountManagerServicesRequest object. |
| devices_list | the of fetched devices. |
| typedef void(* LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb) (const LinphoneAccountManagerServicesRequest *request, int status_code, const char *error_message, const LinphoneDictionary *parameter_errors) |
Callback for notifying a request has failed.
| request | LinphoneAccountManagerServicesRequest object. |
| status_code | The error status code. |
| error_message | An error message, if any. |
| parameter_errors | A LinphoneDictionary with parameter specific errors, if any. |
| typedef void(* LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb) (const LinphoneAccountManagerServicesRequest *request, const char *data) |
Callback for notifying a request was successful.
| request | LinphoneAccountManagerServicesRequest object. |
| data | any relevant data depending on the request (for example SIP identity for account creation). |
Enum describing activation code checking, used by the LinphoneAccountCreator.
Enum describing algorithm checking, used by the LinphoneAccountCreator.
| Enumerator | |
|---|---|
| LinphoneAccountCreatorAlgoStatusOk | Algorithm ok. |
| LinphoneAccountCreatorAlgoStatusNotSupported | Algorithm not supported. |
Enum describing backend used in the LinphoneAccountCreator.
| Enumerator | |
|---|---|
| LinphoneAccountCreatorBackendXMLRPC | XMLRPC Backend. |
| LinphoneAccountCreatorBackendFlexiAPI | FlexiAPI Backend. |
Enum describing domain checking, used by the LinphoneAccountCreator.
| Enumerator | |
|---|---|
| LinphoneAccountCreatorDomainOk | Domain ok. |
| LinphoneAccountCreatorDomainInvalid | Domain invalid. |
Enum describing email checking, used by the LinphoneAccountCreator.
| Enumerator | |
|---|---|
| LinphoneAccountCreatorEmailStatusOk | Email ok. |
| LinphoneAccountCreatorEmailStatusMalformed | Email malformed. |
| LinphoneAccountCreatorEmailStatusInvalidCharacters | Contain invalid characters. |
Enum describing language checking, used by the LinphoneAccountCreator.
| Enumerator | |
|---|---|
| LinphoneAccountCreatorLanguageStatusOk | Language ok. |
Enum describing password checking, used by the LinphoneAccountCreator.
Enum describing phone number checking, used by the LinphoneAccountCreator.
Enum describing transport checking, used by the LinphoneAccountCreator.
| Enumerator | |
|---|---|
| LinphoneAccountCreatorTransportOk | Transport ok. |
| LinphoneAccountCreatorTransportUnsupported | Transport invalid. |
Enum describing username checking, used by the LinphoneAccountCreator.
List of all supported LinphoneAccountManagerServicesRequest requests, allowing to know which one triggered either a callback from the LinphoneAccountManagerServicesRequestCbs.
| LinphoneAccountCreatorStatus linphone_account_creator_activate_account | ( | LinphoneAccountCreator * | creator | ) |
Send a request to activate an account on server.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorStatus linphone_account_creator_activate_alias | ( | LinphoneAccountCreator * | creator | ) |
Send a request to activate an alias.
| creator | LinphoneAccountCreator object |
| void linphone_account_creator_add_callbacks | ( | LinphoneAccountCreator * | creator, |
| LinphoneAccountCreatorCbs * | cbs | ||
| ) |
Add the LinphoneAccountCreatorCbs object to a LinphoneAccountCreator.
| creator | LinphoneAccountCreator object |
| cbs | The LinphoneAccountCreatorCbs object to add to the LinphoneAccountCreator. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_account_creation_request_token | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the callback on account creation request token.
In response:
| cbs | LinphoneAccountCreatorCbs object. |
| 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:
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_account | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the activate account request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_activate_alias | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the activate alias request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_create_account | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the create account request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_activated | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the is account activated request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_exist | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the is account exist request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_account_linked | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the is account linked request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_is_alias_used | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the is alias used request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_link_account | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the link account request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_login_linphone_account | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the login linphone account request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_recover_account | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the recover account request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_send_token | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the activate account request.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbsStatusCb linphone_account_creator_cbs_get_update_account | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Get the update account request.
| cbs | LinphoneAccountCreatorCbs object. |
| void * linphone_account_creator_cbs_get_user_data | ( | const LinphoneAccountCreatorCbs * | cbs | ) |
Retrieve the user pointer associated with a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| LinphoneAccountCreatorCbs * linphone_account_creator_cbs_ref | ( | LinphoneAccountCreatorCbs * | cbs | ) |
Acquire a reference to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| void linphone_account_creator_cbs_set_account_creation_request_token | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The request token callback used. |
| void linphone_account_creator_cbs_set_account_creation_token_using_request_token | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The token callback used. |
| void linphone_account_creator_cbs_set_activate_account | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The activate account request to be used. |
| void linphone_account_creator_cbs_set_activate_alias | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The activate alias request to be used. |
| void linphone_account_creator_cbs_set_create_account | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The create account request to be used. |
| void linphone_account_creator_cbs_set_is_account_activated | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The is account activated request to be used. |
| void linphone_account_creator_cbs_set_is_account_exist | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The is account exist request to be used. |
| void linphone_account_creator_cbs_set_is_account_linked | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The is account linked request to be used. |
| void linphone_account_creator_cbs_set_is_alias_used | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The is alias used request to be used. |
| void linphone_account_creator_cbs_set_link_account | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The link account request to be used. |
| void linphone_account_creator_cbs_set_login_linphone_account | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The login linphone account request to be used. |
| void linphone_account_creator_cbs_set_recover_account | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The recover account request to be used. |
| void linphone_account_creator_cbs_set_send_token | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The send token request used. |
| void linphone_account_creator_cbs_set_update_account | ( | LinphoneAccountCreatorCbs * | cbs, |
| LinphoneAccountCreatorCbsStatusCb | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| cb | The update account request to be used. |
| void linphone_account_creator_cbs_set_user_data | ( | LinphoneAccountCreatorCbs * | cbs, |
| void * | user_data | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| user_data | The user pointer to associate with the LinphoneAccountCreatorCbs object. |
| void linphone_account_creator_cbs_unref | ( | LinphoneAccountCreatorCbs * | cbs | ) |
Release a reference to a LinphoneAccountCreatorCbs object.
| cbs | LinphoneAccountCreatorCbs object. |
| MS2_DEPRECATED LinphoneProxyConfig * linphone_account_creator_configure | ( | const LinphoneAccountCreator * | creator | ) |
Configure an account (create a proxy config and authentication info for it).
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreator * linphone_account_creator_create | ( | LinphoneCore * | core | ) |
Create a LinphoneAccountCreator and set Linphone Request callbacks.
| core | The LinphoneCore used for the XML-RPC communication |
| LinphoneAccountCreatorStatus linphone_account_creator_create_account | ( | LinphoneAccountCreator * | creator | ) |
Send a request to create an account on server.
| creator | LinphoneAccountCreator object |
| 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.
| creator | LinphoneAccountCreator object |
| LinphoneProxyConfig * linphone_account_creator_create_proxy_config | ( | const LinphoneAccountCreator * | creator | ) |
Create and configure a proxy config and a authentication info for an account creator.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorStatus linphone_account_creator_create_push_account | ( | LinphoneAccountCreator * | creator | ) |
Send a request to create a push account on server.
Push accounts are used in account dependent situation when account cannot send push notifications. A username and password are automatically generated, an account is automatically activated.
| creator | LinphoneAccountCreator object |
| 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.
| creator | LinphoneAccountCreator object |
| const char * linphone_account_creator_get_activation_code | ( | const LinphoneAccountCreator * | creator | ) |
Get the activation code.
| creator | LinphoneAccountCreator object |
| const char * linphone_account_creator_get_algorithm | ( | const LinphoneAccountCreator * | creator | ) |
Get the algorithm configured in the account creator.
| creator | LinphoneAccountCreator object |
| MS2_DEPRECATED LinphoneAccountCreatorCbs * linphone_account_creator_get_callbacks | ( | const LinphoneAccountCreator * | creator | ) |
Get the LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorCbs * linphone_account_creator_get_current_callbacks | ( | const LinphoneAccountCreator * | creator | ) |
Get the current LinphoneAccountCreatorCbs object associated with a LinphoneAccountCreator.
| creator | LinphoneAccountCreator object |
| const char * linphone_account_creator_get_display_name | ( | const LinphoneAccountCreator * | creator | ) |
Get the display name.
| creator | LinphoneAccountCreator object |
| const char * linphone_account_creator_get_domain | ( | const LinphoneAccountCreator * | creator | ) |
Get the domain.
| creator | LinphoneAccountCreator object |
| const char * linphone_account_creator_get_email | ( | const LinphoneAccountCreator * | creator | ) |
Get the email.
| creator | LinphoneAccountCreator object |
| const char * linphone_account_creator_get_ha1 | ( | const LinphoneAccountCreator * | creator | ) |
Get the ha1.
| creator | LinphoneAccountCreator object |
| const char * linphone_account_creator_get_language | ( | const LinphoneAccountCreator * | creator | ) |
Get the language use in email of SMS.
| creator | LinphoneAccountCreator object |
| const char * linphone_account_creator_get_password | ( | const LinphoneAccountCreator * | creator | ) |
Get the password.
| creator | LinphoneAccountCreator object |
| const char * linphone_account_creator_get_phone_country_code | ( | const LinphoneAccountCreator * | creator | ) |
Get the international prefix.
| creator | LinphoneAccountCreator object |
| const char * linphone_account_creator_get_phone_number | ( | const LinphoneAccountCreator * | creator | ) |
Get the RFC 3966 normalized phone number.
| creator | LinphoneAccountCreator object |
| 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.
| creator | LinphoneAccountCreator object |
| 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.
| creator | LinphoneAccountCreator object |
| 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.
| creator | LinphoneAccountCreator object |
| MS2_DEPRECATED const char * linphone_account_creator_get_route | ( | const LinphoneAccountCreator * | creator | ) |
Get the route.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorService * linphone_account_creator_get_service | ( | const LinphoneAccountCreator * | creator | ) |
Get the LinphoneAccountCreatorService object associated with a LinphoneAccountCreator.
| creator | LinphoneAccountCreator object |
| bool_t linphone_account_creator_get_set_as_default | ( | const LinphoneAccountCreator * | creator | ) |
Get the set_as_default property.
| creator | LinphoneAccountCreator object |
| 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.
| creator | LinphoneAccountCreator object |
| LinphoneTransportType linphone_account_creator_get_transport | ( | const LinphoneAccountCreator * | creator | ) |
Get Transport.
| creator | LinphoneAccountCreator object |
| void * linphone_account_creator_get_user_data | ( | const LinphoneAccountCreator * | creator | ) |
Retrieve the user pointer associated with the LinphoneAccountCreator.
| creator | LinphoneAccountCreator object. |
| const char * linphone_account_creator_get_username | ( | const LinphoneAccountCreator * | creator | ) |
Get the username.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorStatus linphone_account_creator_is_account_activated | ( | LinphoneAccountCreator * | creator | ) |
Send a request to know if an account is activated on server.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorStatus linphone_account_creator_is_account_exist | ( | LinphoneAccountCreator * | creator | ) |
Send a request to know the existence of account on server.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorStatus linphone_account_creator_is_account_linked | ( | LinphoneAccountCreator * | creator | ) |
Send a request to know if an account is linked.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorStatus linphone_account_creator_is_alias_used | ( | LinphoneAccountCreator * | creator | ) |
Send a request to know if an alias is used.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorStatus linphone_account_creator_link_account | ( | LinphoneAccountCreator * | creator | ) |
Send a request to link an account to an alias.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorStatus linphone_account_creator_login_linphone_account | ( | LinphoneAccountCreator * | creator | ) |
Send a request to get the password & algorithm of an account using the confirmation key.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreator * linphone_account_creator_new | ( | LinphoneCore * | core, |
| const char * | xmlrpc_url | ||
| ) |
Create a LinphoneAccountCreator and set Linphone Request callbacks.
| core | The LinphoneCore used for the XML-RPC communication |
| xmlrpc_url | The URL to the XML-RPC server. |
| LinphoneAccountCreatorStatus linphone_account_creator_recover_account | ( | LinphoneAccountCreator * | creator | ) |
Send a request to recover an account.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreator * linphone_account_creator_ref | ( | LinphoneAccountCreator * | creator | ) |
Acquire a reference to the LinphoneAccountCreator.
| creator | LinphoneAccountCreator object. |
| void linphone_account_creator_remove_callbacks | ( | LinphoneAccountCreator * | creator, |
| LinphoneAccountCreatorCbs * | cbs | ||
| ) |
Removes the LinphoneAccountCreatorCbs object from a LinphoneAccountCreator.
| creator | LinphoneAccountCreator object |
| cbs | The LinphoneAccountCreatorCbs object to remove from the LinphoneAccountCreator. |
| 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()
| creator | LinphoneAccountCreator object |
| 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()
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorStatus linphone_account_creator_request_auth_token | ( | LinphoneAccountCreator * | creator | ) |
Request an auth token to be send by the backend by push notification.
| creator | LinphoneAccountCreator object |
| void linphone_account_creator_reset | ( | LinphoneAccountCreator * | creator | ) |
Reset the account creator entries like username, password, phone number...
| creator | LinphoneAccountCreator object |
| void linphone_account_creator_set_account | ( | LinphoneAccountCreator * | creator, |
| LinphoneAccount * | account | ||
| ) |
Assign a proxy config pointer to the LinphoneAccountCreator.
| creator | LinphoneAccountCreator object. |
| account | The LinphoneAccount to associate with the LinphoneAccountCreator. |
| 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.
| creator | LinphoneAccountCreator object |
| token | The token to set |
| LinphoneAccountCreatorActivationCodeStatus linphone_account_creator_set_activation_code | ( | LinphoneAccountCreator * | creator, |
| const char * | activation_code | ||
| ) |
Set the activation code.
| creator | LinphoneAccountCreator object |
| activation_code | The activation code to set |
| LinphoneAccountCreatorAlgoStatus linphone_account_creator_set_algorithm | ( | LinphoneAccountCreator * | creator, |
| const char * | algorithm | ||
| ) |
Set the supported algorithm.
| creator | LinphoneAccountCreator object |
| algorithm | The algorithm to use |
| LinphoneAccountCreatorStatus linphone_account_creator_set_as_default | ( | LinphoneAccountCreator * | creator, |
| bool_t | set_as_default | ||
| ) |
Set the set_as_default property.
| creator | LinphoneAccountCreator object |
| set_as_default | TRUE for the created proxy config to be set as default in LinphoneCore, FALSE otherwise |
| LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_display_name | ( | LinphoneAccountCreator * | creator, |
| const char * | display_name | ||
| ) |
Set the display name.
| creator | LinphoneAccountCreator object |
| display_name | The display name to set |
| LinphoneAccountCreatorDomainStatus linphone_account_creator_set_domain | ( | LinphoneAccountCreator * | creator, |
| const char * | domain | ||
| ) |
Set the domain.
| creator | LinphoneAccountCreator object |
| domain | The domain to set |
| LinphoneAccountCreatorEmailStatus linphone_account_creator_set_email | ( | LinphoneAccountCreator * | creator, |
| const char * | |||
| ) |
Set the email.
| creator | LinphoneAccountCreator object |
| The email to set |
| LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_ha1 | ( | LinphoneAccountCreator * | creator, |
| const char * | ha1 | ||
| ) |
Set the ha1.
| creator | LinphoneAccountCreator object |
| ha1 | The ha1 to set |
| LinphoneAccountCreatorLanguageStatus linphone_account_creator_set_language | ( | LinphoneAccountCreator * | creator, |
| const char * | lang | ||
| ) |
Set the language to use in email or SMS if supported.
| creator | LinphoneAccountCreator object |
| lang | The language to use |
| LinphoneAccountCreatorPasswordStatus linphone_account_creator_set_password | ( | LinphoneAccountCreator * | creator, |
| const char * | password | ||
| ) |
Set the password.
| creator | LinphoneAccountCreator object |
| password | The password to set |
| LinphoneAccountCreatorPhoneNumberStatusMask linphone_account_creator_set_phone_number | ( | LinphoneAccountCreator * | creator, |
| const char * | phone_number, | ||
| const char * | country_code | ||
| ) |
Set the phone number normalized.
| creator | LinphoneAccountCreator object |
| phone_number | The phone number to set |
| country_code | Country code to associate phone number with |
| 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.
| creator | LinphoneAccountCreator object |
| pn_param | The pn_param to set |
| 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.
| creator | LinphoneAccountCreator object |
| pn_prid | The pn_prid to set |
| 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.
| creator | LinphoneAccountCreator object |
| pn_provider | The pn_provider to set |
| void linphone_account_creator_set_proxy_config | ( | LinphoneAccountCreator * | creator, |
| LinphoneProxyConfig * | cfg | ||
| ) |
Assign a proxy config pointer to the LinphoneAccountCreator.
| creator | LinphoneAccountCreator object. |
| cfg | The LinphoneProxyConfig to associate with the LinphoneAccountCreator. |
| MS2_DEPRECATED LinphoneAccountCreatorStatus linphone_account_creator_set_route | ( | LinphoneAccountCreator * | creator, |
| const char * | route | ||
| ) |
Set the route.
| creator | LinphoneAccountCreator object |
| route | The route to set |
| 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.
| creator | LinphoneAccountCreator object |
| token | The token to set |
| LinphoneAccountCreatorTransportStatus linphone_account_creator_set_transport | ( | LinphoneAccountCreator * | creator, |
| LinphoneTransportType | transport | ||
| ) |
Set Transport.
| creator | LinphoneAccountCreator object |
| transport | The LinphoneTransportType to set |
| void linphone_account_creator_set_user_data | ( | LinphoneAccountCreator * | creator, |
| void * | user_data | ||
| ) |
Assign a user pointer to the LinphoneAccountCreator.
| creator | LinphoneAccountCreator object. |
| user_data | The user pointer to associate with the LinphoneAccountCreator. |
| LinphoneAccountCreatorUsernameStatus linphone_account_creator_set_username | ( | LinphoneAccountCreator * | creator, |
| const char * | username | ||
| ) |
Set the username.
| creator | LinphoneAccountCreator object |
| username | The username to set |
| void linphone_account_creator_unref | ( | LinphoneAccountCreator * | creator | ) |
Release reference to the LinphoneAccountCreator.
| creator | LinphoneAccountCreator object. |
| LinphoneAccountCreatorStatus linphone_account_creator_update_account | ( | LinphoneAccountCreator * | creator | ) |
Send a request to update an account.
| creator | LinphoneAccountCreator object |
| void linphone_account_creator_use_test_admin_account | ( | LinphoneAccountCreator * | creator | ) |
Require the account creator to use special "test admin account".
| creator | LinphoneAccountCreator object |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_delete_device_request | ( | LinphoneAccountManagerServices * | ams, |
| const LinphoneAddress * | sip_identity, | ||
| const LinphoneAccountDevice * | device | ||
| ) |
Requests to delete a device from the list of currently known devices.
| ams | The LinphoneAccountManagerServices object. |
| sip_identity | the SIP identity URI that identifies your account for which you want the devices list. |
| device | the LinphoneAccountDevice to delete. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_get_account_creation_request_token_request | ( | LinphoneAccountManagerServices * | ams | ) |
Requests a an account creation request token that once validated using the URL returned by this method upon success, will allow you to call linphone_account_manager_services_create_get_account_creation_token_from_request_token_request() to obtain a valid account creation token.
Once the account creation token is obtained, you can call linphone_account_manager_services_create_new_account_using_token_request().
| ams | The LinphoneAccountManagerServices object. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_get_account_creation_token_from_request_token_request | ( | LinphoneAccountManagerServices * | ams, |
| const char * | request_token | ||
| ) |
Converts an account creation request token obtained by linphone_account_manager_services_request_account_creation_request_token to an account creation token.
The obtained token can be used to call linphone_account_manager_services_create_new_account_using_token_request().
| ams | The LinphoneAccountManagerServices object. |
| request_token | the token obtained previously and validated using your web browser. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_get_devices_list_request | ( | LinphoneAccountManagerServices * | ams, |
| const LinphoneAddress * | sip_identity | ||
| ) |
Requests the list of devices currently known.
| ams | The LinphoneAccountManagerServices object. |
| sip_identity | the SIP identity URI that identifies your account for which you want the devices list. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_link_email_to_account_using_code_request | ( | LinphoneAccountManagerServices * | ams, |
| const LinphoneAddress * | sip_identity, | ||
| const char * | code | ||
| ) |
Validates the link between an email address and an account using a code received by email after calling linphone_account_manager_services_create_send_email_linking_code_by_email_request()
| ams | The LinphoneAccountManagerServices object. |
| sip_identity | the SIP identity URI that identifies the account to which you want to link the email address to. |
| code | the code received by email. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_link_phone_number_to_account_using_code_request | ( | LinphoneAccountManagerServices * | ams, |
| const LinphoneAddress * | sip_identity, | ||
| const char * | code | ||
| ) |
Validates the link between a phone number and an account using a code received by SMS after calling linphone_account_manager_services_create_send_phone_number_linking_code_by_sms_request()
| ams | The LinphoneAccountManagerServices object. |
| sip_identity | the SIP identity URI that identifies the account to which you want to link the phone number to. |
| code | the code received by SMS. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_new_account_using_token_request | ( | LinphoneAccountManagerServices * | ams, |
| const char * | username, | ||
| const char * | password, | ||
| const char * | algorithm, | ||
| const char * | token | ||
| ) |
Creates an account using an account creation token, for example obtained using linphone_account_manager_services_create_send_account_creation_token_by_push_request().
| ams | The LinphoneAccountManagerServices object. |
| username | the username of the newly created account. |
| password | the password to use for the newly created account. |
| algorithm | the algorithm to use to hash the password (must be either MD5 or SHA-256). |
| token | the account creation token obtained previously. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_send_account_creation_token_by_push_request | ( | LinphoneAccountManagerServices * | ams, |
| const char * | pn_provider, | ||
| const char * | pn_param, | ||
| const char * | pn_prid | ||
| ) |
Requests a push notification to be sent to device, containing a valid account creation token.
Provider, param & prid can be obtained from linphone_core_get_push_notification_config(), but on iOS may need some modifications (depending on debug mode for example). Once the token is obtained, you can call linphone_account_manager_services_create_new_account_using_token_request().
| ams | The LinphoneAccountManagerServices object. |
| pn_provider | The provider, for example "apns.dev". |
| pn_param | The parameters, for example "ABCD1234.org.linphone.phone.remote". |
| pn_prid | The prid, also known as push token. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_send_account_recovery_token_by_push_request | ( | LinphoneAccountManagerServices * | ams, |
| const char * | pn_provider, | ||
| const char * | pn_param, | ||
| const char * | pn_prid | ||
| ) |
Requests a push notification to be sent to device, containing a valid account recovery token.
Provider, param & prid can be obtained from linphone_core_get_push_notification_config(), but on iOS may need some modifications (depending on debug mode for example). Once the token is obtained, you can use it to open the recovery webpage on the flexisip account manager at https://account_manager.domain.tld/recovery/phone/<recovery token>?phone=<phone number>
| ams | The LinphoneAccountManagerServices object. |
| pn_provider | The provider, for example "apns.dev". |
| pn_param | The parameters, for example "ABCD1234.org.linphone.phone.remote". |
| pn_prid | The prid, also known as push token. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_send_email_linking_code_by_email_request | ( | LinphoneAccountManagerServices * | ams, |
| const LinphoneAddress * | sip_identity, | ||
| const char * | email_address | ||
| ) |
Requests a code to be sent to a given email address, that can be used later to associate said email to an account using linphone_account_manager_services_create_link_email_to_account_using_code_request().
| ams | The LinphoneAccountManagerServices object. |
| sip_identity | the SIP identity URI that identifies the account to which you want to link the email address to. |
| email_address | the email address to which to send the code to. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_create_send_phone_number_linking_code_by_sms_request | ( | LinphoneAccountManagerServices * | ams, |
| const LinphoneAddress * | sip_identity, | ||
| const char * | phone_number | ||
| ) |
Requests a code to be sent to a given phone number, that can be used later to associate said phone number to an account using linphone_account_manager_services_create_link_phone_number_to_account_using_code_request().
| ams | The LinphoneAccountManagerServices object. |
| sip_identity | the SIP identity URI that identifies the account to which you want to link the phone number to. |
| phone_number | the phone number to which to send the code by SMS. |
| const char * linphone_account_manager_services_get_language | ( | const LinphoneAccountManagerServices * | ams | ) |
Gets the configurer preferred language, if set.
| ams | The LinphoneAccountManagerServices object. |
| LinphoneAccountManagerServices * linphone_account_manager_services_ref | ( | LinphoneAccountManagerServices * | ams | ) |
Takes a reference on a LinphoneAccountManagerServices.
| ams | The LinphoneAccountManagerServices object. |
| void linphone_account_manager_services_request_add_callbacks | ( | LinphoneAccountManagerServicesRequest * | request, |
| LinphoneAccountManagerServicesRequestCbs * | cbs | ||
| ) |
Adds a listener in order to be notified of LinphoneAccountManagerServicesRequest events.
| request | The LinphoneAccountManagerServicesRequest object to monitor. |
| cbs | A LinphoneAccountManagerServicesRequestCbs object holding the callbacks you need. |
| LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb linphone_account_manager_services_request_cbs_get_devices_list_fetched | ( | const LinphoneAccountManagerServicesRequestCbs * | cbs | ) |
Gets the devices list fetched callback.
| cbs | LinphoneAccountManagerServicesRequestCbs object. |
| LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb linphone_account_manager_services_request_cbs_get_request_error | ( | const LinphoneAccountManagerServicesRequestCbs * | cbs | ) |
Gets the request error callback.
| cbs | LinphoneAccountManagerServicesRequestCbs object. |
| LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb linphone_account_manager_services_request_cbs_get_request_successful | ( | const LinphoneAccountManagerServicesRequestCbs * | cbs | ) |
Gets the request successful callback.
| cbs | LinphoneAccountManagerServicesRequestCbs object. |
| void * linphone_account_manager_services_request_cbs_get_user_data | ( | const LinphoneAccountManagerServicesRequestCbs * | cbs | ) |
Retrieve the user pointer associated with the account manager services callbacks object.
| cbs | The LinphoneAccountManagerServicesRequestCbs object. |
| LinphoneAccountManagerServicesRequestCbs * linphone_account_manager_services_request_cbs_ref | ( | LinphoneAccountManagerServicesRequestCbs * | cbs | ) |
Acquire a reference to the account manager services callbacks object.
| cbs | The LinphoneAccountManagerServicesRequestCbs object. |
| void linphone_account_manager_services_request_cbs_set_devices_list_fetched | ( | LinphoneAccountManagerServicesRequestCbs * | cbs, |
| LinphoneAccountManagerServicesRequestCbsOnDevicesListFetchedCb | cb | ||
| ) |
Sets the devices list fetched callback.
| cbs | LinphoneAccountManagerServicesRequestCbs object. |
| cb | The message devices list fetched callback to be used. |
| void linphone_account_manager_services_request_cbs_set_request_error | ( | LinphoneAccountManagerServicesRequestCbs * | cbs, |
| LinphoneAccountManagerServicesRequestCbsOnRequestErrorCb | cb | ||
| ) |
Sets the request error callback.
| cbs | LinphoneAccountManagerServicesRequestCbs object. |
| cb | The message request error callback to be used. |
| void linphone_account_manager_services_request_cbs_set_request_successful | ( | LinphoneAccountManagerServicesRequestCbs * | cbs, |
| LinphoneAccountManagerServicesRequestCbsOnSuccessfulRequestCb | cb | ||
| ) |
Sets the request successful callback.
| cbs | LinphoneAccountManagerServicesRequestCbs object. |
| cb | The request successful callback to be used. |
| void linphone_account_manager_services_request_cbs_set_user_data | ( | LinphoneAccountManagerServicesRequestCbs * | cbs, |
| void * | user_data | ||
| ) |
Assign a user pointer to the account manager services callbacks object.
| cbs | The LinphoneAccountManagerServicesRequestCbs object. |
| user_data | The user pointer to associate with the account manager services callbacks object. |
| void linphone_account_manager_services_request_cbs_unref | ( | LinphoneAccountManagerServicesRequestCbs * | cbs | ) |
Release reference to the account manager services callbacks object.
| cbs | The LinphoneAccountManagerServicesRequestCbs object. |
| LinphoneAccountManagerServicesRequestCbs * linphone_account_manager_services_request_get_current_callbacks | ( | const LinphoneAccountManagerServicesRequest * | request | ) |
Gets the current LinphoneAccountManagerServicesRequest.
This is meant only to be called from a callback to be able to get the user_data associated with the LinphoneAccountManagerServicesRequestCbs that is calling the callback.
| request | The LinphoneAccountManagerServicesRequest object. |
| LinphoneAccountManagerServicesRequestType linphone_account_manager_services_request_get_type | ( | const LinphoneAccountManagerServicesRequest * | request | ) |
Gets the LinphoneAccountManagerServicesRequestType representing this request.
| request | The LinphoneAccountManagerServicesRequest object. |
| LinphoneAccountManagerServicesRequest * linphone_account_manager_services_request_ref | ( | LinphoneAccountManagerServicesRequest * | request | ) |
Takes a reference on a LinphoneAccountManagerServicesRequest.
| request | The LinphoneAccountManagerServicesRequest object. |
| void linphone_account_manager_services_request_remove_callbacks | ( | LinphoneAccountManagerServicesRequest * | request, |
| LinphoneAccountManagerServicesRequestCbs * | cbs | ||
| ) |
Removes a listener from a LinphoneAccountManagerServicesRequest.
| request | The LinphoneAccount object. |
| cbs | LinphoneAccountManagerServicesRequestCbs object to remove. |
| void linphone_account_manager_services_request_submit | ( | LinphoneAccountManagerServicesRequest * | request | ) |
Executes the request represented by LinphoneAccountManagerServicesRequest.
| request | The LinphoneAccountManagerServicesRequest object to execute. |
| void linphone_account_manager_services_request_unref | ( | LinphoneAccountManagerServicesRequest * | request | ) |
Releases a LinphoneAccountManagerServicesRequest.
| request | The LinphoneAccountManagerServicesRequest object. |
| void linphone_account_manager_services_set_language | ( | LinphoneAccountManagerServices * | ams, |
| const char * | language | ||
| ) |
Sets the preferred language to get error messages from account manager (if supported, otherwise will be english).
| ams | The LinphoneAccountManagerServices object. |
| language | The language (en, fr, etc...) you'd like to have error messages in (if possible). |
| void linphone_account_manager_services_unref | ( | LinphoneAccountManagerServices * | ams | ) |
Releases a LinphoneAccountManagerServices.
| ams | The LinphoneAccountManagerServices object. |
| LinphoneAccountCreator * linphone_core_create_account_creator | ( | LinphoneCore * | core, |
| const char * | xmlrpc_url | ||
| ) |
Create a LinphoneAccountCreator and set Linphone Request callbacks.
| core | The LinphoneCore used for the XML-RPC communication |
| xmlrpc_url | The URL to the XML-RPC server. |
| LinphoneAccountManagerServices * linphone_core_create_account_manager_services | ( | LinphoneCore * | core | ) |
Creates a LinphoneAccountManagerServices.
| core | The LinphoneCore to use |
| LinphoneAccountCreatorBackend linphone_core_get_account_creator_backend | ( | const LinphoneCore * | core | ) |
Gets the LinphoneAccountCreator backend set for the LinphoneCore.
| core | The LinphoneCore |
| const char * linphone_core_get_account_creator_url | ( | LinphoneCore * | core | ) |
Gets the LinphoneAccountCreator url on the LinphoneCore.
| core | The LinphoneCore |
| void linphone_core_set_account_creator_backend | ( | LinphoneCore * | core, |
| LinphoneAccountCreatorBackend | backend | ||
| ) |
Sets the LinphoneAccountCreator backend on the LinphoneCore.
| core | The LinphoneCore |
| backend | The LinphoneAccountCreatorBackend |
| void linphone_core_set_account_creator_url | ( | LinphoneCore * | core, |
| const char * | url | ||
| ) |
Sets the LinphoneAccountCreator url on the LinphoneCore.
| core | The LinphoneCore |
| url | The URL to reach |