#, #FreePBX Asterisk, #? Telegram!

IP Asterisk . , , VPN, . , IP Asterisk, .

IP ? . , IP Asterisk IAX . FreePBX 13.



, , . . L3 VPN. 1XX (100-199), 2XX (200-299).

2 IAX . IP :

  • - 192.168.1.67
  • - 192.168.1.68

. ConnectivityTrunks IAX +Add TrunkAdd IAX2 Trunk. Trunk Name Outgoing novosib, PERR Details :

  Asterisk  IAX
username=novosib
host=192.168.1.68
type=peer
secret=wikimerion
qualify=yes
context=from-trunk
disallow=all
allow=alaw

, . Incoming. User Context moscow, :

   IAX -
host=192.168.1.68
type=user
secret=wikimerion
qualify=yes
context=from-internal
disallow=all
allow=alaw

Submit. . 1XX 2XX , , IP Asterisk , . ConnectivityOutbound Routes + Add Outbound Route:

       IAX

Submit Apply Config


. ConnectivityTrunks+Add TrunkAdd IAX2 Trunk. Outgoing moscow :

 IAX     Asterisk
username=moscow
host=192.168.1.67
type=peer
secret=wikimerion
qualify=yes
context=from-trunk
disallow=all
allow=alaw

Incoming novosib :

 IAX    FreePBX 13
host=192.168.1.67
type=user
secret=wikimerion
qualify=yes
context=from-internal
disallow=all
allow=alaw

. ConnectivityOutbound Routes + Add Outbound Route:

       Asterisk

Submit Apply Config


, iax2 show peers. , OK

  IAX   FreePBX 13

, , IP Asterisk 2XX, , , , .


?

 .

P.S. , :)

"",