Page 1 of 1

3CX PABX Support

PostPosted: Tue Nov 17, 2015 9:06 am
by paperserve
Good day,

Does TNG support the 3CX SIP PABX?

Re: 3CX PABX Support

PostPosted: Tue Nov 17, 2015 9:11 am
by Luanda_Junzi
Dear PaperServ.

Could You Please provide us with the Raw data from the PABX.

Kind Regards

Luanda

Re: 3CX PABX Support

PostPosted: Tue Nov 17, 2015 10:41 am
by paperserve
Hi,

We are not able to supply a raw file as our client that is currently using TNG on a Siemens Hypath is looking to upgrade the PABX to a 3CX SIP PABX.

Regards.

Re: 3CX PABX Support

PostPosted: Tue Nov 17, 2015 10:52 am
by Luanda_Junzi
Gooda day paperserve

I will escalate the issue the revert back to you.

Thank you for your Query

Kind Regards

Luanda

Re: 3CX PABX Support

PostPosted: Tue Mar 15, 2016 3:54 pm
by Belinda Frick
Here is how to enable the SMDR:
http://www.3cx.com/docs/cdr-call-data-records/

Use the PASSIVE PORT option, then TNG can connect to the PBX, like a normal TCP PBX:
TNG and a network PABX

We will then need all the fields enabled and raw data with test calls to write a plugin.

Re: 3CX PABX Support

PostPosted: Mon Apr 18, 2016 3:10 pm
by paulslab
HI there

Here are some CDR details the raw data is the full set of all options selected the other is the reduced set

read through the guidelines and was not correct

Re: 3CX PABX Support

PostPosted: Thu Apr 21, 2016 11:33 am
by Belinda Frick
Thank you for the raw data files.

We will investigate and advise if plugin can be written.

Re: 3CX PABX Support

PostPosted: Fri Apr 29, 2016 4:08 pm
by paulslab
Have included the suggested guideline for doing the test
according to http://forums.datatex.co.za/viewtopic.php?f=28&t=1353&start=0

Uploaded the 3cx file with all data inside

Re: 3CX PABX Support

PostPosted: Thu May 05, 2016 4:26 pm
by Luanda_Junzi
Hi Paul

Please find attached plugin extract it to your plugin in folder.

Also add this line on your rules.ini file

Code: Select all
2=NUMBER|STARTS|27|0|FALSE


It strips of extra 27 , alternatively you can stop tng service replace your rules.ini file with the attach rules.ini file.

rules.ini

NOTE: Update rule as per example. I you extract this file to the 'C:\Program Files (x86)\Datatex\tng\plugins' folder, it will overwrite the existing rules.ini file and replace all rules (if configured) with just this file.

P3CX.rar

NOTE: Place P3cx.dll in the folder :
C:\Program Files (x86)\Datatex\tng\plugins

STOP/START then TNG service.

You then need to log into TNG as 'admin'.
Select 'General Settings' (and enter technical password - else no access to update any settings)
Under 'Communication Configuration' select 'P3CX' from the drop-down for Plugins.


How do i check if correct version of plugin was loaded?
General settings, under communication see plugin name and version number:

Re: 3CX PABX Support

PostPosted: Fri Jul 21, 2017 9:11 am
by paulslab
Hi there

Have had an issue with the plugin as we have now updated to V15 from V14 they must have changed the CDR slightly am not getting duration plus the incoming calls were not working correctly in from and to numbers.

I have attached the file from the recommendations there is a word file and a excel Doc.
From initial studies there is one line per call incoming or outgoing all data is stored in this one line.
Headers for the CDR (using comma delimiters ) are as follows below

HistoryID ( call number in call ##### format can be dynamic width)
CallID(HEX format call ID)
Duration ( Format in HH:mm:ss)
timestart(format YYYY-MM-DD HH:mm:ss AM/PM)
time answered ( Format in HH:mm:ss)
time-end (format YYYY-MM-DD HH:mm:ss AM/PM)
reason-terminated ( this can have multiple options, TerminatedBySrc,Failed,TerminatedByDst,Failed_canceled all self explanatory )
from-no ( number calling from can be Ext.### for internal or in format 0027 123456789 for external)
to-no( number calling from can be Ext.### for internal or in format 0027 123456789 for external)
from-dn (if extension it will be ### if trunk it will be ##### basically if 3 Number set as extension code then trunks will be greater than 3 numbers)
to-dn(same as above)
dial-no (the dialed number for extensions ### for anything greater outbound numbers)
reason changed (multiple options ReplacedSrc,ReplacedDst,FailedBXferofDst,FailedBXferofSrc)
final-no (only is filled if reason changed is filled ie a transfered call)
final-dn ( ### for internal or >### for external)
bill-code( we don't use these so they are always blank but if you did this would be account code)
bill-rate( the rate charged for this again we don't use this)
bill-cost ( not too sure here is the default cost associated again not important)
bill-name ( will generally be default unless used this option not important)
chain( this is the chain of transfer separated with a ; ie Bob calls Ted Ted transfers to Mom it would be Chain:Bob;Ted;Mom Obviously the pseudoname Bob would be changed to the number or extension)
from-type ( this will either be Extension for an extension or Line for Outside Line)
to-type ( can be Line, Lineset(for unanswered) or Extension)
final-type ( will only be filled if a transferred call)
from-dispname ( The name on the system for the extension or DID
to-dispname ( the name on the system for the extension)
(last column) not too sure here but seems that this is only filled when transfered call is a Final TO displayname