Namespace for non-external variables and objects.
- Source:
Members
-
<static, readonly> AVPFMode :number
-
Enum describing RTP AVPF activation modes.
Type:
- number
- Source:
Properties:
Name Type Default Description Defaultnumber 0 Use default value defined at upper level Disablednumber 1 AVPF is disabled Enablednumber 2 AVPF is enabled -
<static, readonly> CallDir :number
-
Enum representing the direction of a call.
Type:
- number
- Source:
Properties:
Name Type Default Description Outgoingnumber 0 outgoing calls Incomingnumber 1 incoming calls -
<static, readonly> CallState :number
-
LinphoneCallState enum represents the different state a call can reach into. The application is notified of state changes through the
Type:
- number
- Source:
Properties:
Name Type Default Description Idlenumber 0 Initial call state IncomingReceivednumber 1 This is a new incoming call OutgoingInitnumber 2 An outgoing call is started OutgoingProgressnumber 3 An outgoing call is in progress OutgoingRingingnumber 4 An outgoing call is ringing at remote end OutgoingEarlyMedianumber 5 An outgoing call is proposed early media Connectednumber 6 Connected, the call is answered StreamsRunningnumber 7 The media streams are established and running Pausingnumber 8 The call is pausing at the initiative of local end Pausednumber 9 The call is paused, remote end has accepted the pause Resumingnumber 10 The call is being resumed by local end Referednumber 11 The call is being transfered to another party, resulting in a new outgoing call to follow immediately Errornumber 12 The call encountered an error Endnumber 13 The call ended normally PausedByRemotenumber 14 The call is paused by remote end UpdatedByRemotenumber 15 The call's parameters change is requested by remote end, used for example when video is added by remote IncomingEarlyMedianumber 16 We are proposing early media to an incoming call Updatingnumber 17 A call update has been initiated by us Releasednumber 18 The call object is no more retained by the core EarlyUpdatedByRemotenumber 19 EarlyUpdatingnumber 20 -
<static, readonly> CallStatus :number
-
Enum representing the status of a call
Type:
- number
- Source:
Properties:
Name Type Default Description Successnumber 0 The call was sucessful Abortednumber 1 The call was aborted Missednumber 2 The call was missed (unanswered) Declinednumber 3 The call was declined, either locally or by remote end -
<static, readonly> ChatMessageState :number
-
LinphoneChatMessageState is used to notify if messages have been succesfully delivered or not.
Type:
- number
- Source:
Properties:
Name Type Default Description Idlenumber 0 Initial state InProgressnumber 1 Delivery in progress Deliverednumber 2 Message successfully delivered and acknowledged by remote end point NotDeliverednumber 3 Message was not delivered FileTransferErrornumber 4 Message was received(and acknowledged) but cannot get file from server FileTransferDonenumber 5 File transfer has been completed successfully. -
<static, readonly> ConfiguringState :number
-
LinphoneGlobalState describes the global state of the LinphoneCore object. It is notified via the
Type:
- number
- Source:
Properties:
Name Type Default Description Successfulnumber 0 Failednumber 1 Skippednumber 2 -
<static, readonly> CoreLogCollectionUploadState :number
-
LinphoneCoreLogCollectionUploadState is used to notify if log collection upload have been succesfully delivered or not.
Type:
- number
- Source:
Properties:
Name Type Default Description InProgressnumber 0 Delivery in progress Deliverednumber 1 Log collection upload successfully delivered and acknowledged by remote end point NotDeliverednumber 2 Log collection upload was not delivered -
<static, readonly> FirewallPolicy :number
-
Policy to use to pass through firewalls.
Type:
- number
- Source:
Properties:
Name Type Default Description NoFirewallnumber 0 Do not use any mechanism to pass through firewalls UseNatAddressnumber 1 Use the specified public adress UseStunnumber 2 Use a STUN server to get the public address UseIcenumber 3 Use the ICE protocol UseUpnpnumber 4 Use the uPnP protocol -
<static, readonly> GlobalState :number
-
LinphoneGlobalState describes the global state of the LinphoneCore object. It is notified via the
Type:
- number
- Source:
Properties:
Name Type Default Description Offnumber 0 Startupnumber 1 Onnumber 2 Shutdownnumber 3 Configuringnumber 4 -
<static, readonly> IceState :number
-
Enum describing ICE states.
Type:
- number
- Source:
Properties:
Name Type Default Description NotActivatednumber 0 ICE has not been activated for this call or stream Failednumber 1 ICE processing has failed InProgressnumber 2 ICE process is in progress HostConnectionnumber 3 ICE has established a direct connection to the remote host ReflexiveConnectionnumber 4 ICE has established a connection to the remote host through one or several NATs RelayConnectionnumber 5 ICE has established a connection through a relay -
<static, readonly> MediaEncryption :number
-
Enum describing type of media encryption types.
Type:
- number
- Source:
Properties:
Name Type Default Description Nonenumber 0 No media encryption is used SRTPnumber 1 Use SRTP media encryption ZRTPnumber 2 Use ZRTP media encryption -
<static, readonly> PresenceActivityType :number
-
Activities as defined in section 3.2 of RFC 4480
Type:
- number
- Source:
Properties:
Name Type Default Description Offlinenumber 0 This value is not defined in the RFC, it corresponds to no activity with a basic status of "closed". Onlinenumber 1 This value is not defined in the RFC, it corresponds to no activity with a basic status of "open". Appointmentnumber 2 The person has a calendar appointment, without specifying exactly of what type. This activity is indicated if more detailed information is not available or the person chooses not to reveal more information. Awaynumber 3 The person is physically away from all interactive communication devices. Breakfastnumber 4 The person is eating the first meal of the day, usually eaten in the morning. Busynumber 5 The person is busy, without further details. Dinnernumber 6 The person is having his or her main meal of the day, eaten in the evening or at midday. Holidaynumber 7 This is a scheduled national or local holiday. InTransitnumber 8 The person is riding in a vehicle, such as a car, but not steering. LookingForWorknumber 9 The person is looking for (paid) work. Lunchnumber 10 The person is eating his or her midday meal. Mealnumber 11 The person is scheduled for a meal, without specifying whether it is breakfast, lunch, or dinner, or some other meal. Meetingnumber 12 The person is in an assembly or gathering of people, as for a business, social, or religious purpose. A meeting is a sub-class of an appointment. OnThePhonenumber 13 The person is talking on the telephone. Othernumber 14 The person is engaged in an activity with no defined representation. A string describing the activity in plain text SHOULD be provided. Performancenumber 15 A performance is a sub-class of an appointment and includes musical, theatrical, and cinematic performances as well as lectures. It is distinguished from a meeting by the fact that the person may either be lecturing or be in the audience, with a potentially large number of other people, making interruptions particularly noticeable. PermanentAbsencenumber 16 The person will not return for the foreseeable future, e.g., because it is no longer working for the company. Playingnumber 17 The person is occupying himself or herself in amusement, sport, or other recreation. Presentationnumber 18 The person is giving a presentation, lecture, or participating in a formal round-table discussion. Shoppingnumber 19 The person is visiting stores in search of goods or services. Sleepingnumber 20 The person is sleeping. Spectatornumber 21 The person is observing an event, such as a sports event. Steeringnumber 22 The person is controlling a vehicle, watercraft, or plane. Travelnumber 23 The person is on a business or personal trip, but not necessarily in-transit. TVnumber 24 The person is watching television. Unknownnumber 25 The activity of the person is unknown. Vacationnumber 26 A period of time devoted to pleasure, rest, or relaxation. Workingnumber 27 The person is engaged in, typically paid, labor, as part of a profession or job. Worshipnumber 28 The person is participating in religious rites. -
<static, readonly> PresenceBasicStatus :number
-
Basic status as defined in section 4.1.4 of RFC 3863
Type:
- number
- Source:
Properties:
Name Type Default Description Opennumber 0 This value means that the associated contact element, if any, is ready to accept communication. Closednumber 1 This value means that the associated contact element, if any, is unable to accept communication. -
<static, readonly> Privacy :number
-
Defines privacy policy to apply as described by rfc3323
Type:
- number
- Source:
Properties:
Name Type Default Description Nonenumber 0 Privacy services must not perform any privacy function Usernumber 1 Request that privacy services provide a user-level privacy function. With this mode, "from" header is hidden, usually replaced by From: "Anonymous" Headernumber 2 Request that privacy services modify headers that cannot be set arbitrarily by the user (Contact/Via). Sessionnumber 3 Request that privacy services provide privacy for session media Idnumber 4 rfc3325 The presence of this privacy type in a Privacy header field indicates that the user would like the Network Asserted Identity to be kept private with respect to SIP entities outside the Trust Domain with which the user authenticated. Note that a user requesting multiple types of privacy MUST include all of the requested privacy types in its Privacy header field value Criticalnumber 5 Privacy service must perform the specified services or fail the request Defaultnumber 6 Special keyword to use privacy as defined either globally or by proxy using -
<static, readonly> PublishState :number
-
Enum for publish states.
Type:
- number
- Source:
Properties:
Name Type Default Description Nonenumber 0 Initial state, do not use Progressnumber 1 An outgoing publish was created and submitted Oknumber 2 Publish is accepted. Errornumber 3 Publish encoutered an error, Expiringnumber 4 Publish is about to expire, only sent if [sip]->refresh_generic_publish property is set to 0. Clearednumber 5 Event has been un published -
<static, readonly> Reason :number
-
Enum describing various failure reasons or contextual information for some events.
Type:
- number
- Source:
Properties:
Name Type Default Description Nonenumber 0 NoResponsenumber 1 No response received from remote Forbiddennumber 2 Authentication failed due to bad credentials or resource forbidden Declinednumber 3 The call has been declined NotFoundnumber 4 Destination of the call was not found. NotAnswerednumber 5 The call was not answered in time (request timeout) Busynumber 6 Phone line was busy UnsupportedContentnumber 7 Unsupported content IOErrornumber 8 Transport error: connection failures, disconnections etc... DoNotDisturbnumber 9 Do not disturb reason Unauthorizednumber 10 Operation is unauthorized because missing credential NotAcceptablenumber 11 Operation like call update rejected by peer NoMatchnumber 12 Operation could not be executed by server or remote client because it didn't have any context for it MovedPermanentlynumber 13 Resource moved permanently Gonenumber 14 Resource no longer exists TemporarilyUnavailablenumber 15 Temporarily unavailable AddressIncompletenumber 16 Address incomplete NotImplementednumber 17 Not implemented BadGatewaynumber 18 Bad gateway ServerTimeoutnumber 19 Server timeout Unknownnumber 20 Unknown reason -
<static, readonly> RegistrationState :number
-
LinphoneRegistrationState describes proxy registration states.
Type:
- number
- Source:
Properties:
Name Type Default Description Nonenumber 0 Initial state for registrations Progressnumber 1 Registration is in progress Oknumber 2 Registration is successful Clearednumber 3 Unregistration succeeded Failednumber 4 Registration failed -
<static, readonly> SubscribePolicy :number
-
Enum controlling behavior for incoming subscription request.
Type:
- number
- Source:
Properties:
Name Type Default Description Waitnumber 0 Does not automatically accept an incoming subscription request. This policy implies that a decision has to be taken for each incoming subscription request notified by callback Denynumber 1 Rejects incoming subscription request. Acceptnumber 2 Automatically accepts a subscription request. -
<static, readonly> SubscriptionDir :number
-
Enum for subscription direction (incoming or outgoing).
Type:
- number
- Source:
Properties:
Name Type Default Description Incomingnumber 0 Incoming subscription. Outgoingnumber 1 Outgoing subscription. InvalidDirnumber 2 Invalid subscription direction. -
<static, readonly> SubscriptionState :number
-
Enum for subscription states.
Type:
- number
- Source:
Properties:
Name Type Default Description Nonenumber 0 Initial state, should not be used. OutgoingProgressnumber 1 An outgoing subcription was sent IncomingReceivednumber 2 An incoming subcription is received Pendingnumber 3 Subscription is pending, waiting for user approval Activenumber 4 Subscription is accepted. Terminatednumber 5 Subscription is terminated normally Errornumber 6 Subscription encountered an error, indicated by Expiringnumber 7 Subscription is about to expire, only sent if [sip]->refresh_generic_subscribe property is set to 0. -
<static, readonly> TransportType :number
-
Enum describing transport type for LinphoneAddress.
Type:
- number
- Source:
Properties:
Name Type Default Description Udpnumber 0 Tcpnumber 1 Tlsnumber 2 Dtlsnumber 3 -
<static, readonly> TunnelMode :number
-
Enum describing the tunnel modes.
Type:
- number
- Source:
Properties:
Name Type Default Description Disablenumber 0 The tunnel is disabled. Enablenumber 1 The tunnel is enabled. Autonumber 2 The tunnel is enabled automatically if it is required. -
<static, readonly> UpnpState :number
-
Enum describing uPnP states.
Type:
- number
- Source:
Properties:
Name Type Default Description Idlenumber 0 uPnP is not activate Pendingnumber 1 uPnP process is in progress Addingnumber 2 Internal use: Only used by port binding Removingnumber 3 Internal use: Only used by port binding NotAvailablenumber 4 uPnP is not available Oknumber 5 uPnP is enabled Konumber 6 uPnP processing has failed Blacklistednumber 7 IGD router is blacklisted
Methods
-
getAVPFModeText(value)
-
Get the name of a value of the AVPFMode enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the AVPFMode enum. - Source:
-
getCallDirText(value)
-
Get the name of a value of the CallDir enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the CallDir enum. - Source:
-
getCallStateText(value)
-
Get the name of a value of the CallState enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the CallState enum. - Source:
-
getCallStatusText(value)
-
Get the name of a value of the CallStatus enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the CallStatus enum. - Source:
-
getChatMessageStateText(value)
-
Get the name of a value of the ChatMessageState enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the ChatMessageState enum. - Source:
-
getConfiguringStateText(value)
-
Get the name of a value of the ConfiguringState enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the ConfiguringState enum. - Source:
-
getCoreLogCollectionUploadStateText(value)
-
Get the name of a value of the CoreLogCollectionUploadState enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the CoreLogCollectionUploadState enum. - Source:
-
getFirewallPolicyText(value)
-
Get the name of a value of the FirewallPolicy enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the FirewallPolicy enum. - Source:
-
getGlobalStateText(value)
-
Get the name of a value of the GlobalState enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the GlobalState enum. - Source:
-
getIceStateText(value)
-
Get the name of a value of the IceState enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the IceState enum. - Source:
-
getMediaEncryptionText(value)
-
Get the name of a value of the MediaEncryption enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the MediaEncryption enum. - Source:
-
getPresenceActivityTypeText(value)
-
Get the name of a value of the PresenceActivityType enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the PresenceActivityType enum. - Source:
-
getPresenceBasicStatusText(value)
-
Get the name of a value of the PresenceBasicStatus enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the PresenceBasicStatus enum. - Source:
-
getPrivacyText(value)
-
Get the name of a value of the Privacy enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the Privacy enum. - Source:
-
getPublishStateText(value)
-
Get the name of a value of the PublishState enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the PublishState enum. - Source:
-
getReasonText(value)
-
Get the name of a value of the Reason enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the Reason enum. -
getRegistrationStateText(value)
-
Get the name of a value of the RegistrationState enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the RegistrationState enum. - Source:
-
getSubscribePolicyText(value)
-
Get the name of a value of the SubscribePolicy enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the SubscribePolicy enum. - Source:
-
getSubscriptionDirText(value)
-
Get the name of a value of the SubscriptionDir enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the SubscriptionDir enum. - Source:
-
getSubscriptionStateText(value)
-
Get the name of a value of the SubscriptionState enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the SubscriptionState enum. - Source:
-
getTransportTypeText(value)
-
Get the name of a value of the TransportType enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the TransportType enum. - Source:
-
getTunnelModeText(value)
-
Get the name of a value of the TunnelMode enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the TunnelMode enum. - Source:
-
getUpnpStateText(value)
-
Get the name of a value of the UpnpState enum as a string.
Parameters:
Name Type Description valuenumber One of the values of the UpnpState enum. - Source: