Connecting two Asterisk servers using SIP protocol

If you have two office branches in two different locations, Both branches are running its own Asterisk server....