: http :// www . cadvision . com / blanchas / Asterisk / IAX 2 Trunk . html http://www.cadvisio n.com/blanchas/Asterisk/SIPtrunk.html PBX1 <=> PBX2 PBX2 <= PBX3. , SIP PBX1 PBX3 PBX2 => PBX3, . . , . IAX 2 PBX 1 PBX 2: (http://192.168.252.41 http://192.168.252.42). . IAX2 . FreePBX => Add Trunk => Add IAX2 Trunk , Outgoing Settings ( ) : [Trunk name] host username secret qualify=yes trunk=yes
Route Name must be a descriptive name of route Dial Patterns example of extension number Trunk Sequence this is the trunk that we configured As a result: For PBX 1: For PBX 2: [200-dial2xx] [100-dial1xx] [2xx] [1xx] [IAX2/200-peer] [IAX2/100-peer] The last step is to set some users or Extensions. All in all we need 25 users for PBX1 and 25 for PBX2. We will describe the creation of 2 users as the configuration of rest is absolutely the same. From FreePBX menu => Extensions where from Add an Extension menu we select «Generic SIP Device». On page which comes after that the following parameters were required: User Extension user phone numbers (as example, for PXB1 the number will be <150>, for PBX2 - <250>) Display Name user names (as example, for PXB1 user's name will be HOMER, for PBX2 BART) Device Options