47.2. Configuring Packet Voice tunnels

Packet Voice is a virtual tunnel typically used for voice communications between Abilis.

To set up a Packet-Voice, first add a PV resource with the command:

a res:pv-<id> subtype:<value>

id is simply the identification number and subtype is the kind of resource to be used. The following command shows supported subtypes.

[17:27:43] ABILIS_CPX:a res:pv-1 subtype: ?

SUBTYPE:   Resource subtype.                                        <Mandatory>
           See also HELP SUBTYPE.

Pv resource subtypes:

IP              PV over IP (Abilis tunnel)
IP-BCK          PV over IP (Abilis tunnel) with Abilis Back-up
BCH             PV over B-Channel

47.2.1. Packet Voice over IP- Extended Mode

The extended mode is used when both Abilis have a static IP address.

The following example considers two Abilis with a static public IP address each one.

  • IP address of “Abilis 1” (ABILIS_CPX_1): 217.1.1.1

  • IP address of “Abilis 2” (ABILIS_CPX_2): 217.2.2.2

First, add a new resource on both Abilis:

[17:31:47] ABILIS_CPX_1:a res:pv-1 subtype:ip

COMMAND EXECUTED

[17:38:55] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D    
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       OUT:AUTO                                  
       LOCIP:OUT-IP                   REMIP:
[17:42:52] ABILIS_CPX_2:a res:pv-1 subtype:ip

COMMAND EXECUTED

[17:45:08] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       OUT:AUTO                                  
       LOCIP:OUT-IP                   REMIP:
[Warning]Warning

Save the configuration with the command save conf and restart the Abilis with the command warm start.

The most important parameters to configure are:

  • DESCR: description of the resource.

  • MODE: operating mode.

  • LOCPORT: UDP port number of the local Abilis (the port used for the data exchange).

  • REMPORT: UDP port number of the remote Abilis.

  • LOCIP: IP address of the local Abilis.

  • REMIP: IP address of the remote Abilis.

[Tip]Tip

The above parameters must mirror each other (i.e. The value of LOCPORT on “Abilis 1” must be the same of REMPORT on “Abilis 2” and vice versa; the same for LOCIP/REMIP).

[17:50:29] ABILIS_CPX_1:s p pv-1 remport:3101 locip:217.1.1.1 remip:217.2.2.2 descr:To_Abilis_2

COMMAND EXECUTED

[18:00:04] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:To_Abilis_2
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D   
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.001.001.001          REMIP:217.002.002.002
[17:59:20] ABILIS_CPX_2:s p pv-1 remport:3101 locip:217.2.2.2 remip:217.1.1.1 descr:To_Abilis_1

COMMAND EXECUTED

[18:02:30] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:To_Abilis_1
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D   
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.002.002.002          REMIP:217.001.001.001
[Tip]Tip

Saving the configuration with save conf command, the validation procedure will automatically change the parameter MPX (Multiplexing) from NO to YES.

[Tip]Tip

Activation of Link Check protocol is recommended (LC:YES): the parameter must be set at the same value on both Abilis or the VPN will not work.

[16:55:21] ABILIS_CPX_1:save conf

VALIDATION IN PROGRESS ...
WARNING: RES:Pv-1 Changed "MPX" from NO to YES
VALIDATION SUCCESSFULLY EXECUTED

SAVE EXECUTED

[16:55:25] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - PV over IP (Abilis tunnel) (IP) ------------------------------------
       DESCR:To_Abilis_2
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D   
       MPX:YES       RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.001.001.001          REMIP:217.002.002.002
[17:02:43] ABILIS_CPX_2:save conf

VALIDATION IN PROGRESS ...
WARNING: RES:Pv-1 Changed "MPX" from NO to YES
VALIDATION SUCCESSFULLY EXECUTED

SAVE EXECUTED

[18:02:30] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - PV over IP (Abilis tunnel) (IP) ------------------------------------
       DESCR:To_Abilis_1
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:YES       RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.002.002.002          REMIP:217.001.001.001

Now the configuration of the VPN is completed.

47.2.2. IP Packet Voice - Extended-Server/Extended Client Mode

This mode is useful to configure a VPN between two Abilis when one of them hasn't a static public IP address or is placed behind a router doing NAT/PAT.

Consider an Abilis with a static public IP address and the other one with a dynamic public IP address:

  • IP address of “Abilis 1” (ABILIS_CPX_1): 217.1.1.1

  • IP address of the “Abilis” (ABILIS_CPX_2): dynamic

ABILIS 1” will be set as SERVER; “ABILIS_CPX_2” will be set as CLIENT.

First, add a new resource on both Abilis:

[17:31:47] ABILIS_CPX_1:a res:pv-1 subtype:ip

COMMAND EXECUTED

[17:38:55] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D   
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       OUT:AUTO                                  
       LOCIP:OUT-IP                   REMIP:#
[17:42:52] ABILIS_CPX_2:a res:pv-1 subtype:ip

COMMAND EXECUTED

[17:45:08] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------

       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D   
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       OUT:AUTO                                  
       LOCIP:OUT-IP                   REMIP:#

In SERVER and CLIENT modality, new parameters will appear:

[17:28:19] ABILIS_CPX_1:s p pv-1 mode:server

COMMAND EXECUTED

[18:00:01] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:SERVER   V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       CLI-ID:#
       OUT:AUTO                                  
       LOCIP:*                       IP-FILTER:*
[17:27:48] ABILIS_CPX_2:s p pv-1 mode:client

COMMAND EXECUTED

[18:00:24] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:CLIENT   V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       ID:R-ID (192.168.001.254)
       OUT:AUTO
       LOCIP:OUT-IP                   REMIP:#

Configuration of both Abilis must mirror each other. The meaning of the “new” parameters:

  • ID: on client side, is the identification IP address sent by the client to the server.

  • CLI-ID: on server side, is the client identifier IP address. It can be also a “virtual value”, but it must set at the same value of parameter ID on client side.

[Tip]Tip

ID and CLI-ID can be also a “virtual values”, but they must set at the same value or the VPN will not work!

Configure on “Abilis 1”the following parameters:

  • DESCR: description of the resource.

  • LOCPORT: UDP port number of the local Abilis (the port used for the data exchange).

  • REMPORT: UDP port number of the remote Abilis.

  • LOCIP: IP address of the local Abilis.

  • CLI-ID: client identifier IP address.

Configure on “Abilis 2”the following parameters:

  • DESCR: description of the resource.

  • LOCPORT: UDP port number of the local Abilis (the port used for the data exchange).

  • REMPORT: UDP port number of the remote Abilis.

  • LOCIP: IP address of the local Abilis.

  • REMIP: IP address of the remote Abilis.

  • ID: identification IP address sent by the client to the server.

[11:47:35] ABILIS_CPX_1:s p pv-1 descr:To_Abilis_2 cli-id:192.168.1.254 locip:217.1.1.1 remport:3101

COMMAND EXECUTED

[11:50:15] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:To_Abilis_2
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:SERVER   V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       CLI-ID:192.168.001.254
       OUT:AUTO
       LOCIP:217.001.001.001          IP-FILTER:*
[11:47:58] ABILIS_CPX_2:s p pv-1 descr:To_Abilis_1 remip:217.1.1.1 remport:3101

COMMAND EXECUTED

[11:51:58] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:To_Abilis_1
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:CLIENT   V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       ID:R-ID (192.168.001.254)
       OUT:AUTO
       LOCIP:OUT-IP                   REMIP:217.001.001.001
[Tip]Tip

The OUT-IP value on LOCIP of “Abilis 2” means that it's used the IP address of the IP resource through which the packet is sent out. It's mandatory because Abilis has a dynamic IP address.

[Tip]Tip

Saving the configuration with save conf command, the validation procedure will automatically change the parameter MPX (Multiplexing) from NO to YES.

[Tip]Tip

Activation of Link Check protocol is recommended (LC:YES): the parameter must be set at the same value on both Abilis or the VPN will not work.

[11:50:17] ABILIS_CPX_1:save conf

VALIDATION IN PROGRESS ...
WARNING: RES:Pv-1 Changed "MPX" from NO to YES
VALIDATION SUCCESSFULLY EXECUTED

SAVE EXECUTED

[12:05:20] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - PV over IP (Abilis tunnel) (IP) ------------------------------------
       DESCR:To_Abilis_2
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:SERVER   V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:YES       RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       CLI-ID:192.168.001.254
       OUT:AUTO
       LOCIP:217.001.001.001         IP-FILTER:*
[11:52:00] ABILIS_CPX_2:save conf

VALIDATION IN PROGRESS ...
WARNING: RES:Pv-1 Changed "MPX" from NO to YES
VALIDATION SUCCESSFULLY EXECUTED

SAVE EXECUTED

[12:05:27] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - PV over IP (Abilis tunnel) (IP) ------------------------------------
       DESCR:To_Abilis_1
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:CLIENT   V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:YES       RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       ID:R-ID (192.168.001.254)
       OUT:AUTO
       LOCIP:OUT-IP                   REMIP:217.001.001.001

Now the configuration of the VPN is completed.

47.2.3. IP-BCK Packet Voice - Extended Mode with ISDN backup

In case of failure of the permanent VPN connection, the Abilis tunnels may be instantaneously switched onto ISDN backup lines. The PV subtype requested for this configuration is PV-BCK.

The following example considers two Abilis placed in remote sides, with a static public IP address and a backup ISDN line each one:

  • IP address of “Abilis 1” (ABILIS_CPX_1): 217.1.1.1

  • ISDN line connected to “Abilis 1” (ABILIS_CPX_1): 01234567

  • IP address of “Abilis 2” (ABILIS_CPX_2): 217.2.2.2

  • ISDN line connected to “Abilis 2” (ABILIS_CPX_2): 01765432

First, add a new resource on both Abilis:

[12:17:46] ABILIS_CPX_1:a res:pv-1 subtype:ip-bck

COMMAND EXECUTED

[12:18:13] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) with Abilis Back-up (IP-BCK) --------------
       DESCR:
                              BCKRES:CtiSLink
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       OUT:AUTO                                  
       LOCIP:OUT-IP                   REMIP:#
       - Back-Up --------------------------------------------------------------
       TI:ALL,00:00-23:59           BOOT-DLY:NO   DOWN-DLY:NO
       BRTY:LIN       BNRTY:0       BTB:3         BAC:DOD
       DDT:220        VDT:10        UDT:NOMAX            
       CDI:*                        CDO:#                        
       CGI:*                        CGO:#                        
       SDI:*                        SDO:#                        
       SGI:DISABLED                 SGO:#      
[12:17:50] ABILIS_CPX_2:a res:pv-1 subtype:ip-bck

COMMAND EXECUTED

[12:18:28] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) with Abilis Back-up (IP-BCK) --------------
       DESCR:
                              BCKRES:CtiSLink
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       OUT:AUTO                                  
       LOCIP:OUT-IP                   REMIP:#
       - Back-Up --------------------------------------------------------------
       TI:ALL,00:00-23:59           BOOT-DLY:NO   DOWN-DLY:NO
       BRTY:LIN       BNRTY:0       BTB:3         BAC:DOD
       DDT:220        VDT:10        UDT:NOMAX            
       CDI:*                        CDO:#                        
       CGI:*                        CGO:#                        
       SDI:*                        SDO:#                        
       SGI:DISABLED                 SGO:#      

IP configuration of both Abilis remains the same shown in Section 47.2.1, “Packet Voice over IP- Extended Mode”.

The configuration of ISDN backup is realized in the Back-Up section. Generally, the following fields are used:

  • SGI: Input calling sub-address.

  • SGO: Output calling sub-address.

  • CDO: Output called number (ISDN of remote side).

SGI and SGO are special ISDN's fields where users can insert an alphanumeric string. The Abilis uses them as a sort of password to discriminate the backup calls: the field SGO of local Abilis is “inserted” in outgoing calls and verified in the SGI field on remote Abilis and vice versa (the values of SGI and SGO on both Abilis must mirror each other).

Other interesting parameters are:

  • TI: Time interval within which the call is permitted or kept active [#, ALL, *, string in format day,hh:mm-hh:mm], # = never, ALL and * = always.

    Value 'day' can be:

    • a single day of the week [MO, TU, WE, TH, FR, SA, SU];

    • a set of days of the week (E.g. MO+TH or TU+TH+SU);

    • an interval of days of the week (E.g. MO-WE or TH-SU);

    • ALL.

  • BOOT-DLY: Time that must elapse since system boot prior that the call is permitted [NO, 1..3600 sec].

  • DOWN-DLY: Time that must elapse since P-Link goes down prior that the call is permitted [NO, 1..3600 sec].

  • BRTY: it allows to select the backup calls repetition rule;

    Table 47.2. Rules of call repetition on failure

    ValueCalls repetition rules
    LINThe time interval between a call attempt and the next one is fixed and configurable through the parameter TB
    INCThe time interval between a call attempt and the next one, is doubled at every attempt, starting with the value defined in the parameter TB
    USThe abbreviation US stands for “unattended site”. In this case the S-Link channel driver activates the following procedure until success: 1. The driver executes a number of tries equal to the value of the parameter BNRTY: every BTB seconds, or until three consecutive “link-check” errors occur; 2. The driver makes 8 calls every 15 minutes; 3. The driver makes 4 calls every 1 hour; 4. The driver makes 9 calls every 2 hours; 5. The driver makes 8 calls every 6 hours; 6. The driver is placed in the state STOPPED1 or STOPPED2 caused by the last error; This procedure allows an “automatic recovery” from critical situations within three days from the first failure occurrence, afterwards a maintenance intervention is required.

  • BNRTY: it specifies the maximum number of backup call repetitions.

  • BTB: it defines the “base” time interval that the retry procedure set in BRTY: uses to calculate the delay between a call attempt that fails and the next one.

  • BAC: configures the autoconnection mode [DOD, NAILED-UP]:

    • DOD: the B-channel is connected using dial-on-demand rules.

    • NAILED-UP: the B-channel is spontaneously connected at boot, and reconnected in case of drop for any reason.

  • DDT: Disconnect time-out for DATA [NOMAX, 10..65534 sec].

  • VDT: Disconnect time-out for VOICE [NOMAX, 5..900 sec].

  • UDT: Unconditional disconnect time-out [NOMAX, 60..65534 sec].

[12:33:00] ABILIS_CPX_1:s p pv-1 remport:3101 locip:217.1.1.1 remip:217.2.2.2 descr:To_Abilis_2

COMMAND EXECUTED

[16:12:40] ABILIS_CPX_1:s p pv-1 brty:us bnrty:30 btb:10 sgi:abilis1-abilis2 sgo:abilis2-abilis1 cdo:01765432

COMMAND EXECUTED

[16:14:19] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) with Abilis Back-up (IP-BCK) --------------
       DESCR:To_Abilis_2
                              BCKRES:CtiSLink
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.001.001.001          REMIP:217.002.002.002
       - Back-Up --------------------------------------------------------------
       TI:ALL,00:00-23:59           BOOT-DLY:NO   DOWN-DLY:NO
       BRTY:US        BNRTY:30      BTB:10        BAC:DOD
       DDT:220        VDT:10        UDT:NOMAX
       CDI:*                        CDO:01765432
       CGI:*                        CGO:#
       SDI:*                        SDO:#
       SGI:ABILIS1-ABILIS2          SGO:ABILIS2-ABILIS1
[12:18:30] ABILIS_CPX_2:s p pv-1 remport:3101 locip:217.2.2.2 remip:217.1.1.1 descr:To_Abilis_1

COMMAND EXECUTED

[16:02:59] ABILIS_CPX_2:s p pv-1 brty:us bnrty:30 btb:10 sgi:abilis2-abilis1 sgo:abilis1-abilis2 cdo:01234567

COMMAND EXECUTED

[16:14:58] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) with Abilis Back-up (IP-BCK) --------------
       DESCR:To_Abilis_1
                              BCKRES:CtiSLink
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.002.002.002          REMIP:217.001.001.001
       - Back-Up --------------------------------------------------------------
       TI:ALL,00:00-23:59           BOOT-DLY:NO   DOWN-DLY:NO
       BRTY:US        BNRTY:30      BTB:10        BAC:DOD
       DDT:220        VDT:10        UDT:NOMAX
       CDI:*                        CDO:01234567
       CGI:*                        CGO:#
       SDI:*                        SDO:#
       SGI:ABILIS2-ABILIS1          SGO:ABILIS1-ABILIS2
[Tip]Tip

Saving the configuration with save conf command, the validation procedure will automatically change the parameter MPX (Multiplexing) from NO to YES.

[Tip]Tip

Activation of Link Check protocol is recommended (LC:YES): the parameter must be set at the same value on both Abilis or the VPN will not work.

[16:15:09] ABILIS_CPX_1:save conf

VALIDATION IN PROGRESS ...
WARNING: RES:Pv-1 Changed "MPX" from NO to YES
VALIDATION SUCCESSFULLY EXECUTED

SAVE EXECUTED

[16:17:41] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - PV over IP (Abilis tunnel) with Abilis Back-up (IP-BCK) ------------
       DESCR:To_Abilis_2
                              BCKRES:CtiSLink
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:YES       RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.001.001.001          REMIP:217.002.002.002
       - Back-Up --------------------------------------------------------------
       TI:ALL,00:00-23:59           BOOT-DLY:NO   DOWN-DLY:NO
       BRTY:US        BNRTY:30      BTB:10        BAC:DOD
       DDT:220        VDT:10        UDT:NOMAX
       CDI:*                        CDO:01765432
       CGI:*                        CGO:#
       SDI:*                        SDO:#
       SGI:ABILIS1-ABILIS2          SGO:ABILIS2-ABILIS1
[16:15:14] ABILIS_CPX_2:save conf

VALIDATION IN PROGRESS ...
WARNING: RES:Pv-1 Changed "MPX" from NO to YES
VALIDATION SUCCESSFULLY EXECUTED

SAVE EXECUTED

[16:17:45] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - PV over IP (Abilis tunnel) with Abilis Back-up (IP-BCK) ------------
       DESCR:To_Abilis_1
                              BCKRES:CtiSLink
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:YES       RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.002.002.002          REMIP:217.001.001.001
       - Back-Up --------------------------------------------------------------
       TI:ALL,00:00-23:59           BOOT-DLY:NO   DOWN-DLY:NO
       BRTY:US        BNRTY:30      BTB:10        BAC:DOD
       DDT:220        VDT:10        UDT:NOMAX
       CDI:*                        CDO:01234567
       CGI:*                        CGO:#
       SDI:*                        SDO:#
       SGI:ABILIS2-ABILIS1          SGO:ABILIS1-ABILIS2

Now the configuration of the VPN is completed.

47.2.4. IP Packet Voice - Extended Mode with Double Path

Activating the ART (Abilis Redundant Tunneling) protocol, also named “Double Path”, can increase the reliability of the VPN.

[Tip]Tip

If one path is slower, or slows down up to blockage, the other path stays unaffected.

[Warning]Warning

When the double path is active the traffic is obviously duplicated: this could be very “dangerous” on pay per use lines!

The following example considers two Abilis: each one has two different Internet lines with static public IP addresses.

  • First IP address of “Abilis 1” (ABILIS_CPX_1): 217.1.1.1

  • Second IP address of “Abilis 1” (ABILIS_CPX_1): 80.80.80.80

  • First IP address of “Abilis 2” (ABILIS_CPX_2): 217.2.2.2

  • Second IP address of “Abilis 2” (ABILIS_CPX_2): 81.81.81.81

First, add a new resource on both Abilis:

[17:27:07] ABILIS_CPX_1:a res:pv-1 subtype:ip

COMMAND EXECUTED

[17:28:13] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       OUT:AUTO                                  
       LOCIP:OUT-IP                   REMIP:#
[17:27:12] ABILIS_CPX_2:a res:pv-1 subtype:ip

COMMAND EXECUTED

[17:28:18] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:SINGLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       OUT:AUTO                                  
       LOCIP:OUT-IP                   REMIP:#

Configuring MODE:EXT and PATH:DOUBLE new parameters will appear:

[17:28:29] ABILIS_CPX_1:s p pv-1 path:double

COMMAND EXECUTED

[17:31:21] ABILIS_CPX_1:d p pv-1

RRES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:DOUBLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       OUT:AUTO                                  
       LOCIP:OUT-IP                   REMIP:#
       OUT2:AUTO  
       LOCIP2:OUT-IP                  REMIP2:#
[17:28:21] ABILIS_CPX_2:s p pv-1 mode:ext path:double

COMMAND EXECUTED

[17:31:38] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:DOUBLE   LOCPORT:3101     REMPORT:3100   CR:NO         CRKEY:DFT
       OUT:AUTO                                  
       LOCIP:OUT-IP                   REMIP:#
       OUT2:AUTO  
       LOCIP2:OUT-IP                  REMIP2:#
[Tip]Tip

The parameter PATH must be set at the same value on both the CPX or the VPN will not work.

New parameters are:

  • OUT2: second output IP resource (AUTO will send the packets to the default gateway specified in the IP routing table; it's also possible to specify the ID and the gateway of the outgoing IP resource).

  • LOCIP2: second IP address that the local Abilis will use as “source address” for the path 2.

  • REMIP2: second IP address of the remote Abilis for the path 2.

Configuration of other parameters of both Abilis must mirror each other; see Section 47.2.1, “Packet Voice over IP- Extended Mode”.

[17:54:42] ABILIS_CPX_1:s p pv-1 remport:3101 locip:217.1.1.1 remip:217.2.2.2 locip2:80.80.80.80 remip2:81.81.81.81 out2:ip-3
descr:To_Abilis_2

COMMAND EXECUTED

[17:54:52] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:To_Abilis_2
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D   
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:DOUBLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.001.001.001          REMIP:217.002.002.002
       OUT2:Ip-3                      GW2:#
       LOCIP2:080.080.080.080         REMIP2:081.081.081.081
[17:55:09] ABILIS_CPX_2:s p pv-1 remport:3101 locip:217.2.2.2 remip:217.1.1.1 locip2:81.81.81.81 remip2:80.80.80.80 out2:ip-3
descr:To_Abilis_1

COMMAND EXECUTED

[17:56:01] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - Not Saved (SAVE CONF) ----------------------------------------------
       - PV over IP (Abilis tunnel) (IP) --------------------------------------
       DESCR:To_Abilis_1
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D   
       MPX:NO        RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:DOUBLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.002.002.002          REMIP:217.001.001.001
       OUT2:Ip-3     GW2:#
       LOCIP2:081.081.081.081         REMIP2:080.080.080.080
[Tip]Tip

Saving the configuration with save conf command, the validation procedure will automatically change the parameter MPX (Multiplexing) from NO to YES.

[Tip]Tip

Activation of Link Check protocol is recommended (LC:YES): the parameter must be set at the same value on both Abilis or the VPN will not work.

[17:54:54] ABILIS_CPX_1:save conf

VALIDATION IN PROGRESS ...
WARNING: RES:Pv-1 Changed "MPX" from NO to YES
VALIDATION SUCCESSFULLY EXECUTED

SAVE EXECUTED

[18:02:19] ABILIS_CPX_1:d p pv-1

RES:Pv-1 - PV over IP (Abilis tunnel) (IP) ------------------------------------
       DESCR:To_Abilis_2
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D  
       MPX:YES       RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:DOUBLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.001.001.001          REMIP:217.002.002.002
       OUT2:Ip-3                      GW2:#
       LOCIP2:080.080.080.080         REMIP2:081.081.081.081
[17:56:05] ABILIS_CPX_2:save conf

VALIDATION IN PROGRESS ...
WARNING: RES:Pv-1 Changed "MPX" from NO to YES
VALIDATION SUCCESSFULLY EXECUTED

SAVE EXECUTED

[18:02:16] ABILIS_CPX_2:d p pv-1

RES:Pv-1 - PV over IP (Abilis tunnel) (IP) ------------------------------------
       DESCR:To_Abilis_1
       - Link -----------------------------------------------------------------
       LLOG:DS       LMPX:YES         LC:YES         LCOMP:NO      LCR:NO
       LT1:3000      LT3:9000         LN2:3                        LCRKEY:DFT
       - IP Tunnel ------------------------------------------------------------
       MODE:EXT      V-OPT:NO         D-TOS:0-N      V-TOS:0-D     C-TOS:0-D   
       MPX:YES       RS-BUF:10        D-TOUT:1000    V-TOUT:100    V-RED:NONE
       PATH:DOUBLE   LOCPORT:3101     REMPORT:3101   CR:NO         CRKEY:DFT
       OUT:AUTO
       LOCIP:217.002.002.002          REMIP:217.001.001.001
       OUT2:Ip-3                      GW2:#
       LOCIP2:081.081.081.081         REMIP2:080.080.080.080

Now the configuration of the VPN is completed.