How do I install TNG with ARISTEL AV38 call barring?

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

How do I install TNG with ARISTEL AV38 call barring?

Postby Belinda Frick » Mon Nov 15, 2010 2:15 pm

What is required?
  • Datatex:

    • TNG TMS program version 1.0.6.5 or newer.
    • TNG budgeting software, tng-callbarring-install-1_0_1_18.exe or newer.
    • DTX Aristel barring interface, tng-AristelAV-install-1_0_0_7.exe or newer.
    • Encrypted Aristel plugin, Paristel_AV38.dll.
  • PABX:
    • Software version:
      AV38 needs SA53 or newer.
      DV38 needs SA56 or newer.
      Straight serial cable, 1-1....8-8.
    • Setup for extension/pin code:
      Electric lock facility on phone:
      Zone 505, Item 08 for extension.
      Level of barring: 1=bar,0=unbar.
    • Barring:
      • Barring on extension:
        Zone 503, Item 05 for Day barring & Item 06 for Night barring
        Level of barring: 0=open; 8=block phone
      • Barring on pincodes:
        Zone 403, Item 01
        Level of barring: 0=unrestricted, 3=national, 4=local

Data Flow:

  • TNG TMS program:

    TNG must have the TNG buffer connected, else it will not import any calls. Only connect the buffer to the PC via USB cable.

    The buffer is NOT connected to the PABX.

    TNG must connect via TCP to the DTX Aristel barring service to receive the SMDR data and send barring/unbar commands to the PABX. The serial cable from the PABX goes to the COMPORT on which the DTX Aristel service is running

    In TNG Home Page, select 'Server Settings' and log in, under 'Communication
    Configuration' set the PABX IP and port
    (connect to the Aristel Barring Service to receive SMDR)
    IP Address: 127.0.0.1
    Port: 25011

    This setting must match 'Aristel barring.ini' extract:

    Code: Select all
    [SETTINGS]
    TCPPORT=25011

  • TNG budgeting software: dtxCallBarring.exe
    Configure to communicate with Aristel barring interface via port 25010.

    dtxCallBarring.ini:

    Code: Select all
    [WEBSERVER]
    WEBPORT=7081

    [TNG]
    PORT=20003
    HOST=127.0.0.1

    [SETTINGS]
    EXTMODE=1
    DEFAULTBUDGET=0
    SEQ=0

    [SYNC]
    PORT=20009

    [BARRING]
    PORT=25010

    [GLOBALRESET]
    DAYOFMONTH=-1
    LASTRESET=

    This setting must match Aristel barring ini extract:
    Code: Select all
    [BUDGETING]
    ADDRESS=127.0.0.1
    PORT=25010


    Note: If the default budget for an account or extension is zero, then it will be ignored. If your global default budget or department budget is zero and the individual budget has an amount, it is enabled.

  • DTX Aristel barring interface:

    Configure the Aristel barring interface to connect via comport to the PABX, note the [SERIAL] section in the Aristel barring ini extract.

    Aristelbarring.ini:

    Code: Select all
    [BUDGETING]
    ADDRESS=127.0.0.1
    PORT=25010

    [SERIAL]
    TERMINATINGCHAR=a
    COMPORT=COM1
    BAUDRATE=2400
    BITLENGTH=8
    PARITY=N
    STOPBITS=0
    HARDFLOW=0
    SOFTFLOW=0

    [BARRING]
    BLOCKCOS=8
    UNBLOCKCOS=1

    [SETTINGS]
    TCPPORT=25011
    VERBOSE=1


    Note: Barring commands cannot be sent via the buffer. Ensure that there are two comports available on the PC. One comport to connect the TNG Buffer(serves as a dongle - only connected to PC with USB cable) and another for the Aristel barring interface (for smdr data via serial cable from the PABX).

    • Account codes before TNG Call Barring version 1.0.1.12:
      Navigate to C:\Program Files\Datatex\AristelAV folder and configure the
      AccountCodes.dat file with the cil=pincode eg. 001=1234
      Please Note: The Account codes must be entered on seperate line below each other.

    • Account codes since TNG Call Barring version 1.0.1.12:
      The account codes is now in the Aristel Call Barring ini file.
      Code: Select all
      [ACCOUNTCODES]
      001=0442
      Cil=account
    Please Note: TNG, TNG CallBarring and the DTXAristel Interface runs as Services on the TNG PC. Please ensure that all the services are running.

Communication between services:

  • TNG is sending the Call details to dtxCallBarring on TCP port 20003.
    To test if TNG is sending to TCP port 20003, you need to run a TCPServer program to simulate dtxCallBarring. Only TNG must be running, stop the dtxCallBarring service.

  • TNG is sending the User/Extension details to dtxCallBarring on TCP port 20009.
    To test if TNG is sending to TCP port 20009, you need to run a TCPServer program to simulate dtxCallBarring. Only TNG must be running, stop the dtxCallBarring service.

    Note: If the service is restarted then dtxCallBarring will sync with the barring service of the PABX (in this case the AV38 barring service). This will then cause the barring service to get information again (simular to a restart).
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm

Return to Support Archive's (TNG)

Who is online

Users browsing this forum: No registered users and 1 guest

cron