How do I receive call details from the Aastra 470 PABX?

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

How do I receive call details from the Aastra 470 PABX?

Postby Belinda Frick » Thu Mar 07, 2013 11:34 am

Required:

  1. TNG must be installed.
    On install you can select any PABX, if Aastra is not available.

  2. Aastra 470 plugin to translate call details.
    Download and unrar, password is 'datatex':
    PAastra_A470_Format_PC5.rar
    Save the dll in the folder: C:\Program Files\Datatex\tng\plugins

  3. proxy utility to receive call details from Aastra 470 PABX.
    Download and unrar, password is 'datatex':
    TCPProxy.rar

Install steps:

    Install TCPProxy:

  • Extract the TCPProxy.rar file to the TNG folder.

    Then make sure the INI file looks like this:
    Code: Select all
    [INCOMING]
    PORT=2080

    [OUTGOING]
    PORT=2081
    OUTPUTFILE=C:\Program Files\Datatex\tng\tcpproxy.txt

    where C:\Program Files\Datatex\tng\ is the path to your TNG installation.
    Please note that these settings are not written out to the INI file by default.
  • Open a command prompt, then run the following commands:
    Code: Select all
    cd C:\Program Files\Datatex\tng\

    Code: Select all
    tcpproxy /install

    Code: Select all
    net start tcpproxy


    This will install the proxy into the Windows services, and start it. After this, it will start automatically when Windows starts, so you don't need to execute those commands again.

    tng-asstra-tcpproxy.jpg


    Configure Aastra:

  • You must configure the PABX to send to port 2080 on the TNG PC.

    Configure TNG to receive call details:
  • Configure TNG to connect to the service on port 2081.

    Connect to TNG, login as the ADMIN user and go to the settings.
    Select "NETWORK" in the Communication Mode.
    Enter the PABX IP: 127.0.0.1
    Enter the PABX port: 2081
    Click Apply to save the connection.

  • Configure TNG to read the tcpproxy.txt file.

    Refer to forum post: How do I configure TNG to load data from a file location?




    Ensure that the Aastra plugin you saved is selected

    If TNG File input is used, set the path 'C:\program files\datatex\tng\tngproxy.txt' for the above configuration.

Trouble shooting:

  1. Allow the 'TCPProxy' APP in the Firewall (if the firewall is active).

  2. If the PABX is sending off call details to port 2080 and TCPProxy receives it, it will be written to the 'tcpproxy.txt' file in the 'tng' folder. If not written here, then TNG will not display anything on the Call List page. Please make test calls and ensure that call details is written to this file. If not, test if you PABX is sending out call details to the IP and port you configured.

    NOTE: TNG will display the data in the tcpproxy.txt file. If any information missing in this file, you need to check why your PABX is not sending it.

Please make sure that the all available networks are allowed on the pc's Firewall
Example : Domain, Private, Public
You do not have the required permissions to view the files attached to this post.
Belinda Frick
 
Posts: 3614
Joined: Fri Nov 12, 2010 4:25 pm

Re: How do I receive call details from the Aastra 470 PABX?

Postby Belinda Frick » Wed Mar 13, 2013 11:33 am

Install file was now released for the TCPProxy, no need for manual step as listed above.

Download and unrar, password is 'datatex':
tng-tcpproxy-update_install-1.0.0.0.rar

It installs to "Program Files\Datatex\TNG".

It works by listening on a TCP port (default 2080) for connections. Anything entered into those connections is sent to the output TCP port (default 2081). There is a buffer of 20000 lines, so if nothing is connected, the utility will keep the data until something does. Once 20000 lines are buffered, newer lines will overwrite the oldest ones. Each line can be up to 255 characters in length. Only 1 client can connect to the output TCP port.

It can optionally also write the data to a file (the installer configures it as "Program Files\Datatex\TNG\tcpproxy.txt"). The file-writing is the safer method, and this is the default configuration for the installer.

The INI file looks something like this:
Code: Select all
[INCOMING]
PORT=2080

[OUTGOING]
PORT=2081
OUTPUTFILE=C:\Program Files\Datatex\tng\tcpproxy.txt
You do not have the required permissions to view the files attached to this post.
Belinda Frick
 
Posts: 3614
Joined: Fri Nov 12, 2010 4:25 pm

Re: How do I receive call details from the Aastra 470 PABX?

Postby Leon van Heerden » Thu Feb 12, 2015 10:56 am

We have seen that the TNG and TcpProxy sometimes get stuck trying to access the same file. We have found a work around for this issue.

Here is the batch file to rename the tcpproxy.txt file to RAW_yyyy_mm_dd_hh_mm_ss.txt. Place this file in the same folder as the tcpproxy.txt and rename it from "renamefile.txt" to "renamefile.bat".
renamefile.txt

Every time you run the batch file it will try and rename the tcpproxy.txt using the current time in the format as above.

You can then configure TNG to read in "RAW*.txt" files in place of the tcpproxy.txt file. Make this change and then restart TNG. If TNG is already stuck, we have found that you have to kill it with task manager and then start it again.

You can add the Batch file in the Windows task Scheduler and make sure that you tick the option that says to run the task even if no one is logged in.
You do not have the required permissions to view the files attached to this post.
----
Leon van Heerden
http://www.datatex.co.za
Leon van Heerden
 
Posts: 304
Joined: Fri Oct 29, 2010 11:21 am
Location: Cape Town

Re: How do I receive call details from the Aastra 470 PABX?

Postby John Richard Procter » Thu May 19, 2016 11:52 am

Latest Linux Plugin
2013.02.27.3

paastra_a470_format_pc5.rar

Password for rar file is 'datatex'.
You do not have the required permissions to view the files attached to this post.
John Richard Procter
 
Posts: 552
Joined: Tue May 03, 2011 2:02 pm


Return to Support Archive's (TNG)

Who is online

Users browsing this forum: No registered users and 1 guest

cron