|
Liblinphone 5.5.0
|
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 |
Deprecated objects and APIs.
| typedef void(* LinphoneAccountCreatorCbsStatusCb) (LinphoneAccountCreator *creator, LinphoneAccountCreatorStatus status, const char *response) |
Callback to notify of a server response.
| creator | LinphoneAccountCreator object |
| status | The status of the LinphoneAccountCreator test existence operation that has just finished |
| response | The response as 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). |
| 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,
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.
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 the status of server request, 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 | ) |
Creates a LinphoneAccountCreator and sets Linphone Request callbacks.
| core | The LinphoneCore used for the XML-RPC communication |
| LinphoneAccountCreatorStatus linphone_account_creator_create_account | ( | LinphoneAccountCreator * | creator | ) |
Sends a request to create an account on the 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 | ) |
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.
| 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 | ) |
Sends a request to check if an account is activated on the server.
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorStatus linphone_account_creator_is_account_exist | ( | LinphoneAccountCreator * | creator | ) |
Sends a request to check if an account exists on the 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 | ||
| ) |
Creates a LinphoneAccountCreator and sets 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 | ) |
Resets the account creator entries (username, password, phone number...).
| creator | LinphoneAccountCreator object |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_account_creation_request_token_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the account creation request token request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_account_creation_token_using_request_token_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the account creation token request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_activate_account_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the activate account request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_activate_alias_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the activate alias request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_confirmation_key_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the confirmation key request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_constructor_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the constructor of account creator requests.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_create_account_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the create account request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_create_account_with_token_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the create account with token request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_create_push_account_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the create account request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_destructor_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the destructor of create account request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_account_activated_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the is account activated request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_account_exist_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the is account exist request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_account_linked_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the is account linked request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_is_alias_used_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the is alias used request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_link_account_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the link account request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_login_linphone_account_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the login linphone account request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_recover_account_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the recover account request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_send_token_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the send token request.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorRequestFunc linphone_account_creator_service_get_update_account_cb | ( | const LinphoneAccountCreatorService * | service | ) |
Gets the update account request.
| service | LinphoneAccountCreatorService object. |
| void * linphone_account_creator_service_get_user_data | ( | const LinphoneAccountCreatorService * | service | ) |
Retrieve the user pointer associated with a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| LinphoneAccountCreatorService * linphone_account_creator_service_new | ( | void | ) |
Creates a new LinphoneAccountCreatorService object.
| LinphoneAccountCreatorService * linphone_account_creator_service_ref | ( | LinphoneAccountCreatorService * | service | ) |
Acquire a reference to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| void linphone_account_creator_service_set_account_creation_request_token_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Sets the account creation request token request.
| service | LinphoneAccountCreatorService object. |
| cb | The request token cb to be used. |
| void linphone_account_creator_service_set_account_creation_token_using_request_token_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Sets the account creation token request.
| service | LinphoneAccountCreatorService object. |
| cb | The request token cb to be used. |
| void linphone_account_creator_service_set_activate_account_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The activate account request to be used. |
| void linphone_account_creator_service_set_activate_alias_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The activate alias request to be used. |
| void linphone_account_creator_service_set_confirmation_key_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The confirmation key request to be used. |
| void linphone_account_creator_service_set_constructor_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The constructor of account creator requests. |
| void linphone_account_creator_service_set_create_account_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The create account request to be used. |
| void linphone_account_creator_service_set_create_account_with_token_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The create account with token request to be used. |
| void linphone_account_creator_service_set_create_push_account_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The create account request to be used. |
| void linphone_account_creator_service_set_destructor_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The destructor. |
| void linphone_account_creator_service_set_is_account_activated_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The is account activated request to be used. |
| void linphone_account_creator_service_set_is_account_exist_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The is account exist request to be used. |
| void linphone_account_creator_service_set_is_account_linked_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The is account linked request to be used. |
| void linphone_account_creator_service_set_is_alias_used_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The is alias used request to be used. |
| void linphone_account_creator_service_set_link_account_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The link account request to be used. |
| void linphone_account_creator_service_set_login_linphone_account_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The login linphone account request to be used. |
| void linphone_account_creator_service_set_recover_account_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The recover account request to be used. |
| 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.
| service | LinphoneAccountCreatorService object. |
| cb | The send token request to be used. |
| void linphone_account_creator_service_set_update_account_cb | ( | LinphoneAccountCreatorService * | service, |
| LinphoneAccountCreatorRequestFunc | cb | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| cb | The update account request to be used. |
| void linphone_account_creator_service_set_user_data | ( | LinphoneAccountCreatorService * | service, |
| void * | ud | ||
| ) |
Assign a user pointer to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService object. |
| ud | The user pointer to associate with the LinphoneAccountCreatorService object. |
| void linphone_account_creator_service_unref | ( | LinphoneAccountCreatorService * | service | ) |
Release a reference to a LinphoneAccountCreatorService object.
| service | LinphoneAccountCreatorService 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 |
| void linphone_core_add_ldap | ( | LinphoneCore * | core, |
| LinphoneLdap * | ldap | ||
| ) |
Add or update a LDAP server and save it to the configuration.
| core | LinphoneCore object |
| ldap | The LinphoneLdap object to add/update. |
| 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.
| core | LinphoneCore object |
| config | the LinphoneProxyConfig to add |
| void linphone_core_clear_ldaps | ( | LinphoneCore * | core | ) |
Erases all LDAP from the configuration.
| core | LinphoneCore object |
| void linphone_core_clear_proxy_config | ( | LinphoneCore * | core | ) |
Erase all proxies from config.
| core | LinphoneCore object |
| LinphoneAccountCreator * linphone_core_create_account_creator | ( | LinphoneCore * | core, |
| const char * | xmlrpc_url | ||
| ) |
Creates a LinphoneAccountCreator and sets 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 |
| 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.
| core | LinphoneCore object |
| 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.
| core | LinphoneCore object |
| params | LinphoneLdapParams object |
| LinphoneProxyConfig * linphone_core_create_proxy_config | ( | LinphoneCore * | core | ) |
Create a proxy config with default values from Linphone core.
| core | LinphoneCore object |
| 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 |
| 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.
| core | LinphoneCore object |
| bctbx_list_t * linphone_core_get_ldap_list | ( | LinphoneCore * | core | ) |
Returns a list of entered LDAPs.
Items must be freed with linphone_ldap_unref()
| core | The LinphoneCore object |
| 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.
| core | the LinphoneCore |
| 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 *.
| core | the LinphoneCore |
| LinphoneProxyConfig * linphone_core_get_proxy_config_by_idkey | ( | LinphoneCore * | core, |
| const char * | idkey | ||
| ) |
Searches for a LinphoneProxyConfig by its idkey.
| core | the LinphoneCore object |
| idkey | An arbitrary idkey string associated to a proxy configuration |
| const bctbx_list_t * linphone_core_get_proxy_config_list | ( | const LinphoneCore * | core | ) |
Returns an unmodifiable list of entered proxy configurations.
| core | The LinphoneCore object |
| void linphone_core_remove_ldap | ( | LinphoneCore * | core, |
| LinphoneLdap * | ldap | ||
| ) |
Remove a LDAP from the configuration.
| core | LinphoneCore object |
| ldap | The LinphoneLdap object to remove. |
| 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.
| core | LinphoneCore object |
| config | the LinphoneProxyConfig to remove |
| 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 |
| 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.
| core | LinphoneCore object |
| config | The proxy configuration to use as the default one. |
| LinphoneCore * linphone_ldap_get_core | ( | LinphoneLdap * | ldap | ) |
Gets the LinphoneCore object to which the LinphoneLdap is associated.
| ldap | The LinphoneLdap object. |
| int linphone_ldap_get_index | ( | const LinphoneLdap * | ldap | ) |
Get the index of the LinphoneLdap.
| ldap | The LinphoneLdap object. |
| 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().
| ldap | The LinphoneLdap object. |
| LinphoneLdap * linphone_ldap_new | ( | LinphoneCore * | lc | ) |
Creates a new LinphoneLdap.
Call linphone_ldap_set_params() to store the new LDAP configuration.
| lc | The LinphoneCore object. |
| 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.
| lc | The LinphoneCore object. |
| params | The LinphoneLdapParams object. |
| LinphoneLdap * linphone_ldap_ref | ( | LinphoneLdap * | ldap | ) |
Takes a reference on a LinphoneLdap.
| ldap | The LinphoneLdap object. |
| void linphone_ldap_set_index | ( | LinphoneLdap * | ldap, |
| int | index | ||
| ) |
Set the index associated to the LinphoneLdap.
| ldap | The LinphoneLdap object. |
| index | The index of the Ldap. Can be -1 : it will be determined on save. |
| 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.
| ldap | The LinphoneLdap object. |
| params | The LinphoneLdapParams object. |
| void linphone_ldap_unref | ( | LinphoneLdap * | ldap | ) |
Releases a LinphoneLdap.
| ldap | The LinphoneLdap object. |
| bool_t linphone_proxy_config_avpf_enabled | ( | LinphoneProxyConfig * | proxy_config | ) |
Indicates whether AVPF/SAVPF is being used for calls using this proxy config.
| proxy_config | LinphoneProxyConfig object. |
| LinphoneStatus linphone_proxy_config_done | ( | LinphoneProxyConfig * | proxy_config | ) |
Commits modification made to the proxy configuration.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| enable | if TRUE, publish will be engaged |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| enable | True to store quality statistics and send them to the collector, false to disable it. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| enable | if true, registration will be engaged |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| LinphoneAVPFMode linphone_proxy_config_get_avpf_mode | ( | const LinphoneProxyConfig * | proxy_config | ) |
Get enablement status of RTCP feedback (also known as AVPF profile).
| proxy_config | LinphoneProxyConfig object. |
| uint8_t linphone_proxy_config_get_avpf_rr_interval | ( | const LinphoneProxyConfig * | proxy_config | ) |
Get the interval between regular RTCP reports when using AVPF/SAVPF.
| proxy_config | LinphoneProxyConfig object. |
| const char * linphone_proxy_config_get_conference_factory_uri | ( | const LinphoneProxyConfig * | proxy_config | ) |
Get the conference factory uri.
| proxy_config | A LinphoneProxyConfig object |
| const LinphoneAddress * linphone_proxy_config_get_contact | ( | const LinphoneProxyConfig * | proxy_config | ) |
Return the contact address of the proxy config.
| proxy_config | LinphoneProxyConfig object. |
| const char * linphone_proxy_config_get_contact_parameters | ( | const LinphoneProxyConfig * | proxy_config | ) |
Returns the contact parameters.
| proxy_config | LinphoneProxyConfig object. |
| const char * linphone_proxy_config_get_contact_uri_parameters | ( | const LinphoneProxyConfig * | proxy_config | ) |
Returns the contact URI parameters.
| proxy_config | LinphoneProxyConfig object. |
| LinphoneCore * linphone_proxy_config_get_core | ( | const LinphoneProxyConfig * | proxy_config | ) |
Get the LinphoneCore object to which is associated the LinphoneProxyConfig.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| header_name | the header name for which to fetch corresponding value |
| LinphoneProxyConfig * linphone_proxy_config_get_dependency | ( | LinphoneProxyConfig * | proxy_config | ) |
Get the dependency of a LinphoneProxyConfig.
| proxy_config | LinphoneProxyConfig object. |
| bool_t linphone_proxy_config_get_dial_escape_plus | ( | const LinphoneProxyConfig * | proxy_config | ) |
Returns whether or not the + should be replaced by 00.
| proxy_config | LinphoneProxyConfig object. |
| const char * linphone_proxy_config_get_dial_prefix | ( | const LinphoneProxyConfig * | proxy_config | ) |
Gets the prefix set for this proxy config.
| proxy_config | LinphoneProxyConfig object. |
| const char * linphone_proxy_config_get_domain | ( | const LinphoneProxyConfig * | proxy_config | ) |
Get the domain name of the given proxy config.
| proxy_config | LinphoneProxyConfig object. |
| LinphoneReason linphone_proxy_config_get_error | ( | const LinphoneProxyConfig * | proxy_config | ) |
Get the reason why registration failed when the proxy config state is LinphoneRegistrationFailed.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| int linphone_proxy_config_get_expires | ( | const LinphoneProxyConfig * | proxy_config | ) |
Gets the proxy config expires.
| proxy_config | LinphoneProxyConfig object. |
| 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".
| proxy_config | LinphoneProxyConfig object. |
| MS2_DEPRECATED const char * linphone_proxy_config_get_identity | ( | const LinphoneProxyConfig * | cfg | ) |
| const LinphoneAddress * linphone_proxy_config_get_identity_address | ( | const LinphoneProxyConfig * | proxy_config | ) |
Gets the identity addres of the proxy config.
| proxy_config | LinphoneProxyConfig object. |
| const char * linphone_proxy_config_get_idkey | ( | LinphoneProxyConfig * | proxy_config | ) |
Get the idkey property of a LinphoneProxyConfig.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object |
| LinphonePrivacyMask linphone_proxy_config_get_privacy | ( | const LinphoneProxyConfig * | proxy_config | ) |
Get default privacy policy for all calls routed through this proxy.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| LinphonePushNotificationConfig * linphone_proxy_config_get_push_notification_config | ( | const LinphoneProxyConfig * | cfg | ) |
Retrieves the push notification configuration.
| cfg | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| int linphone_proxy_config_get_quality_reporting_interval | ( | LinphoneProxyConfig * | proxy_config | ) |
Get the interval between interval reports when using quality reporting.
| proxy_config | LinphoneProxyConfig object. |
| const char * linphone_proxy_config_get_realm | ( | const LinphoneProxyConfig * | proxy_config | ) |
Get the realm of the given proxy config.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| MS2_DEPRECATED const char * linphone_proxy_config_get_route | ( | const LinphoneProxyConfig * | proxy_config | ) |
| const bctbx_list_t * linphone_proxy_config_get_routes | ( | const LinphoneProxyConfig * | proxy_config | ) |
Gets the list of the routes set for this proxy config.
| proxy_config | LinphoneProxyConfig object. |
| const char * linphone_proxy_config_get_server_addr | ( | const LinphoneProxyConfig * | proxy_config | ) |
Gets the proxy config proxy address.
| proxy_config | LinphoneProxyConfig object. |
| LinphoneRegistrationState linphone_proxy_config_get_state | ( | const LinphoneProxyConfig * | proxy_config | ) |
Get the registration state of the given proxy config.
| proxy_config | LinphoneProxyConfig object. |
| const char * linphone_proxy_config_get_transport | ( | const LinphoneProxyConfig * | proxy_config | ) |
Get the transport from either service route, route or addr.
| proxy_config | LinphoneProxyConfig object. |
| int linphone_proxy_config_get_unread_chat_message_count | ( | const LinphoneProxyConfig * | proxy_config | ) |
Return the unread chat message count for a given proxy config.
| proxy_config | LinphoneProxyConfig object. |
| void * linphone_proxy_config_get_user_data | ( | const LinphoneProxyConfig * | proxy_config | ) |
Retrieve the user pointer associated with the proxy config.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| bool_t linphone_proxy_config_is_push_notification_available | ( | const LinphoneProxyConfig * | proxy_config | ) |
Gets whether push notifications are available or not (Android & iOS only).
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object containing country code and/or escape symbol. If NULL passed, will use default configuration. |
| username | the string to parse |
| 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
The result is a syntactically correct SIP address.
| proxy_config | LinphoneProxyConfig object containing country code, escape symbol and/or domain name. Can be NULL if domain is already provided. |
| username | the string to parse |
| 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().
| proxy_config | LinphoneProxyConfig object. |
| bool_t linphone_proxy_config_publish_enabled | ( | const LinphoneProxyConfig * | proxy_config | ) |
Gets if the PUBLISH is enabled.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| LinphoneProxyConfig * linphone_proxy_config_ref | ( | LinphoneProxyConfig * | proxy_config | ) |
Acquire a reference to the proxy config.
| proxy_config | LinphoneProxyConfig object. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| bool_t linphone_proxy_config_register_enabled | ( | const LinphoneProxyConfig * | proxy_config | ) |
Returns whether the proxy config is enabled or not.
| proxy_config | LinphoneProxyConfig object. |
| void linphone_proxy_config_set_avpf_mode | ( | LinphoneProxyConfig * | proxy_config, |
| LinphoneAVPFMode | mode | ||
| ) |
Enable the use of RTCP feedback (also known as AVPF profile).
| proxy_config | LinphoneProxyConfig object. |
| mode | the enablement mode, which can be LinphoneAVPFDefault (use LinphoneCore's mode), LinphoneAVPFEnabled (avpf is enabled), or LinphoneAVPFDisabled (disabled). |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| interval | The interval in seconds (between 0 and 5 seconds). |
| void linphone_proxy_config_set_conference_factory_uri | ( | LinphoneProxyConfig * | proxy_config, |
| const char * | uri | ||
| ) |
Set the conference factory uri.
| proxy_config | A LinphoneProxyConfig object |
| uri | The uri of the conference factory. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| contact_params | a 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.
| 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.
| proxy_config | LinphoneProxyConfig object. |
| contact_uri_params | a 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>.
| 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.
| proxy_config | LinphoneProxyConfig object. |
| header_name | the header name |
| header_value | the header's value |
| 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.
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
| proxy_config | LinphoneProxyConfig object. |
| depends_on | The LinphoneProxyConfig this one shall be depend on. |
| 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() ).
| proxy_config | LinphoneProxyConfig object. |
| enable | TRUE to replace + by the international prefix, FALSE otherwise. |
| 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 "+".
| proxy_config | LinphoneProxyConfig object. |
| prefix | the prefix to set (withouth the +) |
| void linphone_proxy_config_set_expires | ( | LinphoneProxyConfig * | proxy_config, |
| int | expires | ||
| ) |
Sets the registration expiration time in seconds.
| proxy_config | LinphoneProxyConfig object. |
| expires | the expiration time to set |
| 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".
| proxy_config | LinphoneProxyConfig object. |
| server_url | URL of the file server. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| identity | the LinphoneAddress of the identity to set |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| idkey | The idkey string to associate to the given LinphoneProxyConfig. |
| 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.
| proxy_config | LinphoneProxyConfig object |
| policy | LinphoneNatPolicy object. |
| void linphone_proxy_config_set_privacy | ( | LinphoneProxyConfig * | proxy_config, |
| LinphonePrivacyMask | privacy | ||
| ) |
Set default privacy policy for all calls routed through this proxy.
| proxy_config | LinphoneProxyConfig object. |
| privacy | LinphonePrivacy to configure privacy |
| void linphone_proxy_config_set_publish_expires | ( | LinphoneProxyConfig * | proxy_config, |
| int | expires | ||
| ) |
Set the publish expiration time in second.
| proxy_config | LinphoneProxyConfig object. |
| expires | in second |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| allow | TRUE to allow push notification information, FALSE otherwise. |
| void linphone_proxy_config_set_push_notification_config | ( | LinphoneProxyConfig * | cfg, |
| LinphonePushNotificationConfig * | push_cfg | ||
| ) |
Sets the push notification configuration.
| cfg | LinphoneProxyConfig object. |
| push_cfg | LinphonePushNotificationConfig to set. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| collector | route of the collector end-point, if NULL PUBLISH will be sent to the proxy domain. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| interval | The interval in seconds, 0 means interval reports are disabled. |
| void linphone_proxy_config_set_realm | ( | LinphoneProxyConfig * | proxy_config, |
| const char * | realm | ||
| ) |
Set the realm of the given proxy config.
| proxy_config | LinphoneProxyConfig object. |
| realm | New realm value. |
| 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.
| proxy_config | LinphoneProxyConfig object. |
| refkey | The reference key string to associate to the proxy config. |
| 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).
| proxy_config | LinphoneProxyConfig object. |
| allow | TRUE to allow remote push notification information, FALSE otherwise. |
| 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() ).
| proxy_config | LinphoneProxyConfig object. |
| route | the SIP route to set |
| 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() ).
| proxy_config | the LinphoneProxyConfig |
| routes | A of routes |
| 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:
| proxy_config | LinphoneProxyConfig object. |
| server_address | the proxy address to set. |
| void linphone_proxy_config_set_user_data | ( | LinphoneProxyConfig * | proxy_config, |
| void * | user_data | ||
| ) |
Assign a user pointer to the proxy config.
| proxy_config | LinphoneProxyConfig object. |
| user_data | The user pointer to associate with the proxy config. |
| void linphone_proxy_config_unref | ( | LinphoneProxyConfig * | proxy_config | ) |
Release reference to the proxy config.
| proxy_config | LinphoneProxyConfig object. |