CDR-IP devguide
CDR-IP devguide
02
URGENT
Please find hereafter the description of the real time accounting (or on the fly) over Ethernet designed
to emit tickets towards an external accounting application.
1
OmniPCX Enterprise
REAL TIME ACCOUNTING OVER ETHERNET
CONTENTS
1. OVERVIEW...................................................................................3
1.1. Operating conditions ................................................................................ 3
1.2. PCX management ..................................................................................... 4
4. TOOLS.........................................................................................7
4.1. eaccclt....................................................................................................... 7
4.2. Ethernet ticket accounting simulator ......................................................... 9
5. TROUBLESHOOTING .................................................................10
5.1. Alarms .................................................................................................... 10
5.2. If no tickets are sent towards the external application ............................ 10
5.3. Check if keep alive requests are sent every 30 seconds .......................... 11
6. LIMITATIONS .............................................................................12
1. OVERVIEW
The real time accounting (or on the fly) over Ethernet has been designed to emit tickets towards an
external accounting application.
These tickets can be masked on the level of the number emitted according to the type of
communication (normal, business and personal). The type of tickets (public, private, outgoing,
incoming and so on) can be filtered.
The format of the tickets is identical to that of the tickets stored in compressed form
(/usr4/account/*.DAT).
IMPORTANT
The use of the real time accounting is exclusive: the selection of the tickets via Ethernet prohibits the
use of the output of the tickets on V24 interface and vice-versa.
To ensure correct management of on the fly accounting, the following items must be taken into
account:
• Operating conditions
• PCX management
PSTN
LAN client
Tickets
Accounting
application
WARNING
Accounting filters can be set so that only the required tickets are emitted.
Select among the list below only the type of tickets exploited by the external application:
ApplicationS > Accounting
Attributes: Real-Time Tick. Outp. Parameters
Filters:
Public Outgoing PCX calls (The major outgoing ticket when PCX is stand alone)
Public Outgoing Network Calls
PCX Network Calls (2)
Private Outgoing PCX Calls
Private Outgoing Network Calls
Public Incoming PCX Calls
Public Incoming Network Calls
Private Incoming PCX Calls
Private Incoming Network Calls
Priority Incoming Calls
Data Outgoing/Incoming Calls
Public Outgoing 0 Unit Calls (1)
Non Ticketed User
PCX PCX Calls (2)
PCX Transit Calls (2)
PCX/Netw Count. Tick. Duration 0
CDR (Tickets) Management (2)
Notes
1 If no pulses are computed by the PCX or received from the public operator, all the tickets with 0
unit will be stopped. So, it is better to add this filter when no tickets are sent to the external
accounting application.
2 CAUTION: 'Internal', 'transit' and 'management' tickets are not available for the 'V24 Real time'
feature. If these tickets are selected, you can no more select Real Time Tickets Output =
V24 except if before they were deleted in the filter.
Netaccess server
TCP/IP stack
Ethernet driver
OmniPCX Enterprise
LAN
4. TOOLS
4.1. eaccclt
eaccclt is an embedded tool which can help troubleshooting or getting information about the
ticket format.
Real time tickets can be displayed but they are not sent at this step through the LAN.
It is mandatory to disconnect the external application when using eaccclt.
> eaccclt
eaccclt - ethernet accounting client
eaccclt -[aelv]
-a attribute number
list of attributes to print.
-ascii
one ticket per line and ascii printing.
-cpu hostname|IP address
list of cpu.
-e accounting|mao
lists all known ticket editions.
-help
this help.
-l accounting|mao
meanings of the enumerated and bitstring attributes.
-time time limit
time limit in case of connection failure (default=15mn).
-v
prints the values of the attributes (default is meaning).
-waiting waiting time
waiting time after a connection failure (default=30s).
Duration = 4
TrunkIdentity = 15
TrunkGroupIdentity = 10
TrunkNode = 302
PersonalOrBusiness = Normal (2)
AccessCode =
SpecificChargeInfo = PBXGeneratedChargeUnits (2)
BearerCapability = Speech (2)
HighLevelComp = Telephony (1)
DataVolume = 0
UserToUserVolume = 0
ExternalFacilities = CallingLineIdentificationPresentation (0)
InternalFacilities = BasicCall (23)
CallReference = 33
SegmentsRate1 = 0
SegmentsRate2 = 0
SegmentsRate3 = 0
ComType = Voice (1)
X25IncomingFlowRate = Unspecified (0)
X25OutgoingFlowRate = Unspecified (0)
Carrier = 0
InitialDialledNumber =
WaitingDuration = 0
EffectiveCallDuration = 0
RedirectedCallIndicator = 0
StartDateTime = 20051206 12:59:32
ActingExtensionNumber = 6410
CalledNumberNode = 9999
CallingNumberNode = 9999
InitialDialledNumberNode = 9999
ActingExtensionNumberNode = 302
TransitTrunkGroupIdentity = 32767
NodeTimeOffset = 0
(15) TrunkIdentity..............[212-216]
(16) TrunkGroupIdentity.........[217-221]
(17) TrunkNode..................[222-226]
(18) PersonalOrBusiness.........[227-227]
(19) AccessCode.................[228-243]
(20) SpecificChargeInfo.........[244-250]
(21) BearerCapability...........[251-251]
(22) HighLevelComp..............[252-253]
(23) DataVolume.................[254-263]
(24) UserToUserVolume...........[264-268]
(25) ExternalFacilities.........[269-308]
(26) InternalFacilities.........[309-348]
(27) CallReference..............[349-358]
(28) SegmentsRate1..............[359-368]
(29) SegmentsRate2..............[369-378]
(30) SegmentsRate3..............[379-388]
(31) ComType....................[389-389]
(32) X25IncomingFlowRate........[390-391]
(33) X25OutgoingFlowRate........[392-393]
(34) Carrier....................[394-395]
(35) InitialDialledNumber.......[396-425]
(36) WaitingDuration............[426-430]
(37) EffectiveCallDuration......[431-440]
(38) RedirectedCallIndicator....[441-441]
(39) StartDateTime..............[442-458]
(40) ActingExtensionNumber......[459-488]
(41) CalledNumberNode...........[489-493]
(42) CallingNumberNode..........[494-498]
(43) InitialDialledNumberNode...[499-503]
(44) ActingExtensionNumberNode..[504-508]
(45) TransitTrunkGroupIdentity..[509-513]
(46) NodeTimeOffset.............[514-519]
5. TROUBLESHOOTING
5.1. Alarms
As soon as the external application is disconnected, the following alarm is displayed:
07/12/05 13:27:21 003002M|--/--/-/---|=0:2663=Erreur IPC Chorus : appli
SERV_APL oper 7 err -1
When the external application is disconnected for a long time, the following alarm is displayed:
06/12/05 05:25:51 003002M|--/--/-/---|=2:0276=External accounting
application ??? : NO RECOVERY
This incident is cyclical (every 4 hours).
3 If no tickets are generated, verify the accounting management and the locks. Refer to sections
1.1 & 1.2 .
If the tickets are properly generated, that means the accounting management and the locks are
correct. Go to step 4 .
REMINDER
In case of a PCX network and no trunk group on the node where the real time accounting is
managed, the tickets must be sent back by the 'Subscriber Node Accounting' feature from the node
where the trunk group is located.
System > Other System Param. > Accounting Parameters
Attribute: Accounting Ticket To User Node = All or Administrative or Guest
TN = 201
Network number = 2
LAN client
Figure 2
CPN: Charged Party Node
TN : Trunk Node
In this example (Figure 2), the Accounting Ticket To User Node must be set in node 1.
If the TCP/IP keep alive requests are working fine but no tickets are sent to the external
application yet, the IP rooting can be wrong. So, connect the simulator or the external
application directly to the PCX Ethernet access in order to avoid a possible firewall filtering or
wrong routing through the customer LAN.
6. LIMITATIONS
Tickets will be lost as soon as the buffer gets full or when the link is cut.
7.1. Example
Note
Keep alive requests are not shown.
SERVER CLIENT
Write :
Read - 3 bytes length
- ‘S’
HEX >00 01 53
Write :
- 3 bytes length Read
- ‘P’
HEX >00 01 50
Write :
- 4 bytes length
Read - DEST_4400
- INIT_REQ
HEX >00 02 00 00
Write :
- 2 bytes length
- DEST_EXT
- INIT_RSP Read
HEX >03 04
Write :
- 772 bytes length Read
- DEST_EXT
- TICKET_INFO
HEX >XY ZW 01 02_ _ _ …
Write :
- 4 bytes length
- DEST_4400
Read - TICKET_ACK
HEX >00 02 00 03
Close Close