Contents

VoiceGuide Help
1. Introduction
Welcome To VoiceGuide
Which version to use
2. System Configuration
System Requirements
Installing v7.x - Dialogic
Installing v7.x - VoIP / HMP
Installing v6.x - Dialogic
Installing v5.x - Voice Modems
Installing v5.x - CAPI compatible cards
Installing v5.x - Dialogic
Installing v5.x - Dialogic Wave Drivers
Text To Speech
Call Transfers and Conferencing
ODBC Data Sources
End of Call Detection
Distinctive Ring Detection
T1/E1 ISDN Configuration
T1/E1 RobbedBit/CAS/R2 Configuration
VoIP Line Registration
Command Line Options
Registering VoiceGuide
Unique System Identifier
3. Script Design
Introduction
Graphical Design Environment
Module Types
Paths
Result Variables
Call Start
Call Finish
Multilanguage Systems
Protected Scripts
Sound files
Testing Scripts
4. Modules Reference
Play
Record
Get Numbers
Say Numbers
Transfer Call
Send Phone Message
Send Pager Message
Send Email
Database Query
Run Program
Time Switch
Evaluate Expression
Run VB Script
Send DDE Command
Hangup Call
5. Voicemail
Introduction
Voicemail System Manager
Voicemail Menus
Message Lamps
6. Outbound Dialing
Loading Numbers to Call
Detect Call Answer
Predictive Dialers
External OutDialQue Source (v7)
External OutDialQue Source (v6)
7. Speech Recognition
Introduction
Grammars
Install LumenVox
8. Logs
Script Logs
Call Detail Records (CDRs)
9. ActiveX / COM Interface
Admin_TraceLogAdd
Dialer_MakeCall
Dialer_OutDialQueAdd
Bridge_Connect
Bridge_Disconnect
Line_Hangup
Line_Pickup
Play_Start
Play_Stop
Record_Stop
Record_Start
Record_2Lines_Start
Run_ResultReturn
RvGet
RvGet_All
RvGet_AllXml
RvSet
RvSet_RvList
Script_Gosub
Script_Goto
Script_Return
Serial_Tx
Vm_Event
Vm_VmbConfig_Get
Vm_VmbConfig_Set
10. PBX Integration (CTI)
Inband Signaling
Ericsson MD110 Voicemail Interface
Legal Information
Copyright & Disclaimer

 
Home
VoiceGuide Online Help
Prev Page Next Page
 
 

Call Detail Records (CDRs)

VoiceGuide v7 will store a log of all the calls which arrived or were made by the system.

The CDR logs are automatically saved in VoiceGuide's \cdr\ subdirectory, and optionally saved to an external database or a SysLog server.

The call information is stored in the following CDR format:

  1. account: An account code designation (string)
  2. src: Caller*ID number (string)
  3. dst: Destination extension (string)
  4. dcontext: Destination context/submenu (string)
  5. clid: Caller*ID with text (string)
  6. channel: Channel used (string)
  7. dstchannel: Destination channel if appropriate (string)
  8. lastapp: Last application if appropriate (string)
  9. lastdata: Last application data (arguments) (string)
  10. start: Start of call (date/time)
  11. answer: Answer of call (date/time)
  12. hangup: End of call (date/time)
  13. duration: Total time in system, in seconds (integer)
  14. billsec: Total time call is up, in seconds (integer)
  15. disposition: What happened to the call: ANSWERED, NO ANSWER, BUSY (string)
  16. amaflags: Billing flags (string)

 

Saving CDR logs to Database

To save the CDR logs to a database the appropriate table must be created and a connection string to the database must be specified in VG.INI file.

Here is a screenshot from SQL Server 2005 showing the created the OutDialQue database and the CallQue table:

The type of each of the columns in the CDR table can be seen in the screenshot.

Note that two separate tables need to be created: CdrIn stores incoming call details and CdrOut stores outgoing call details.

An example VG.INI entry for a SQL Server based CDR log would be:

CDR_ODBC_ConnectString=Driver={SQL Native Client};Server=127.0.0.1;Database=CdrLog;Uid=voiceguide;Pwd=voiceguide;

The above CDR_ODBC_ConnectString entry must be located in the [Log] section of the VG.INI file.

Converted from CHM to HTML with chm2web Pro 2.7 (unicode)