Bart
Active Member
- Joined
- Nov 14, 2007
- Messages
- 447
- Reaction score
- 25
I needed to interconnect two systems. One is ViVO and the other is PiaF. It took a while to get it to work so I thought I'd post my configs to help others:
On XiVO Side:
Select 'Trunk Management => IAX Protocol => (+) to create IAX Trunk. Enter:
Name: system2
Username: system1
Password: your-password
IP Addressing: Static
IP Address of remote PiaF
Connect type = Peer ; (maybe friend?)
Context: Default
On Registration Tab - All empty
On Signaling Tab:
Monitoring = yes
Choose any other options that are appropriate
Select Customize
Add G.711 u-law or whatever you use
Select Advance Tab:
I have everything unchecked
I enter transfer = no
I entered port =4569
Save
Now go to Call Management => Outgoing Calls => (+) Create new outgoing
Name: system2
Context: Outcalls (to-extern)
Select system2 from right side move to left side
Click Exten Tab:
Click (+)
Add Exten to route to the other end
Save
On the PiaF Side:
Add IAX2 Trunk
Trunk Name: system1
Outgoing Trunk Name: system1
username=system2
secret=yourpassword
host=xivo IP address
type=friend
context=from-trunk
qualify=yes
transfer=no
trunk=no
Now go to Outbound Route and Add Route
Route Name system1
Dial Patterns add extensions to dial on xivo side
Select Truck Sequence = system1
Save and reload
Feel free to point out any errors/problems, but it works for me
Bart
On XiVO Side:
Select 'Trunk Management => IAX Protocol => (+) to create IAX Trunk. Enter:
Name: system2
Username: system1
Password: your-password
IP Addressing: Static
IP Address of remote PiaF
Connect type = Peer ; (maybe friend?)
Context: Default
On Registration Tab - All empty
On Signaling Tab:
Monitoring = yes
Choose any other options that are appropriate
Select Customize
Add G.711 u-law or whatever you use
Select Advance Tab:
I have everything unchecked
I enter transfer = no
I entered port =4569
Save
Now go to Call Management => Outgoing Calls => (+) Create new outgoing
Name: system2
Context: Outcalls (to-extern)
Select system2 from right side move to left side
Click Exten Tab:
Click (+)
Add Exten to route to the other end
Save
On the PiaF Side:
Add IAX2 Trunk
Trunk Name: system1
Outgoing Trunk Name: system1
username=system2
secret=yourpassword
host=xivo IP address
type=friend
context=from-trunk
qualify=yes
transfer=no
trunk=no
Now go to Outbound Route and Add Route
Route Name system1
Dial Patterns add extensions to dial on xivo side
Select Truck Sequence = system1
Save and reload
Feel free to point out any errors/problems, but it works for me
Bart