The gateways represent the entities through which the PBX communicates with the outside world, in other words, they represent the interface with the telephone lines of the company. A gateway can be a hardware device physically connected to the company’s telephone lines (ISDN, Analog, GSM), or it can be a VoIP operator. In the Cloud architecture of VOIspeed, the hardware gateways (ISDN, GSM, Analog) authenticate themselves on the server as if they were a user, therefore the switchboard administration will have to create the authentication credentials

On the gateways that represent VoIP operators, instead, it is the PBX that authenticates itself on the operator as usual.

Entering the Configuration – Gateway menu accesses the list of existing gateways. The buttons delete, & search editserve respectively to eliminate, refer to the properties of the gateways and change configurations.To create a new gateway, enter the Configuration – Gateways page and click on the button.add32 The window for creating the gateway will appear, which depending on the type will show some fields (see below).
VoIP Gateways
The PBX registers with the operator with the
VoIP account data
Gateway Hardware (ISDN, GSM, Analog)
The gateway registers on the PBX, so it is necessary to create the account as if it were a PBX user. The same data (username and password) must be specified on the hardware gateway.
Parameter Description
Company  It’s the current company you’re working on (not editable)
Type Indicates the type of physical interface to which the gateway connects. Precisely:
ISDN operators: indicates an ISDN gateway on basic access or primary access (eg Mediatrix 440X)
GSM: indicates a GSM gateway (eg V-6021, 2N)
Analog Line: indicates a gateway for analogue FXO lines ( eg Mediatrix C730, Patton 4112)
Qualified Activate or deactivate the gateway
First name  Gateway name ( required )
Lines  The number of total lines that the gateway can manage. Indicate the exact number of channels or lines available on the gateway. Examples:
ISDN: 2 lines for each basic BRI access (ISDN socket, or ISDN port of a router if supplied by another operator)
ISDN: 30 lines for entire primary access, 15 for primary fractioned
GSM accesses: 1 line for each SIM inserted in the gateway
Analog Line: 1 VoIP line
: varies according to the case. Enter the number of available lines calculated based on the available bandwidth in upload (each conversation with the G.729 compressed codec takes up about 20kbps, each G.711a uncompressed conversation takes up about 80kbps). If the operator places a restriction on the number of lines, set the same number, as long as it is compatible with your ADSL connection.
Exit  number It allows you to specify the exit number (CLID or caller ID) when the gateway uses the telephone line. This allows you to appear outside with the desired number, as long as the interrogated gateway supports this function. The available options are:

  • Username (provided by the operator): the username used to create the gateway is used
  • Static: enter the phone number that you want to display on exit.
    NB Italian law prohibits the use of any numbers. Only numbers belonging to your telephone line are allowed. In the event of an error, the number entered will be ignored in favour of the geographical number (as in a digital Telecom line) or the call even refused (for example by VoIP operators).
  • Specified by the caller : the output number will be that of the original caller. In the On Premises platform it implicitly indicates the output number of the extension specified in  the user profile . In the UCloud platform it is used instead to display the number of the original external calls when an incoming call is forwarded again to the outside.
    NB As above, the number in question must be the geographic number provided by the operator and / or attested in your account. It can also be a different number from this one, but this number will be actually displayed only if the operator used allows it. Since it is forbidden in Italy to show a different number from your own line, this option is only valid abroad in countries where this limitation does not exist.
  • User exit number: in this case, the output number used will be the one set in the user profile
    • Alternative number (if the caller is not a user): serves to specify the exit number when a call is not a user (for example for forwarding by the IVR or forwarding an external call)
Domain Indicates the domain of the VoIP operator (eg
User ID
In the UCloud architecture, hardware gateways (ISDN, GSM, Analog) all require authentication as if they were a user. For this reason, it is necessary to create the account here (username and password).
Attention, do not use characters in this field. Set the telephone number of the telephone line as the User ID. If you have more than one gateway with the same number, use a different number (for example the main number with an extra digit). This new number must obviously be entered as a company number
RTP flow tracker Valid only for VoIP Operators: by default, it is always deactivated and should only be activated if the VoIP operator supports peer to peer communications between terminals, where the PBX does not bypass RTP flows
Indicates whether the gateway requires authentication or not. It is normally used for VoIP operators. Furthermore, in the UCloud architecture, all gateways (eg GSM, FXO, ISDN) require registration. Activating this option you will be asked: realm, username, password and authentication period (register timeout).

Tip: set the phone number of the telephone line as username.

Realm  Very important for VoIP operators: it must coincide with the Realm communicated by the operator. In the event of failure to register, check the Realm column in the gateway monitoring: that represents the true expected value, taken from the PBX by the operator’s SIP reply packets. Sometimes the commercial offices of the operators account data are incorrect (among these the Realm is the most susceptible to errors).

In this section, you can manage adding/removing prefixes to/from numbers after being commissioned by the gateway. The Prefix Rules field allows you to insert rules for adding or removing the desired prefixes. It is possible to insert more than one rule (one per line) and each of them must have the following syntax:

P1, P2, P3 where P1 = prefix number called, P2 = prefix to remove, P3 = prefix to add. The comma is considered as a separator, so if there is no prefix to add or remove, you don’t need to write anything but leave the comma as a separator.

This function is very useful when you want to engage the gateway by prefixing the dialled number: after the call is managed by the gateway the prefix must be removed otherwise the call would be forwarded to the gateway for a non-existent number.

Example: to exit with the desired operator, the user must prefix to the number to be called (eg: 510612345678). In the Advanced section of the Gateway, enter rule 51.51, (leaving the last field with the last comma as the last field). This means that calls for numbers starting with 51 will be turned into calls for numbers without the same prefix.

It is also possible to make the gateway add a prefix to the numbers entered by the users because, for example, it is connected to a SIP device (eg GSM / UMTS multi-SIM gateway ) that routes calls on its resources based on a prefix.

Example: the user must exit the SIM 1 of a GSM gateway transparently when calling mobile phones; the GSM gateway uses the prefix 5 to engage the SIM1 (which then removes internally). In the advanced section of the gateway, it will be necessary to insert the following string: 3 ,, 5 which indicates that to the mobile numbers (prefix 3 …), VOIspeed will add the prefix 5 and send it to the GSM gateway as 53 … The GSM gateway will, therefore, have to take care of the removal of the prefix once it has engaged the desired SIM.

NOTE: in order for the convenience numbers to be sent to the gateway, a routing rule must also be created for that prefix, otherwise the PBX would not be able to route the call to the gateway. In fact, these rules only apply AFTER the call has been routed to the gateway itself.

Interested in reselling?




Becoming a VOIspeed partner is an opportunity to grow your business and add value to your customers. Discover our partnership programme.

Looking for a phone system?




Would you like more information about our telephone services?
One of our consultants will contact you to discuss your requirements.