How to configure Elastix to FAG410X using peer SIP trunk


To establish connectivity between the Elastix and FAG410X, we need to configure a trunk between the two systems. This will allow extensions using external PSTN trunk connections.


IPPBX

Model: Elastix

IP: 192.168.99.19

GETAWAY

Model: FAG410X

Ip: 192.168.99.239


TOPOLOGY


CONNECT Elastix TO FAG410X USING PEER SIP TRUNK #

Create IVR On Elastix #

On the Elastix web GUI, create an IVR extension under PBX->PBX Configuration->IVR.

In IVR settings, if “Direct Dial” is enabled, the calls dialing into the Elastix IVR will be able to reach the internal extensions registered to Elastix. Also, you can assign the “IVR Entries” to different destinations.


Create Peer SIP TRUNK On Elastix #


On the Elastix web GUI, create a peer SIP trunk under PBX->PBX Configuration->Trunks. In this example, the FAG4108 IP address is 192.168.99.239.

 


Configure Outbound Rule on Elastix #

In this example prefix “9”, 9 is the first dialing digit and it will be stripped off when the call goes out.


Configure Inbound Rule on Elastix #


On Elastix web GUI, go to PBX->PBX Configuration->Inbound Routes to create a new inbound rule. In this example, we set the DID Number as 20000, which will be used in the FAG410X call forward setting.

The default destination is configured to IVR. Ensure to select the proper IVR.


Connect FAG410X with Elastix #

1- On the FAG410X web GUI, go to the VoIP->SIP page and enter the IP address of the Elastix that you are peering with.

2- Please make sure the Register Gateway option under VoIP-> SIP is set to No. In the following example, Elastix Server has IP address 192.168.99.19.


Configure FXO Port on FAG410X #

1- Connect the PSTN line to the FAG410X FXO port.

2-On the FAG410X web GUI, go to the Port->FXO page and press Modify on the FXO port you will use.

3- Make Connection Method (Static Binding for outgoing/incoming call)

4- Write Number 20000 to be matched with the DID number we configured in FCM630A Inbound Route.


Create Port Group on FAG410X #

1- On the FAG410X web GUI, go to the Port->Port Group page and press “Add New”.

2- Select the FXO port you will use.


FAG410X CALL Routing #

Configure IP to Tel on FAG410X #

1- On the FAG410X web GUI, go to the Route-> IP->TEL page, Press “Add New”.

2- Enter the Elastix Server IP address in “Source IP” and select the Port Group you will use from “Call Destination”.


Configure TEL to IP on FAG410X #

1- On the FAG410X web GUI, go to the Route-> TEL0->IP page, Press “Add New”.

 2- Select the Port Group you will use from “Source Port Group” and enter the Elastix Server IP address in “Destination Address”.

What are your feelings