PBX220 Connect with VG3X-2S/2O Gateway by No Registration

We can connect the VG3X-2S/2O gateway and the PBX220 without the registration of the FXS port to make the functions below available:

  1. IP extension and the analog extension on FXS port can call each other;
  2. IP extension can call out via the FXO port;
  3. The analog extension on FXS port can call out via FXO port;
  4. When call comes in, it will be sent to the IVR of PBX220.

In this example, the IP address of PBX220 is 192.168.1.9, and the extensions are registered on PBX220 with numbers 8xxx, for instance, 8001, 8002. The IP address of VG3X-2S/2O gateway is 192.168.1.3, and the FXS port 1 is connected with an analog telephone, setting the phone number as 8001; FXO port 1 connects to a PSTN line.

The detailed settings are here:

First of all we need to create a Line Provider in PBX General as SIP Direct:

q1

When the Real Status shows as below, it proves that the connection between VG3X-2S/2O and PBX220 is ok.

q2

Then we can make the specific settings.

1. IP extension and the analog extension on FXS port can call each other;

Because that we haven’t registered the FXS port, we need to write the Routing Table in VG3X-2S/2O gateway to make sure they can call each other. As mentioned before, the phone number of FXS port 1 is 8000:

q3

So the Routing table here means that the call of 8000 will be send to FXS port 1, and the callee number which begins with 8 from FXS port 1 will be send to PBX220.

q4

2. IP extension can call out via the FXO port;

This we need to create an Outbound Route on PBX220 and write the Routing Table on VG3X.

This is the Outbound Route on PBX220, it means the calls will go out via the line named gateway2.

q5

This is the routing table :

l1

3. The analog extension on FXS port can call out via FXO port;

The rule marked on the picture below can make the FXS port call out via FXO port.

q7

4. When call comes in, it will be sent to the IVR of PBX220.

We can create an IVR on PBX220 first, then set it as the call in number.

q8

q9

If there is only one trunk available, then we have no need to create an inbound route because the defalt can work fine. But if there are more than one trunk, we need to create an inbound route to ensure the incoming calls  matching well with the trunk we created.

Here is the Inbound Route:

l3

That is the all work we need to do.

 

No comments yet.

Leave a Reply