Sip Trunk from Asterisk to IP Office

Occasionally we hear people that want to connect an Asterisk to an IP Office.  The below submission was compliments of Tek-Tips.com

IP Office setup:

1) Create a new SIP Trunk (SIP Licenses are required for this)
2) The only thing you fill in here is the IP address of Asterisks/TrixBox. Please note that this config is done anonymously, so I assume the two machines are either on the same LAN or connected securely via a VPN, I would not recommenced this setup if you are doing this over the internet.

ITSP Domain:
IPSP IP : Asterisks IP
Prim Auth / Pass:
Eveything Else:

Check “in Service” box

3) Setup SIP URI – ADD a channel and set this to – Make sure to set the groups to something unique. I used group 420 for incoming and outgoing.

4) The other tabs can be left default settings

5) Create a short code for calling the Asterisk Box. The extension on my asterisks are 4xx. So my SC looks like this:

Code: 4XX ( Change this with your extension format )
Feature: Dial 3k1
Tel Number: 4N”@x.x.x.x” (Replace with IP of asterisks)
Line Group : 420 (Group Id Set in URI)

6) Create an Incoming Call Route Like this:

Bearer: Any Voice
Line Group : 420

 

Under Destination
Default Value is . (just a period)

7) Under Each User, make sure to set their Sip Name to their extension number under there SIP Tabs.

ASTERISK Setup VIA FreePBX GUI

1) Create a SIP Trunk that looks like this:

Trunk Name: IPO
Peer Details:

host=x.x.x.x (IP of IP Office)
type=friend

2) Create an Outbound Route
Route name: IPOffice

Intra Company Route

Dial Patterns : 2XX ( Replace with the format of your IP Office extension )

Trunk Sequence: SIPIPO

3) Under General Settings
Set “Allow Anonymous Inbound Sip Calls” to yes

That should be it, you should now be able to call back and forth between the 2 systems as if they are one.

Print Friendly, PDF & Email