public interface ProxyConfig
Modifier and Type | Method and Description |
---|---|
boolean |
avpfEnabled()
Indicates whether AVPF/SAVPF is being used for calls using this proxy config.
|
void |
done()
Commits modification made to the proxy configuration.
|
void |
edit()
Starts editing a proxy configuration.
|
void |
enablePublish(boolean val)
Indicates either or not, PUBLISH must be issued for this #LinphoneProxyConfig.
|
void |
enableQualityReporting(boolean enable)
Indicates whether quality statistics during call should be stored and sent to a
collector according to RFC 6035.
|
void |
enableRegister(boolean val)
Indicates either or not, REGISTRATION must be issued for this
#LinphoneProxyConfig .
|
AuthInfo |
findAuthInfo()
Find authentication info matching proxy config, if any, similarly to
linphone_core_find_auth_info.
|
AVPFMode |
getAvpfMode()
Get enablement status of RTCP feedback (also known as AVPF profile).
|
int |
getAvpfRrInterval()
Get the interval between regular RTCP reports when using AVPF/SAVPF.
|
java.lang.String |
getConferenceFactoryUri()
Get the conference factory uri.
|
Address |
getContact()
Return the contact address of the proxy config.
|
java.lang.String |
getContactParameters() |
java.lang.String |
getContactUriParameters() |
Core |
getCore()
Get the #LinphoneCore object to which is associated the #LinphoneProxyConfig.
|
java.lang.String |
getCustomHeader(java.lang.String headerName)
Obtain the value of a header sent by the server in last answer to REGISTER.
|
boolean |
getDialEscapePlus() |
java.lang.String |
getDialPrefix() |
java.lang.String |
getDomain()
Get the domain name of the given proxy config.
|
Reason |
getError()
Get the reason why registration failed when the proxy config state is
LinphoneRegistrationFailed.
|
ErrorInfo |
getErrorInfo()
Get detailed information why registration failed when the proxy config state is
LinphoneRegistrationFailed.
|
int |
getExpires() |
Address |
getIdentityAddress() |
NatPolicy |
getNatPolicy()
Get The policy that is used to pass through NATs/firewalls when using this
proxy config.
|
int |
getPrivacy()
Get default privacy policy for all calls routed through this proxy.
|
int |
getPublishExpires()
get the publish expiration time in second.
|
java.lang.String |
getQualityReportingCollector()
Get the route of the collector end-point when using quality reporting.
|
int |
getQualityReportingInterval()
Get the interval between interval reports when using quality reporting.
|
java.lang.String |
getRealm()
Get the realm of the given proxy config.
|
java.lang.String |
getRefKey()
Get the persistent reference key associated to the proxy config.
|
java.lang.String |
getRoute()
Deprecated.
|
java.lang.String[] |
getRoutes()
Gets the list of the routes set for this proxy config.
|
java.lang.String |
getServerAddr() |
RegistrationState |
getState()
Get the registration state of the given proxy config.
|
java.lang.String |
getTransport()
Get the transport from either service route, route or addr.
|
int |
getUnreadChatMessageCount()
Return the unread chat message count for a given proxy config.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
boolean |
isPhoneNumber(java.lang.String username)
Detect if the given input is a phone number or not.
|
boolean |
isPushNotificationAllowed()
Indicates whether to add to the contact parameters the push notification
information.
|
java.lang.String |
normalizePhoneNumber(java.lang.String username)
Normalize a human readable phone number into a basic string.
|
Address |
normalizeSipUri(java.lang.String username)
Normalize a human readable sip uri into a fully qualified LinphoneAddress.
|
void |
pauseRegister()
Prevent a proxy config from refreshing its registration.
|
boolean |
publishEnabled() |
boolean |
qualityReportingEnabled()
Indicates whether quality statistics during call should be stored and sent to a
collector according to RFC 6035.
|
void |
refreshRegister()
Refresh a proxy registration.
|
boolean |
registerEnabled() |
void |
setAvpfMode(AVPFMode mode)
Enable the use of RTCP feedback (also known as AVPF profile).
|
void |
setAvpfRrInterval(int interval)
Set the interval between regular RTCP reports when using AVPF/SAVPF.
|
void |
setConferenceFactoryUri(java.lang.String uri)
Set the conference factory uri.
|
void |
setContactParameters(java.lang.String contactParams)
Set optional contact parameters that will be added to the contact information
sent in the registration.
|
void |
setContactUriParameters(java.lang.String contactUriParams)
Set optional contact parameters that will be added to the contact information
sent in the registration, inside the URI.
|
void |
setCustomHeader(java.lang.String headerName,
java.lang.String headerValue)
Set the value of a custom header sent to the server in REGISTERs request.
|
void |
setDialEscapePlus(boolean val)
Sets whether liblinphone should replace "+" by international calling prefix in
dialed numbers (passed to linphone_core_invite ).
|
void |
setDialPrefix(java.lang.String 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 "+".
|
void |
setExpires(int expires)
Sets the registration expiration time in seconds.
|
void |
setIdentityAddress(Address identity)
Sets the user identity as a SIP address.
|
void |
setNatPolicy(NatPolicy policy)
Set the policy to use to pass through NATs/firewalls when using this proxy
config.
|
void |
setPrivacy(int privacy)
Set default privacy policy for all calls routed through this proxy.
|
void |
setPublishExpires(int expires)
Set the publish expiration time in second.
|
void |
setPushNotificationAllowed(boolean allow)
Indicates whether to add to the contact parameters the push notification
information.
|
void |
setQualityReportingCollector(java.lang.String collector)
Set the route of the collector end-point when using quality reporting.
|
void |
setQualityReportingInterval(int interval)
Set the interval between 2 interval reports sending when using quality
reporting.
|
void |
setRealm(java.lang.String realm)
Set the realm of the given proxy config.
|
void |
setRefKey(java.lang.String refkey)
Associate a persistent reference key to the proxy config.
|
void |
setRoute(java.lang.String route)
Sets a SIP route.
|
void |
setRoutes(java.lang.String[] routes)
Sets a list of SIP route.
|
void |
setServerAddr(java.lang.String serverAddr)
Sets the proxy address.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
boolean avpfEnabled()
AVPFMode getAvpfMode()
void setAvpfMode(AVPFMode mode)
int getAvpfRrInterval()
void setAvpfRrInterval(int interval)
java.lang.String getConferenceFactoryUri()
void setConferenceFactoryUri(java.lang.String uri)
Address getContact()
java.lang.String getContactParameters()
void setContactParameters(java.lang.String contactParams)
java.lang.String getContactUriParameters()
void setContactUriParameters(java.lang.String contactUriParams)
Core getCore()
boolean getDialEscapePlus()
void setDialEscapePlus(boolean val)
java.lang.String getDialPrefix()
void setDialPrefix(java.lang.String prefix)
java.lang.String getDomain()
Reason getError()
ErrorInfo getErrorInfo()
int getExpires()
void setExpires(int expires)
Address getIdentityAddress()
void setIdentityAddress(Address identity)
boolean isPushNotificationAllowed()
NatPolicy getNatPolicy()
void setNatPolicy(NatPolicy policy)
int getPrivacy()
void setPrivacy(int privacy)
boolean publishEnabled()
void enablePublish(boolean val)
int getPublishExpires()
void setPublishExpires(int expires)
void setPushNotificationAllowed(boolean allow)
java.lang.String getQualityReportingCollector()
void setQualityReportingCollector(java.lang.String collector)
boolean qualityReportingEnabled()
void enableQualityReporting(boolean enable)
int getQualityReportingInterval()
void setQualityReportingInterval(int interval)
java.lang.String getRealm()
void setRealm(java.lang.String realm)
java.lang.String getRefKey()
void setRefKey(java.lang.String refkey)
boolean registerEnabled()
void enableRegister(boolean val)
@Deprecated java.lang.String getRoute()
void setRoute(java.lang.String route)
java.lang.String[] getRoutes()
void setRoutes(java.lang.String[] routes)
java.lang.String getServerAddr()
void setServerAddr(java.lang.String serverAddr)
RegistrationState getState()
java.lang.String getTransport()
int getUnreadChatMessageCount()
void done()
void edit()
AuthInfo findAuthInfo()
java.lang.String getCustomHeader(java.lang.String headerName)
boolean isPhoneNumber(java.lang.String username)
java.lang.String normalizePhoneNumber(java.lang.String username)
Address normalizeSipUri(java.lang.String username)
void pauseRegister()
void refreshRegister()
void setCustomHeader(java.lang.String headerName, java.lang.String headerValue)
void setUserData(java.lang.Object data)
java.lang.Object getUserData()