I am new to FreePBX and I will be grateful for any advice that will help me to achieve required task which will be explained in the following network diagram:
I would like to create a connection between two PBX system so that extensions can call each other as if its a single system/server:
1- Avaya 192.168.20.10 with extensions 4XXX
2- FreePBX 192.168.20.5 with extentions 3XXX
Steps that I have tried:
1- Avaya has already been configured that when dialed number matches 3XXX to be forwarded to 192.168.20.5 and I can hear FreePBX that the dialed number is out of service since no configuration has been done yet.
2- I have created a PJSIP extension (Ext: 3111, Dis name: 3111, Outbound CID: 3111).
3- Created Inbound route in FreePBX (DID: Any, Caller ID: Any, Set Destination: Extensions → 3111 )
now all calls from Avaya now is routed to a single phone (3111) but i would like all phones to be able to call each other . What is the correct configuration for Inbound routes?
4- I have created a trunk and outbound.
Name: avaya-trunk, Allow any CID, Auth: None, Regisration: None, SIP server: 192.168.20.10, SIP Port: 5060, Context: from-internal , Extensions match: Empty
Outbound Routes Settings:
Route CID : Empty, Route Type: Intra-Company, Trunk Sequence: avaya-trunk, Dial Pattern: 4XXX
with that done phones with 3XXX were able to call phones 4XXX with no issues but once its done none inbound calls were able to go through.
My objective that 4XXX phones can call 3XXX and via versa.