Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No CDR output

Status
Not open for further replies.

Nasredine

Programmer
May 1, 2022
33
DZ
Hi,
I'm trying to activate CDR. I'm not the one that has configure it before, so I'm not sure if it was done properly.
When I execute : DIS-LSSM; I've the server activated but when I try to log into it to get records using SSH or Telnet, I got timeout error.
Any help.

********* RMX : LOGON at 2022/12/16 08:46:46 ONLINE BATCHPROCESSING ********

*** HICOM-Nr: RMX Contract: 00 Name:

L01: LOGON ACCEPTED TSN 3226 ALLOCATED 22-12-16 08:47:07
<DIS-LSSM;

DIS-LSSM;
H500: AMO LSSM STARTED

+=========================================================================+
| STATE OF LAN - CHANNELS |
+=========================================================================+
| | | SYSTEM | USER |
| TCP- | STATE |=========================================================|
| LINE | | IP ADRESS | PORT | IP ADRESS | PORT |
+=========================================================================+
| 1 | ON | 192.0.2.3 | 1201 | 0.0.0.0 | 0 |
| 2 | ON | 192.0.2.3 | 1202 | 0.0.0.0 | 0 |
| 3 | OFF | 0.0.0.0 | 0 | 0.0.0.0 | 0 |
| 4 | OFF | 0.0.0.0 | 0 | 0.0.0.0 | 0 |
| 5 | OFF | 0.0.0.0 | 0 | 0.0.0.0 | 0 |
| 6 | ON | 192.0.2.3 | 1206 | 0.0.0.0 | 0 |
+=========================================================================+

AMO-LSSM -111 LINE SWITCH, SERVICE MODULES
DISPLAY COMPLETED;
<***** ***** AMO run time 00:00:01 *****

************************* RMX : LOGOFF *************************

*** HICOM-Nr: RMX Contract: Name:
 
DIS-SELS;
H500: AMO SELS STARTED

OPERATING CONDITIONS OF THE SELECTION GROUPS

SELGRNO OPERATING CONDITION

1 ON
2 ON
3 STOP
4 STOP
AMO-SELS -111 SMDR/DMDR SELECTION GROUP SWITCHES
DISPLAY COMPLETED;
<***** ***** AMO run time 00:00:00 *****

************************* RMX : LOGOFF *************************
 
Initially I would just
DEA-SELS:1;
DEA-SELS:2;
ACT-SELS:1;
ACT-SELS:2;

Then
DIS-LSSM;
again to see if working
 
I've got :

L01: LOGON ACCEPTED TSN 3303 ALLOCATED 22-12-16 17:34:45
<DIS-LSSM;

DIS-LSSM;
H500: AMO LSSM STARTED

+=========================================================================+
| STATE OF LAN - CHANNELS |
+=========================================================================+
| | | SYSTEM | USER |
| TCP- | STATE |=========================================================|
| LINE | | IP ADRESS | PORT | IP ADRESS | PORT |
+=========================================================================+
| 1 | ON | 192.0.2.3 | 1201 | 0.0.0.0 | 0 |
| 2 | ON | 192.0.2.3 | 1202 | 0.0.0.0 | 0 |
| 3 | OFF | 0.0.0.0 | 0 | 0.0.0.0 | 0 |
| 4 | OFF | 0.0.0.0 | 0 | 0.0.0.0 | 0 |
| 5 | OFF | 0.0.0.0 | 0 | 0.0.0.0 | 0 |
| 6 | ON | 192.0.2.3 | 1206 | 0.0.0.0 | 0 |
+=========================================================================+

AMO-LSSM -111 LINE SWITCH, SERVICE MODULES
DISPLAY COMPLETED;
<***** ***** AMO run time 00:00:00 *****

************************* RMX : LOGOFF *************************

*** HICOM-Nr: RMX Contract: Name:

Try ssh or telnet

11111_woft7g.png
 
So you can not log on via Port 1202 ?
You should be able to log on there
Are you plugged into the Atlantic LAN or Service Port - give your PC 192.0.2.100 255.255.255.0 and see can you PING 192.0.2.3
Then try again
 
Hi

try soft restart of unit A1

still not get the data

system has to do the hard restart.

this type of issue I am getting frequently if client machine connectivity down.

The system continues dumping cdr data and if the memory full it hangs the ports .

If tried deactivation and activation of sels not resolved; only solution is to restart the system and dont forget to update before restart.

Dis-Lssm has to show the client machine IP address
 
What version is it and is it up to date with patches and hot fixes
 
Hi,
I successfully pinged the server after changing my PC's IP. However, the SSH connection is not working and Telnet is not accepting my SSH credentials that I am using to connect to the machine. How can I determine the correct credentials to connect and get the CDR?

2023-01-27_16-48_b1ueha.png


Thanks in advance.
 
I was able to connect and receive output. I should use: 'telnet 192.0.2.3 1201'.

Now, I want to connect my PC to the network so that I can access 192.168.10.103 using SSH and access 192.0.2.3 using Telnet. What is the solution? Is it possible to change the destination IP of the CDR to another IP, such as 192.168.10.X

Kind regards.
 
IP Address:port Number is normal
Port 1202 is normal for CDR - 1201 is for alarms etc.

You can not 'join' the Atlantic LAN (192.0.2.0/24) with another IP range
There are in depth possibilities to store and forward using ftp within the 4k but that is beyond a forum like this.

Connect A PC using 2 network cards or connect 2 'Semiconductor Buffers' - one connected to the Atlantic LAN (CDR) and one to the Customer LAN and use a serial cable between them.

EDIT: you could use a router - Cisco or similiar to allow 192.0.2.x onto your LAN but indepth knowledge of Cisco operation would be required - you could also use an internal FTP server within the HiPath to store and forward the CDR but again indepth knowledge is required.
 
Thank you for the answer.
I've a couple of questions.
1. Yesterday, I received data from 2018, however today I'm getting data from last disconnection time. Can I conclude, that once data is sent by CDR, it 's no longer available ?
2. Does data sent in real-time ? periodically in specific time range ? or what ?

3. I've two data format forwarded in ports : 1201 and 1202.
Code:
E18/12/2210:19:5010:20:493990 06XXXX              104081       0 :7 0         NORMAL        
E18/12/2210:20:4910:21:193990 2218                    104081       0 :0 0    2233 RING_BACK     
E18/12/2210:21:1910:21:193990 2218                    104081       0 :0 0         RECALL        
E18/12/2210:21:1710:21:333990 038XXXX               103080       0 :4 0         NORMAL        
E18/12/2210:21:1910:21:333990 2218                    104081       0 :0 0         RECALL        
E18/12/2210:21:3310:21:363990 2095                    103080       0 :0 0    2233 RING_BACK
Here in some lines, there is only the number of caller.
3.1 why the caller ID is not provided in some lines ?
In the other format:
Code:
F2750 M8 N7827 MC TRACE BPB   CP-MSG   CALL TRACING            23-01-27 19:32:56
      ALARM CLASS:CENTRAL:024                                                   
         CALLEE:2011                                                            
         CALLER:2244                                                            
      FORMAT:2
RECNO:3464 STARTED AT 23-01-27/19:32
NO APPELANT      : 2244              DESTINATION    : 38XXXX   
TRANSFERT PAR    :                   DESTINATION    : 38XXXXX   
TYPE D'APPEL    : S              DUREE SONNERIE : 0076
NO JONCTION     : 103080         IDENT. ABONNE  : NST   
DEBUT DE L'APPEL: 19:32:56.5     FIN DE L'APPEL : 19:32:56.5 
***RECORD-END***
Here, there are all information needed and it seems that the data format was configured before (french properties).
3.2. what is the difference between data forwarded in the two ports ?
3.3. Is there a way to change data format ?
 
The original fault here was 'No CDR output' now that you have it working - that's it.
The 'problem' with the CDR on the HiPath 4000 is that it is very configurable and it depends on that configuration as to what you get out.
It is a complex part of the 4000.
1. There is a configurable buffer on the HiPath which stores the CDR (a limited amount of records) until they are 'released' to a printer/computer etc.
2. If you are connected in real time then the records are in real time - if you are disconnected then the built in buffer will store some until next connection.
3.1 - because it is not provided by the carrier for that call or a flag is set to remove the last few digits (as stated it is very configurable)
3.2 - You are looking at alarm data AND CDR becuaes you are connected to port 1201
3.3 - Yes as stated but again it is too configurable and needs a specialist to organise it to your requirements - it depends on what you want - if you just want a printer output then you already have that - if you are running a CDR database to collect the records and that you can further talk to that database for queries then it can get more complex - you will need outside assistance for this.
 
Thank you for responses, and sorry to have too many questions.

In fact, I've successfully implemented a Python script that collects the data from CDR server using port 1201.
I have tried to change the CDR format configuration based on the instructions provided by '1rkm1' in this link
However, after applying these instructions, I am no longer receiving any data output from port 1202 (see text in code bloc below), while the output from port 1201 remains unchanged from before.

My objective is to obtain all the necessary data (as in port 1201) in a simplified format, with each record represented in a single line and each piece of information separated by a delimiter. Any assistance in achieving this would be greatly appreciated.

Regards.

Code:
telnet 192.0.2.3 1202
Trying 192.0.2.3...
Connected to 192.0.2.3.
Escape character is '^]'.





################################################################################
 
Maybe post

dis-sels;
dis-selg;
dis-gezu;
dis-ftbl;
dis-lssm:A1;

Run the AMOs when it should be working, but isn't.
 
Hi,
Here is the output :

"DIS-sels;"

Code:
********* RMX :  LOGON at 2023/02/24 10:23:11  ONLINE BATCHPROCESSING ********

*** HICOM-Nr: RMX  Contract: 00 Name: 

L01: LOGON ACCEPTED TSN 3975 ALLOCATED                         23-02-24 10:23:32
  <DIS-sels;

DIS-SELS;
H500:  AMO SELS  STARTED
                                                                                
                    OPERATING CONDITIONS OF THE SELECTION GROUPS                
                                                                                
                    SELGRNO                 OPERATING CONDITION                 
 
                       1                        ON     
                       2                        ON     
                       3                        STOP   
                       4                        STOP   
AMO-SELS -111       SMDR/DMDR SELECTION GROUP SWITCHES                          
DISPLAY COMPLETED;
  <*****  ***** AMO run time 00:00:00  *****

************************* RMX :  LOGOFF *************************

*** HICOM-Nr: RMX  Contract:  Name:




"DIS-selg;"


Code:
********* RMX :  LOGON at 2023/02/24 10:23:40  ONLINE BATCHPROCESSING ********

*** HICOM-Nr: RMX  Contract: 00 Name: 

L01: LOGON ACCEPTED TSN 3976 ALLOCATED                         23-02-24 10:24:02
  <DIS-selg;

DIS-SELG;
H500:  AMO SELG  STARTED
                                                                                
+==============================================================================+
|                             SELECTION GROUP  : 1                             |
+------------------------------------------------------------------------------+
|                                                                              |
|              OPERATING STATE   :   ON                                        |
|                                                                              |
|                                                 RESOP    :   Y               |
|              BASDEV    :   DEV1                 BLBAS    :   1               |
|              RESDEV    :   CDRC1                BLRES    :   1               |
|                                                                              |
+==============================================================================+
|                                                                              |
|        SELECTION GROUP    :   1            SELECTION TABLE     :   1         |
|                                                                              |
|  FORMBAS :   FORM14                 TARIFF   :   NOCALC                      |
|  FORMRES :   HDFORM                 DESTCNT  :   A22                         |
|                                                                              |
|  LEVEL0  :   0&&999                                                          |
|  LEVEL1  :   0&&254                                                          |
|  LEVEL2  :   0&&30                                                           |
|  CDRCD   :   0&&99999                                                        |
|                                                                              |
|  ATNDGR  :   0&&15                                                           |
|  SERVICE :   VOICE   &FAX     &DTE                                           |
|                                                                              |
|  CDRULT  :   0              CONNTL     :   00 : 00 : 00                      |
|  COPIN   :   0&&8           CARRIER    :   0&&9                              |
|                                                                              |
|  SELECTION FEATURES 1 :                                                      |
|                                                                              |
|  CTYPE   :   ALL            PAYPARTY   :   ALL              NSTAT     :   N  |
|  CDRAC   :   N              SFSETUP    :   N                CDBAD     :   N  |
|  CDRC    :   N              CDRSTA     :   N                THRGCON   :   N  |
|  SECTION :   N              TIE-LINE   :   N                EXPENS    :   N  |
|  CONNTYP :   INTERN  &INCO    &OUTG                                          |
|  RECTYP  :   ALL                                                             |
|                                                                              |
|  SELECTION FEATURES 2 :                                                      |
|                                                                              |
|  CDCHU   :   N              CDRULTE    :  N                 CONNT     :   N  |
|  PCODE   :   N              PPCF       :  N                 STATAB1   :   N  |
|  STATAB2 :   N              DNOTBL1    :  N                 DNOTBL2   :   N  |
|                                                                              |
+==============================================================================+
                                                                                
+==============================================================================+
|                             SELECTION GROUP  : 2                             |
+------------------------------------------------------------------------------+
|                                                                              |
|              OPERATING STATE   :   ON                                        |
|                                                                              |
|                                                 RESOP    :   Y               |
|              BASDEV    :   DEV2                 BLBAS    :   1               |
|              RESDEV    :   CDRC1                BLRES    :   1               |
|                                                                              |
+==============================================================================+
|                                                                              |
|        SELECTION GROUP    :   2            SELECTION TABLE     :   1         |
|                                                                              |
|  FORMBAS :   FORM01                 TARIFF   :   NOCALC                      |
|  FORMRES :   HDFORM                 DESTCNT  :   A22                         |
|                                                                              |
|  LEVEL0  :   0&&999                                                          |
|  LEVEL1  :   0&&254                                                          |
|  LEVEL2  :   0&&30                                                           |
|  CDRCD   :   0&&999999                                                       |
|                                                                              |
|  ATNDGR  :   0&&15                                                           |
|  SERVICE :   VOICE                                                           |
|                                                                              |
|  CDRULT  :   0              CONNTL     :   00 : 00 : 00                      |
|  COPIN   :   0&&15          CARRIER    :   0&&9                              |
|                                                                              |
|  SELECTION FEATURES 1 :                                                      |
|                                                                              |
|  CTYPE   :   ALL            PAYPARTY   :   ALL              NSTAT     :   N  |
|  CDRAC   :   N              SFSETUP    :   N                CDBAD     :   N  |
|  CDRC    :   N              CDRSTA     :   N                THRGCON   :   Y  |
|  SECTION :   N              TIE-LINE   :   N                EXPENS    :   N  |
|  CONNTYP :   INTERN  &INCO    &OUTG    &ACACT   &LOAD                        |
|  RECTYP  :   ALL                                                             |
|                                                                              |
|  SELECTION FEATURES 2 :                                                      |
|                                                                              |
|  CDCHU   :   N              CDRULTE    :  N                 CONNT     :   N  |
|  PCODE   :   N              PPCF       :  N                 STATAB1   :   N  |
|  STATAB2 :   N              DNOTBL1    :  N                 DNOTBL2   :   N  |
|                                                                              |
+==============================================================================+
                                                                                
+==============================================================================+
|                             SELECTION GROUP  : 3                             |
+------------------------------------------------------------------------------+
|                                                                              |
|              OPERATING STATE   :   OFF_WITHOUT_QUEUEING                      |
|                                                                              |
|                                                 RESOP    :   Y               |
|              BASDEV    :   DEV2                 BLBAS    :   1               |
|              RESDEV    :   CDRC1                BLRES    :   1               |
|                                                                              |
+==============================================================================+
|                                                                              |
|        SELECTION GROUP    :   3            SELECTION TABLE     :   1         |
|                                                                              |
|  FORMBAS :   FORM09                 TARIFF   :   NOCALC                      |
|  FORMRES :   HDFORM                 DESTCNT  :   A22                         |
|                                                                              |
|  LEVEL0  :   0&&999                                                          |
|  LEVEL1  :   0&&254                                                          |
|  LEVEL2  :   0&&30                                                           |
|  CDRCD   :   0&&99999                                                        |
|                                                                              |
|  ATNDGR  :   0&&15                                                           |
|  SERVICE :   VOICE   &FAX     &DTE                                           |
|                                                                              |
|  CDRULT  :   0              CONNTL     :   00 : 00 : 00                      |
|  COPIN   :   0&&15          CARRIER    :   0&&9                              |
|                                                                              |
|  SELECTION FEATURES 1 :                                                      |
|                                                                              |
|  CTYPE   :   ALL            PAYPARTY   :   ALL              NSTAT     :   N  |
|  CDRAC   :   N              SFSETUP    :   N                CDBAD     :   N  |
|  CDRC    :   N              CDRSTA     :   N                THRGCON   :   N  |
|  SECTION :   N              TIE-LINE   :   N                EXPENS    :   N  |
|  CONNTYP :   OUTG                                                            |
|  RECTYP  :   ALL                                                             |
|                                                                              |
|  SELECTION FEATURES 2 :                                                      |
|                                                                              |
|  CDCHU   :   N              CDRULTE    :  N                 CONNT     :   N  |
|  PCODE   :   N              PPCF       :  N                 STATAB1   :   N  |
|  STATAB2 :   N              DNOTBL1    :  N                 DNOTBL2   :   N  |
|                                                                              |
+==============================================================================+
                                                                                
+==============================================================================+
|                             SELECTION GROUP  : 4                             |
+------------------------------------------------------------------------------+
|                                                                              |
|              OPERATING STATE   :   OFF_WITHOUT_QUEUEING                      |
|                                                                              |
|                                                 RESOP    :   Y               |
|              BASDEV    :                        BLBAS    :                   |
|              RESDEV    :                        BLRES    :                   |
|                                                                              |
+==============================================================================+
AMO-SELG -111       ADMINISTRATION OF SELECTION GROUPS AND TABLES               
DISPLAY COMPLETED;
  <*****  ***** AMO run time 00:00:00  *****

************************* RMX :  LOGOFF *************************

*** HICOM-Nr: RMX  Contract:  Name:



"DIS-gezu;"


Code:
********* RMX :  LOGON at 2023/02/24 10:24:20  ONLINE BATCHPROCESSING ********

*** HICOM-Nr: RMX  Contract: 00 Name: 

L01: LOGON ACCEPTED TSN 3977 ALLOCATED                         23-02-24 10:24:42
  <DIS-gezu;

DIS-GEZU;
H500:  AMO GEZU  STARTED
                                                                                
                    DEVICE ALLOCATION TABLE FOR TTY                             
                                                                                
     SYM. DEVICE NAME    PHY. DEVICE NAME           DEVICE CLASS                
                                                                              
          DEV1           TTY                        ADS_TERMINAL_1    
          DEV2           TTY                        ADS_TERMINAL_2    
          DEV3           TTY                        ADS_TERMINAL_3    
          DEV4           NO_SERVICE                 NO_DEVICE         
                                                                                
                    DEVICE ALLOCATION TABLE FOR DP                              
                                                                                
SYMBOL.    PHYSIC.                                                              
DEV.-NAME  DEV.-NAME         DEVICE CLASS        EMS-APPL.   DP-PROC.   DP-APPL.
                                                                              
DP         NO_SERVICE        NO_DEVICE                                         
AMO-GEZU -111       SMDR/DMDR DEVICE ALLOCATION                                 
DISPLAY COMPLETED;
  <*****  ***** AMO run time 00:00:00  *****

************************* RMX :  LOGOFF *************************

*** HICOM-Nr: RMX  Contract:  Name:


"DIS-lssm:A1;"

Code:
********* RMX :  LOGON at 2023/02/24 10:25:48  ONLINE BATCHPROCESSING ********

*** HICOM-Nr: RMX  Contract: 00 Name: 

L01: LOGON ACCEPTED TSN 3978 ALLOCATED                         23-02-24 10:26:10
  <DIS-lssm:A1;

DIS-LSSM:A1;
H500:  AMO LSSM  STARTED
                                                                                
  +=========================================================================+   
  |                        STATE OF LAN - CHANNELS                          |   
  +=========================================================================+   
  |      |        |           SYSTEM           |            USER            |   
  | TCP- | STATE  |=========================================================|   
  | LINE |        |   IP ADRESS     |  PORT    |  IP ADRESS      |   PORT   |   
  +=========================================================================+
  |  1   |  ON    | 192.0.2.3       |  1201    | 0.0.0.0         |  0       |
  |  2   |  ON    | 192.0.2.3       |  1202    | 0.0.0.0         |  0       |
  |  3   |  OFF   | 0.0.0.0         |  0       | 0.0.0.0         |  0       |
  |  4   |  OFF   | 0.0.0.0         |  0       | 0.0.0.0         |  0       |
  |  5   |  OFF   | 0.0.0.0         |  0       | 0.0.0.0         |  0       |
  |  6   |  ON    | 192.0.2.3       |  1206    | 0.0.0.0         |  0       |
  +=========================================================================+   
                                                                             
AMO-LSSM -111       LINE SWITCH, SERVICE MODULES                                
DISPLAY COMPLETED;
  <*****  ***** AMO run time 00:00:01  *****

************************* RMX :  LOGOFF *************************

*** HICOM-Nr: RMX  Contract:  Name:
 
You can have up to 4 selection groups active (SELG 1-4), SELS tells you 1 & 2 are active.

SELG looks OK although you are using different form tables (FTBL) for the output. SELG 1 has THRGCON set to Y so that will only log through connected calls. Setting that to N (like SELG 2) will log everything. SELG2 also logs &ACACT&LOAD, which personally I've never seen used before but if you want it....

Output for SELG1 is DEV1 and SELG2 is DEV2. GEZU shows the mapping from there to ADS terminals which should be LSSM 1,2 etc. I did say send the output when it should be working, but DIS-LSSM shows no connection from IP address/port, so I think you did not do what I asked because you will see a connected session in that output if there is one.

In your SELG you have RESOP set to Y, which means if the BASEDEV is out of service it will switch to RESDEV, which is shown as CDRC in both groups, a central file. AMO DAGR configures those files.

It's possible that with the unconnected tcp device, it has switched to reserve output and put the entries in a file. Look in DAGR to get the file location, copy-dagr to write from temp file to the output file, and copy the file off with Comwin-FT. Setting RESOP to N means 4K will buffer the records until TCP session is reconnect for output.
 
Thank you for your response, Moriendi.

I did say send the output when it should be working, but DIS-LSSM shows no connection from IP address/port, so I think you did not do what I asked because you will see a connected session in that output if there is one.
I re-executed "DIS-LSSM" commands while I'm connected by Telnet, the table shows that my script is well connected.

In fact, I'm not an expert on the Hipath-4000 system. I just want to retrieve CDR records that contain information about the caller/callee, call time, and duration using a Python script and Telnet.
Could you please provide me with the appropriate configuration steps to achieve this?

Regards.
 
You don't need to use two outputs. Also, don't use port 1201, because you will get console messages on that port which the call logging receiver then has to strip out. So just use selg 2, pointing to dev2, and connect to 1202. Using 1201 is why you got the hista trace messages in your output and they are nothing to do with call logging.

In selg 2, change the resop to N, so it buffers the records if there is no connection. In the selection table in the selg, change selg also to set that thrgcon to N. Selg 2 is using form 1, so you can check that with reg-ftbl (or dis), you can change it if you want, if you add-ftbl to make a new one, it will complain it's not complete until the last field is added, that's normal, so just keep going. Make a dea-sels:1; to turn off selg 1.

When that's done, make an exe-updat:a1,all; to save the changes. Call logging config is stored in a1 not bp.

If you don't have an OSCC, and it's dual processor, an adp soft restarted (exec-rest:unit,a1,soft;) or an adp reload might help (exec-rest:unit,a1,reload;). A reg-sels must show sels 2 is active, and a dis-lssm:A1 must show a connection from remote port on 1202.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top