CDR Active/Passive socket

Status
Not open for further replies.

Yiannos Ioannou

Gold Partner
Advanced Certified
Joined
Nov 13, 2017
Messages
28
Reaction score
4
Hello ,

How to use this settings in order to receive CDR data.
 
Hello @Yiannos Ioannou

If Passive mode is selected, then the PBX will act as a server and you need to connect to that IP port from your client/software in order to receive the CDR. In Active mode, the PBX will act as a client and will connect to the ip and listening port of your CDR server that is handling your CDR Requirement.
Check this guide for more info https://www.3cx.com/docs/cdr-call-data-records/
 
Hello Marios

we have setup a socket server in out local lan and set the 3cx to active client and put the ip:port of that server . But still no records or connection to that server.

Is it anything else is required to be setup ?
 
Hello @mariosM_3CX

we have setup a socket server in out local lan and set the 3cx to active client and put the ip port of that server . But still no records or connection to that server.

Is it anything else is required to be setup ?
 
Have you tried making a call after running your server and configuring the PBX as client? Because PBX will send CDR for new calls only.
 
@mariosM_3CX

Yes we set up the the server configure the 3cx as a client and then make some calls. So you mean that the reporting either way will not be as a live feed to the CDR and takes the records after the call is done ?
 
Note that you must configure firewall to allow connections to port of CDR, by default it is not opened and you can't access 3CX server from another computer. This applies both for Windows and Debian.

Try using telnet in putty to receive CDR data from 3CX.

A trick -- you can use port 5015 for the purpose, configure it into CDR serrings, the reason is it remains open into firewall after 3CX installation.
 
@Yiannos Ioannou

As @sip.bg said, you can use putty for this, but putty will be the client so you will need to set the PBX in passive mode as a server.
If you want to test this in active mode, you can test with a tool called Port Listener that will act as your server in order for the PBX to connect to it as a client.
Regarding your question, yes, the PBX will send CDR of a call once the call is ended. How will you manipulate this data is up to the implementation of your software.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,880
Messages
589,533
Members
164,736
Latest member
david_9daa