网络管理 : CiscoWorks Voice Manager

CVM 2.02 - 呼叫历史报表原始数据格式说明

2016 年 10 月 24 日 - 机器翻译
其他版本: PDFpdf | 英语 (2015 年 8 月 22 日) | 反馈


目录


简介

Cisco语音管理器(CVM) 2.02使用Telemate QuickView 报告程序包处理来自CVM的原始数据格式,并提供用户可读的报告。本文为希望开发他们自己的报告工具的客户解释了原始数据格式字段。它描述的文件是当向路由器轮询呼叫历史记录数据时,由CVM 2.02输出的。

先决条件

要求

本文档没有任何特定的要求。

使用的组件

本文档中的信息根据CVM版本2.02。

本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您使用的是真实网络,请确保您已经了解所有命令的潜在影响。

规则

有关文档规则的详细信息,请参阅 Cisco 技术提示规则

CVM 路由器文件

此文件是当CVM轮询者应用程序开始或一个新的路由器添加到CVM时生成的。CVM路由器文件的文件名为router.dat文件包括一个报头记录和至少一个路由器记录。所有记录包括被分号分隔的字段。

报头纪录

Identifier          CVM Router 2.0
Version             2
Time Stamp          NT Timestamp of when file generated.
Record Count        The number of router records that follow.

路由器记录

Router IP Address   IP address of router
Router Name         Name of router, if available.

CVM 呼叫历史记录文件

此文件为在CVM内的每个路由器生成,每当CVM轮询者应用程序收到路由器的语音质量(QoV)陷阱或从路由器解压缩呼叫历史记录信息时。CVM呼叫历史记录文件的文件名格式是r_..dat。此文件名规则保证每当CVM从路由器获得呼叫历史记录数据时,生成一个唯一的文件。

文件包括一个报头记录和至少一个QoV陷阱记录或者呼叫历史记录数据记录。QoV陷阱记录的生成,只发生在当相关的呼叫历史记录记录(由连接ID [GUID]识别)不在当前呼叫历史记录数据集的时候。如果呼叫历史记录记录存在,则QoV陷阱信息结合VoIP呼叫段记录为了适当的连接ID。

所有记录包括由逗号分隔的字段。

报头纪录

Identifier              CVM2.0
Version                 2
Time Stamp              NT Timestamp of poll
Router IP address       IP address of router
Router sysUpTime        Current value of router's sysUpTime in 1/100th seconds. (unsigned 
 long)
QOV record count        The number of QoV Trap records that follow
Record count            The number of Call History records that follow

QoV 陷阱记录(可选)

Record Type             5
Connection ID (GUID)    hex-string
Icpif                   integer

呼叫历史记录数据记录(可选)

所有呼叫历史记录记录有此格式:

Record Type                                           0 - Telephony, 1- VoIP, 2 - VoATM, 
 3 - VoFR
Source IP address                                     IP address of source router or null 
 (if from phone)
Destination IP address                                IP address of destination router or 
 null (if to phone)
Connection ID (GUID)(cvCallHistoryConnectionId)       Hex-string
Calling/Called Number (cCallHistoryPeerAddress)       Digit-string
Sub-address (cCallHistoryPeerSubAddress)              String
Disconnect Text(cCallHistoryDisconnectText)           Textual value of disconnect cause 
 (see list at end of document)
Connect Time (cCallHistoryConnectTime)                Call connect time mm/dd/yy hh:mm:ss
Disconnect Time (cCallHistoryDisconnectTime)          Call disconnect time mm/dd/yy 
 hh:mm:ss
Origin (cCallHistoryCallOrigin)                       1 - originate, 2 - answer, 
 3 - callback
Charged Units (cCallHistoryChargedUnits)              Unsigned long
Call Type (cCallHistoryInfoType)                      2 - voice, 10 - fax
Transmit Packets (cCallHistoryTrasmitPackets)         Unsigned long
Transmit Bytes (cCallHistoryTransmitBytes)            Unsigned long
Receive Packets (cCallHistoryReceivePackets)          Unsigned long
Receive Bytes (cCallHistoryReceiveBytes)              Unsigned long
Call Leg Specific Data                                See following definitions.

电话呼叫段数据

Transmit Duration (cvCallHistoryTxDuration)           Unsigned long
Speech Duration (cvCallHistoryVoiceTxDuration)	      Unsigned long
Fax Duration (cvCallHistoryFaxTxDuration)             Unsigned long
Coder Rate (cvCallHistoryCoderTypeRate)	              Coder rate used during call:
 1 - other
 2 - fax2400
 3 - fax4800
 4 - fax7200
 5 - fax9600
 6 - fax14400
 7 - fax12000
10 - g729r8000
11 - g729Ar8000
12 - g726r16000
13 - g726r24000
14 - g726r32000
15 - g711ulawr64000
16 - g711Alawr64000
17 - g728r16000
18 - g723r6300    
19 - g723r5300
20 - gsmr13200
21 - g729Br8000
22 - g729ABr8000
23 - g723Ar6300
24 - g723Ar5300
25 - ietfg729r8000
Noise Level (cvCallHistoryNoiseLevel)                 Integer
ACOM Level (cvCallHistoryACOMLevel)                   Integer
Session Target (cvCallHistorySessionTarget)           String
Image Page Count (cvCallHistoryImgPageCount)          Unsigned long
PeerId (cCallHistoryPeerId)                           Integer
PeerIfIndex (cCallHistoryPeerIfIndex)                 Integer
LogicalIfIndex (cCallHistoryLogicalIfIndex)           Integer
PeerIfName                                            String
LogicalIfName                                         String
Call Setup Time (cCallHistorySetupTime                Call setup time mm/dd/yy hh:mm:ss

VoIP 呼叫段数据

Vad Enabled (cvCommonDcCallHistoryVADEnabled)             1 - true, 2 - false
Coder Rate (cvCommonDcCallHistoryCoderTypeRate)           See Telephony Call Leg Data
Codec Bytes (cvCommonDcCallHistoryCodecBytes)             Integer
InBand Signaling (cvCommonDcCallHistoryInbandSignalling)  1 - cas, 2 - external, 3 - cept, 
 4 - transparent
Remote IP address (cvVoIPCallHistoryRemoteIPAddress)      IP address
Remote UDP port (cvVoIPCallHistoryRemoteUDPPort)          Integer
Round Trip Delay (cvVoIPCallHistoryRoundTripDelay)        Unsigned long
Selected Qos (cvVoIPCallHistorySelectedQos)               1 - best effort, 
 2 - controlled-load, 3- guaranteed-load
Protocol (cvVoIPCallHistorySessionProtocol)               1 - other, 2 - cisco, 
 3- sdp, 4-sip
Session Target (cvVoIPCallHistorySessionTarget)           String
Icpif (cvVoIPCallHistoryIcpif)                            Integer
Lost Packets (cvVoIPCallHistoryLostPackets)               Unsigned long
Late Packets (cvVoIPCallHistoryLatePackets)               Unsigned long
Early Packets (cvVoIPCallHistoryEarlyPackets)             Unsigned long
QOVTrap                                                   0 - no, 1 - yes
QOVTrap Icpif                                             Integer
OnTimePlayOut (cvVoIPCallHistoryOnTimRvPlayout)           Unsigned long
GapFilledWithSilence 
  (cvVoIPCallHistoryGapFilledWithSilence)                 Unsigned long	
GapFilledWithPrediction 
  (cvVoIPCallHistoryGapFilledWithPrediction)              Unsigned long
GapFilledWithInterpolation 
  (cvVoIPCallHistoryGapFilledWithInterpolation)           Unsigned long
GapFilledWithRedundancy 
  (cvVoIPCallHistoryGapFilledWithRedundancy)              Unsigned long
HiWaterDelay (cvVoIPCallHistoryHiWaterPlayoutDelay)       Unsigned long
LoWaterDelay (cvVoIPCallHistoryLoWaterPlayoutDelay)       Unsigned long
ReceiveDelay (cvVoIPCallHistoryReceiveDelay)              Unsigned long
PeerId (cCallHistoryPeerID)                               Integer
PeerIfIndex (cCallHistoryPeerIfIndex)                     Integer
LogicalIfIndex (cCallHistoryLogicalIfIndex)               Integer
PeerIfName                                                String
LogicalIfName                                             String
Call Setup Time (cCallHistorySetupTime)                   Call setup time mm/dd/yy 
 hh:mm:ss

VoATM 呼叫段数据

Vad Enabled (cvCommonDcCallHistoryVADEnabled)             1 - true, 2 - false
Coder Rate (cvCommonDcCallHistoryCoderTypeRate)           See Telephony Call Leg Data
Codec Bytes (cvCommonDcCallHistoryCodecBytes)             Integer
InBand Signaling (cvCommonDcCallHistoryInBandSignaling)   1 - cas, 2 - external, 3 - cept, 
 4 - transparent
Interface Name (cvAtmCallHistoryInterfaceName)            String
Session Target (cvAtmCallHistorySessionTarget)            String
Vpi (cvAtmCallHistoryVpi)                                 Integer
Vci (cvAtmCallHistoryVci)                                 Integer
Sub-channel id (cvAtmCallHistoryCid)                      Integer
Protocol (cvAtmCallHistorySessionProtocol)                1 - cisco-switched, 2 - frf11
DTMF Relay (cvAtmCallHistoryDtmfRelay)                    1 - true, 2 - false
Sequence Numbers (cvAtmCallHistorySequenceNumbers)        1 - true, 2 - false
PeerId (cCallHistoryPeerID)                               Integer
PeerIfIndex (cCallHistoryPeerIfIndex)                     Integer
PeerIfName                                                String
LogicalIfName                                             String
Call Setup Time (cCallHistorySetupTime)                   Call setup time mm/dd/yy 
 hh:mm:ss

VoFR 呼叫段数据

Vad Enabled (cvCommonDcCallHistoryVADEnabled)             1 - true, 2 - false
Coder Rate (cvCommonDcCallHistoryCoderTypeRate)           See Telephony Call Leg Data
Codec Bytes (cvCommonDcCallHistoryCodecBytes)             Integer
InBand Signaling (cvCommonDcCallHistoryInBandSignaling)   1 - cas, 2 - external, 3 - cept, 
 4 - transparent
Interface Name (cvFrCallHistoryInterfaceName)             String
Session Target (cvFrCallHistorySessionTarget)             String
Dlci (cvFrCallHistoryDlci)                                Integer
Sub-channel id (cvFrCallHistoryCid)                       Integer
Protocol (cvFrCallHistorySessionProtocol)                 1 - cisco-switched, 2 - frf11
DTMF Relay (cvAtmCallHistoryDtmfRelay)                    1 - true, 2 - false
Sequence Numbers (cvFrCallHistorySequenceNumbers)         1 - true, 2 - false
PeerId (cCallHistoryPeerID)                               Integer
PeerIfIndex (cCallHistoryPeerIfIndex)                     Integer
LogicalIfIndex (cCallHistoryLogicalIfIndex)               Integer
PeerIfName                                                String
LogicalIfName                                             String
Call Setup Time (cCallHistorySetupTime)                   Call setup time mm/dd/yy 
 hh:mm:ss

断开原因

此列表描述在每呼叫历史记录数据记录Disconnect Text字段输出的断开文本字符串(如当前定义在Cisco IOS软件编码) :

char *cause_strings[] = {
    "",                                              /* 0 */
    "unassigned number.",                            /* 1 */
    "no_route_to_transit_network",                   /* 2 */
    "no route to destination.",                      /* 3 */
    "send info tone",                                /* 4 */
    "misdialled trunk prefix",                       /* 5 */
    "channel unacceptable",                          /* 6 */
    "call awarded",                                  /* 7 */
    "preemption",                                    /* 8 */
    "preemption reserved",                           /* 9 */
    "n/a",                                           /* 10 */
    "n/a",                                           /* 11 */
    "n/a",                                           /* 12 */
    "n/a",                                           /* 13 */
    "n/a",                                           /* 14 */
    "n/a",                                           /* 15 */
    "normal call clearing.",                         /* 16 */
    "user  busy.",                                   /* 17 */
    "no user response.",                             /* 18 */
    "no user answer.",                               /* 19 */
    "subscriber absent",                             /* 20 */
    "call rejected.",                                /* 21 */
    "number changed",                                /* 22 */
    "n/a",                                           /* 23 */
    "n/a",                                           /* 24 */
    "n/a",                                           /* 25 */
    "non selected user clearing",                    /* 26 */
    "destination out of order",                      /* 27 */
    "invalid number.",                               /* 28 */
    "facility rejected",                             /* 29 */
    "response to status enquiry",                    /* 30 */
    "normal,    unspecified.",                       /* 31 */
    "n/a",                                           /* 32 */
    "n/a",                                           /* 33 */
    "no circuit.",                                   /* 34 */
    "requested vpci vci not available",              /* 35 */
    "vpci vci assignment failure",                   /* 36 */
    "cell rate not available",                       /* 37 */
    "network out of order",                          /* 38 */
    "perm frame mode out of service",                /* 39 */
    "perm frame mode operational",                   /* 40 */
    "temporary failure",                             /* 41 */
    "switch congestion",                             /* 42 */
    "access info discarded",                         /* 43 */
    "no requested circuit.",                         /* 44 */
    "no vpci vci available",                         /* 45 */
    "precedence call blocked",                       /* 46 */
    "no resource.",                                  /* 47 */
    "n/a",                                           /* 48 */
    "qos unavailable",                               /* 49 */
    "facility not subcribed",                        /* 50 */
    "n/a",                                           /* 51 */
    "n/a",                                           /* 52 */
    "cug outgoing calls barred",                     /* 53 */
    "n/a",                                           /* 54 */
    "cug incoming calls barred",                     /* 55 */
    "n/a",                                           /* 56 */
    "bearer capability not authorized",              /* 57 */
    "bearer capability not available",               /* 58 */
    "n/a",                                           /* 59 */
    "n/a",                                           /* 60 */
    "n/a",                                           /* 61 */
    "inconsistency in info and class",               /* 62 */
    "service or option not available, unspecified",  /* 63 */
    "n/a",                                           /* 64 */
    "bearer capability not implemented",             /* 65 */
    "chan type not implemented",                     /* 66 */
    "n/a",                                           /* 67 */
    "n/a",                                           /* 68 */
    "facility not implemented",                      /* 69 */
    "restricted digital info bc only",               /* 70 */
    "n/a",                                           /* 71 */
    "n/a",                                           /* 72 */
    "n/a",                                           /* 73 */
    "n/a",                                           /* 74 */
    "n/a",                                           /* 75 */
    "n/a",                                           /* 76 */
    "n/a",                                           /* 77 */
    "n/a",                                           /* 78 */
    "service not implemented",                       /* 79 */
    "n/a",                                           /* 80 */
    "invalid call ref value",                        /* 81 */
    "channel does not exist",                        /* 82 */
    "call exists call id in use",                    /* 83 */
    "call id in use",                                /* 84 */
    "no call suspended",                             /* 85 */
    "call cleared",                                  /* 86 */
    "user not in cug",                               /* 87 */
    "incompatible destination",                      /* 88 */
    "n/a",                                           /* 89 */
    "non existent cug",                              /* 90 */
    "invalid transit network",                       /* 91 */
    "n/a",                                           /* 92 */
     "aal parms not supported",                      /* 93 */
    "n/a",                                           /* 94 */
    "invalid message",                               /* 95 */
    "mandatory ie missing",                          /* 96 */
    "message type not implemented",                  /* 97 */
    "message type not compatible",                   /* 98 */
    "ie not implemented",                            /* 99 */
    "invalid ie contents",                           /* 100 */
    "message in incomp call state",                  /* 101 */
    "recovery on timer expiry",                      /* 102 */
    "non implemented param passed on",               /* 103 */
    "n/a",                                           /* 104 */
    "n/a",                                           /* 105 */
    "n/a",                                           /* 106 */
    "n/a",                                           /* 107 */
    "n/a",                                           /* 108 */
    "n/a",                                           /* 109 */
    "unrecognized param msg discarded",              /* 110 */
    "protocol error",                                /* 111 */
  };

相关信息


Document ID: 13407