Interconnecting two Trixboxes with an IAX2 Trunk

This setup provides a reasonably secure method of connecting two Trixboxes together over an IAX2 trunk. Registration is not required because static IP addresses are employed on both Trixboxes.
To limit the number of concurrent connections over the trunk a maximum number of channels must be specified or it should be left blank for unlimited connections. Dial Rules need to be set up for all digit strings that will pass over the trunk.
An outbound route will also need to be set up to route calls to the trunk. Caller ID is forwarded normally. Beware of using the same numbers on each Trixbox, the caller ID name from the wrong Trixbox might be displayed.
Setup Details:
Trixbox A IP ZZZ.ZZZ.ZZZ.ZZZ                       Trixbox B IP XXX.XXX.XXX.XXX
Outgoing Settings                                            Outgoing Settings
Trunk Name: InterOffice                                  Trunk Name: Inter Office
Peer Details:                                                     Peer Details:
host=XXX.XXX.XXX.XXX                              host=ZZZ.ZZZ.ZZZ.ZZZ
qualify=yes                                                         qualify=yes
type=peer                                                          type=peer
username=pbxa                                               username=pbxb
secret=password                                             secret=password
Incoming Settings                                            Incoming Settings
User Context: pbxb                                         User Context: pbxa
User Details:                                                   User Details:
type=user                                                         type=user
context=from-internal                                      context=from-internal
host=XXX.XXX.XXX.XXX                           host=ZZZ.ZZZ.ZZZ.ZZZ
secret=password                                           secret=password
Register String: Leave Blank                       Register String: Leave Blank

Related post



Newer Post Older Post

0 comments:

Post a Comment

 

Wiki Voip And Fax Tutorials Copyright © 2010 Labloub