3CX PABX Support

Web based, multi-user, Telephone Management System with budget management and barring control

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

3CX PABX Support

Postby paperserve » Tue Nov 17, 2015 9:06 am

Good day,

Does TNG support the 3CX SIP PABX?
paperserve
 
Posts: 4
Joined: Thu Sep 17, 2015 2:13 pm

Re: 3CX PABX Support

Postby Luanda_Junzi » Tue Nov 17, 2015 9:11 am

Dear PaperServ.

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

Kind Regards

Luanda
Luanda_Junzi
 
Posts: 142
Joined: Wed Feb 25, 2015 2:30 pm

Re: 3CX PABX Support

Postby paperserve » Tue Nov 17, 2015 10:41 am

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.
paperserve
 
Posts: 4
Joined: Thu Sep 17, 2015 2:13 pm

Re: 3CX PABX Support

Postby Luanda_Junzi » Tue Nov 17, 2015 10:52 am

Gooda day paperserve

I will escalate the issue the revert back to you.

Thank you for your Query

Kind Regards

Luanda
Luanda_Junzi
 
Posts: 142
Joined: Wed Feb 25, 2015 2:30 pm

Re: 3CX PABX Support

Postby Belinda Frick » Tue Mar 15, 2016 3:54 pm

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.
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm

Re: 3CX PABX Support

Postby paulslab » Mon Apr 18, 2016 3:10 pm

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
Last edited by paulslab on Fri Apr 29, 2016 4:06 pm, edited 1 time in total.
paulslab
 
Posts: 4
Joined: Fri Apr 15, 2016 4:22 pm

Re: 3CX PABX Support

Postby Belinda Frick » Thu Apr 21, 2016 11:33 am

Thank you for the raw data files.

We will investigate and advise if plugin can be written.
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm

Re: 3CX PABX Support

Postby paulslab » Fri Apr 29, 2016 4:08 pm

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
You do not have the required permissions to view the files attached to this post.
paulslab
 
Posts: 4
Joined: Fri Apr 15, 2016 4:22 pm

Re: 3CX PABX Support

Postby Luanda_Junzi » Thu May 05, 2016 4:26 pm

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:
You do not have the required permissions to view the files attached to this post.
Luanda_Junzi
 
Posts: 142
Joined: Wed Feb 25, 2015 2:30 pm

Re: 3CX PABX Support

Postby paulslab » Fri Jul 21, 2017 9:11 am

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
You do not have the required permissions to view the files attached to this post.
paulslab
 
Posts: 4
Joined: Fri Apr 15, 2016 4:22 pm


Return to TNG

Who is online

Users browsing this forum: No registered users and 1 guest