AsnNetDatabaseJournal

The structure of a journal entry of conversations on the UCServer.

This sequence describes a call or other conversation when it is stored in the history database called "journal".

With this structure it it possible to see when an conversation or event has happend and other meta information about it.
The API provides functions to alter or add information of that entry.
New entries can only be generated by the UCServer.

AsnNetDatabaseJournal is an Object

Name Type Optional Comment
u8sConnectionID string Unique ID of the call

stStartTime string Time stamp start of call (first event).

stStopTime string Time stamp end of call (last event).

iDurationTotal number Duration of the call from stStartTime to stStopTime in seconds.

stConnectTime string Time stamp when the call was connected (e.g. accepted).

stDisconnectTime string Time stamp when the call was disconnected (e.g. hangup).

iDurationConnected number Duration of the call from stConnectTime to stDisconnectTime in seconds.

iOrigin number 1: outgoing call (outbound), 0: incoming Gespr├Ąch (inbound)

iInternal number 1: internal call (call with internal partner), 0: external call (call with external partner)

u8sLineNumber string Number of the line, the call was active.

u8sLineName string A Name of the Line (can be the owner's name or a name configured in the PBX).

u8sLineUserName string The user name of the line owner.

iLineUserOffline number 1: user was offline during the call was active.

u8sLocalNumber string Number of the line in local format (can be different to u8sLineNumber).

u8sPhoneNumber string Phone number of the partner of the call.

u8sRedirectingNumber string If the call was redirected from another extension, the phone number of that line is given here.

u8sContactName string If available, the name of the call partner.

u8sContactCompany string If available, the company of the call partner.

u8sContactEntryID string If available, entry id of the contact data to get it from the source database.

u8sContactEntryStoreID string If available, store id of the contact data to get it from the source database.

u8sContactEntryDBID string If available, entry database id of the contact data to get it from the source database.

u8sCtiServerUserName string User name of the owner.

u8sProviderNumber string TBD

rCharging number deprecated, unused.

iSucessState number TBD

u8sSubject string Free text, unused.

u8sMemo string Free text, contains possible comment to the call.

iReadFlag number 0: call was not marked as read, 1: call was marked as read.

projectPinRule AsnProjectPinRule Contains further information about possible used project or pin rules.

(Linked Type: AsnProjectPinRule)
u8sTrackerID string Unique ID for the call tracker, which contains further information about the call history if the call was forwarded for example.

u8sAcceptorName string If available, the name of the user who accepted the call (e.g. if the call was missed by the owner and a collegue has picked it up instead).

u8sAcceptorCtiServerUserName string If available, the user name of the user who accepted the call (e.g. if the call was missed by the owner and a collegue has picked it up instead).

u8sAcceptorConnectionID string If available, the unique id of the journal entry, which was the call of the acceptor (e.g. if the call was missed by the owner and a collegue has picked it up instead).

optionalParams AsnOptionalParameters yes Additional parameters for AsnNetDatabaseJournalFindOptions added here for backward compatibility.

  • Key "bMemoComplete", Value bool, optional. Only present if the entry represnets a text chat entry and the logged in user is owner of this entry.
  • Key "TrackerLastCall", Value integer, optional. 1 if it is the last call of a call tracker sequence of calls.
  • Key "NoStatistic", Value integer, optional. 1 if this entry should be ingnored for statistic services (e.g. ProCall Analytics).
  • Key "CallType", Value integer, not optional. Type of the call, valid values are defined in AsnNetDatabaseJournalCallType.
  • Key "iTransactionID", Value integer, not optional. Transaction id of the entry in the database.
  • Key "iChatSequenceID", Value integer, optional. Sequence id of text chat entries.

Version 6.1