# ECH File construct, order is important, as the application # sequentially reads the file # Source: http://support.avaya.com/css/P8/documents/100114943 # Version 16 echi_records: - name: callid type: int length: 4 - name: acwtime type: int length: 4 - name: onholdtime type: int length: 4 - name: consulttime type: int length: 4 - name: disptime type: int length: 4 - name: duration type: int length: 4 - name: segstart type: datetime length: 4 - name: segstart_utc type: datetime length: 4 - name: segstop type: datetime length: 4 - name: segstop_utc type: datetime length: 4 - name: talktime type: int length: 4 - name: netintime type: int length: 4 - name: origholdtime type: int length: 4 - name: queuetime type: int length: 4 - name: ringtime type: int length: 4 - name: dispivector type: int length: 2 - name: dispsplit type: int length: 2 - name: firstivector type: int length: 2 - name: split1 type: int length: 2 - name: split2 type: int length: 2 - name: split3 type: int length: 2 - name: trunkgroup type: int length: 2 - name: tklocid type: int length: 2 - name: origlocid type: int length: 2 - name: answerlocid type: int length: 2 - name: obslocid type: int length: 2 - name: uuilen type: int length: 2 - name: assist type: bool length: 1 - name: audiodifficulty type: bool length: 1 - name: conference type: bool length: 1 - name: daqueued type: bool length: 1 - name: holdabn type: bool length: 1 - name: malicious type: bool length: 1 - name: observingcall type: bool length: 1 - name: transferred type: bool length: 1 - name: agentreleased type: boolint length: 1 - name: acdnum type: int length: 1 - name: calldisp type: int length: 1 - name: disppriority type: int length: 1 - name: holds type: int length: 1 - name: segment type: int length: 1 - name: ansreason type: int length: 1 - name: origreason type: int length: 1 - name: dispsklevel type: int length: 1 - name: events0 type: int length: 1 - name: events1 type: int length: 1 - name: events2 type: int length: 1 - name: events3 type: int length: 1 - name: events4 type: int length: 1 - name: events5 type: int length: 1 - name: events6 type: int length: 1 - name: events7 type: int length: 1 - name: events8 type: int length: 1 - name: ucid type: str length: 21 - name: dispvdn type: str length: 8 - name: eqloc type: str length: 10 - name: firstvdn type: str length: 8 - name: origlogid type: str length: 10 - name: anslogid type: str length: 10 - name: lastobserver type: str length: 10 - name: dialednumber type: str length: 25 - name: callingparty type: str length: 13 - name: collectdigits type: str length: 17 - name: cwcdigits type: str length: 17 - name: callingII type: str length: 3 - name: cwcs0 type: str length: 17 - name: cwcs1 type: str length: 17 - name: cwcs2 type: str length: 17 - name: cwcs3 type: str length: 17 - name: cwcs4 type: str length: 17 - name: vdn2 type: str length: 16 - name: vdn3 type: str length: 16 - name: vdn4 type: str length: 16 - name: vdn5 type: str length: 16 - name: vdn6 type: str length: 16 - name: vdn7 type: str length: 16 - name: vdn8 type: str length: 16 - name: vdn9 type: str length: 16 - name: asaiuui type: str length: 97 - name: interruptdel type: int length: 1 - name: agentsurplus type: int length: 1 - name: agentskilllevel type: int length: 1 - name: prefskilllevel type: int length: 1 - name: padding type: string length: 45 #ACD table definition derived from acd.dat echi_acds: - name: acd_id type: str length: 255 - name: acd_number type: str length: 255 - name: name type: str length: 255 #Agents table definition derived from agname.dat echi_agents: - name: group_id type: str length: 255 - name: login_id type: str length: 255 - name: name type: str length: 255 #Aux Reasons table definition derived from aux_rsn.dat echi_reasons: - name: group_id type: str length: 255 - name: aux_reason type: str length: 255 - name: name type: str length: 255 #CWC definition derived from cwc.dat echi_cwcs: - name: group_id type: str length: 255 - name: cwc type: str length: 255 - name: name type: str length: 255 #Split table definition derived from split.dat echi_splits: - name: acd_number type: str length: 255 - name: split_number type: str length: 255 - name: name type: str length: 255 #Trunk Group table definition derived from tkgrp.dat echi_trunks: - name: acd_number type: str length: 255 - name: trunk_group type: str length: 255 - name: name type: str length: 255 #VDN definition derived from vdn.dat echi_vdns: - name: group_id type: str length: 255 - name: vdn type: str length: 255 - name: name type: str length: 255 #Vector definition derived from vector.dat echi_vectors: - name: acd_number type: str length: 255 - name: vector_number type: str length: 255 - name: name type: str length: 255