Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Dashboard
TIM Professional
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p>A template file is a set of instructions telling the system how to extract the necessary information from the data sent from your telephone system. A sample template is shown here to demonstrate its use.</p><table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>'IPBX Demo Template 'Created 13 May 2001 'at 20:14 by JOHNSMITH Type = TEXT [Options] HeaderLike = " DATE ##-???-##*" HeaderTake = " xxxxxxxxx" [CallTypes] 'Outgoing Direct ##-???-## ##:##:## ???#:## ### aa bbb cc dd ee ff hhhh ii jjj 1</pre></td></tr></table><p>The file consists of a <span class="keyword">[Type]</span> and <span class="keyword">[Options]</span> section required to pre-process the data before it is usable, and a <span class="keyword">[CallTypes]</span> section which holds the information necessary to extract the call record components from the raw data.</p><h2>[Type] Section</h2><p>This describes how the information is presented to the software. Possible options are described below:</p><table class="confluenceTable"><tbody><tr><th class="confluenceTh">Type</th><th class="confluenceTh">Description</th></tr><tr><td class="confluenceTd"><strong>TEXT</strong></td><td class="confluenceTd">Denotes that the data consists of plain text subscribing to the ASCII standard.</td></tr><tr><td class="confluenceTd"><strong>BCD2.4</strong></td><td class="confluenceTd">Binary-coded decimal values, such as the proprietary format used in the Siemens Realitis PBX.</td></tr><tr><td class="confluenceTd"><strong>EXTERNAL</strong></td><td class="confluenceTd">Informs the system that the data needs to be passed to another separate application before the processing is possible. The path to the external application must be supplied as well in the <span class="keyword">[Options]</span> section under the key name <span class="keyword">ExtPPFilename</span>.</td></tr></tbody></table><h2>[Options] Section</h2><p>This section contains the settings necessary to determine what data pre-processing is required - if any- before the individual call record elements can be extracted. Possible options are described below:</p><table class="confluenceTable"><tbody><tr><th class="confluenceTh">Option</th><th class="confluenceTh">Description</th><th class="confluenceTh">Default value</th></tr><tr><td class="confluenceTd"><strong>EndTime</strong></td><td class="confluenceTd">Informs the call processor that the call time specified is actually the time that the call ended. This ensures that the duration of the call is subtracted from the given call time to achieve the effect of the start time. All call data stored in the database assumes that the call time is the time that the call started, not ended.</td><td class="confluenceTd"><span class="keyword">true</span> or <span class="keyword">false</span></td></tr><tr><td class="confluenceTd"><strong>SubtractAnswerTime</strong></td><td class="confluenceTd">Notifies the call processor to subtract the answer (response) time from the call duration. Use this option if the duration of a call includes the response time.</td><td class="confluenceTd"><span class="keyword">true</span> or <span class="keyword">false</span></td></tr><tr><td class="confluenceTd"><strong>AddAnswerTime</strong></td><td class="confluenceTd">Notifies the call processor to add the answer (response) time to the call duration, if not outputted by the PBX already.</td><td class="confluenceTd"><span class="keyword">true</span> or <span class="keyword">false</span></td></tr><tr><td class="confluenceTd"><strong>StartEndDuration</strong></td><td class="confluenceTd">This option is used when a PBX outputs the call's start and end time separately, but no duration time. As the system requires a call duration, the end time will appears as the duration, in which case this option will instruct the system to subtract the value specified for call time (elements d, e and f) from the value specified for duration (elements g, h and i), in order to achieve the correct duration.</td><td class="confluenceTd"><span class="keyword">true</span> or <span class="keyword">false</span></td></tr><tr><td class="confluenceTd"><strong>Lines</strong></td><td class="confluenceTd">Informs the system how many lines make up a call record. Requires the <span class="keyword">Line1</span> option in order to know how to recognise the first line of a call record. The pre-processor will then amalgamate all lines of a call record into a single line.</td><td class="confluenceTd"> </td></tr><tr><td class="confluenceTd"><strong>Line1</strong></td><td class="confluenceTd">Instructs the system how to identify the first line of a call record, whereafter the system knows how many further lines are necessary before the amalgamation occurs (see <span class="keyword">Lines</span> option, above).</td><td class="confluenceTd"> </td></tr></tbody></table><h2>[CallTypes] Section</h2><p>This section contains information about how the system identifies each line of call logging data, in terms of its call type, e.g. outgoing, incoming, etc, and how to extract the call record elements from the each line. Each call type is being assigned a code, which is then used to identify each line of data with a particular type of call.</p><p>Each type of call consists of three lines of data, as shown below:</p><table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>'Outgoing Direct Dial ##-???-## ##:##:## ???#:## ### ### ####?????????????????????????????????##* aa bbb cc dd ee ff hhhh ii jjj mmm kllllllllllllllll 1</pre></td></tr></table><h5>First line</h5><table class="confluenceTable"><tbody><tr><th class="confluenceTh">Symbol</th><th class="confluenceTh">Description</th></tr><tr><td class="confluenceTd"><span class="keyword">##-???-## ##:##:##</span></td><td class="confluenceTd">The match line, which informs the system how to match this particular call type</td></tr><tr><td class="confluenceTd"><span class="keyword">#</span></td><td class="confluenceTd">Indicates any digit between 0 and 9</td></tr><tr><td class="confluenceTd"><span class="keyword">?</span></td><td class="confluenceTd">Indicates any character including letters and numbers</td></tr><tr><td colspan="1" class="confluenceTd"><span class="keyword">*</span></td><td colspan="1" class="confluenceTd">Indicates that any character or number of characters further on that line are ignored</td></tr></tbody></table><h5>Second line</h5><table class="confluenceTable"><tbody><tr><th class="confluenceTh">Symbol</th><th class="confluenceTh">Description</th></tr><tr><td class="confluenceTd"><span class="keyword"><span class="keyword">aa bbb cc dd ee ff</span></span></td><td class="confluenceTd">Informs the system how to extract each call record element from the line of data</td></tr><tr><td class="confluenceTd"><span class="keyword"><span class="keyword">aa</span></span></td><td class="confluenceTd">Spans the first two characters of the data line meaning that the call date's day should be taken from here;</td></tr><tr><td class="confluenceTd"><span class="keyword"><span class="keyword">bbb</span></span></td><td class="confluenceTd">Spans three characters starting at column 4, showing where the month is taken from.</td></tr></tbody></table><h5>Third line</h5><p>The third line contains the code associated with the type of call. These call type numbers are internally used to identify the call type, as follows:</p><table class="confluenceTable"><tbody><tr><th class="confluenceTh">Call Type #</th><th class="confluenceTh">Type of Call</th></tr><tr><td class="confluenceTd"><strong>1</strong></td><td class="confluenceTd">Outgoing direct dialled</td></tr><tr><td class="confluenceTd"><strong>2</strong></td><td class="confluenceTd">Outgoing failed to connect</td></tr><tr><td colspan="1" class="confluenceTd"><strong>7</strong></td><td colspan="1" class="confluenceTd">Mobile call</td></tr><tr><td colspan="1" class="confluenceTd"><strong>8</strong></td><td colspan="1" class="confluenceTd">Mobile SMS</td></tr><tr><td colspan="1" class="confluenceTd"><strong>50</strong></td><td colspan="1" class="confluenceTd">Outgoing transferred</td></tr><tr><td class="confluenceTd"><strong>100</strong></td><td class="confluenceTd">Answered direct dialled</td></tr><tr><td class="confluenceTd"><strong>101</strong></td><td class="confluenceTd">Answered transferred</td></tr><tr><td class="confluenceTd"><strong>150</strong></td><td class="confluenceTd">Abandoned direct dialled</td></tr><tr><td class="confluenceTd"><strong>151</strong></td><td class="confluenceTd">Abandoned transferred</td></tr><tr><td class="confluenceTd"><strong>200</strong></td><td class="confluenceTd">Internal call</td></tr><tr><td class="confluenceTd"><strong>300</strong></td><td class="confluenceTd">Feature call (dialled number should contain the feature number)</td></tr><tr><td colspan="1" class="confluenceTd"><strong>400</strong></td><td colspan="1" class="confluenceTd">Tandem Call</td></tr><tr><td colspan="1" class="confluenceTd"><strong>500</strong></td><td colspan="1" class="confluenceTd">Event types sent to CTI server</td></tr></tbody></table>
Attachments
Labels
Location
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced