SIP trunk to ATCOM PBX

SIP trunk to ATCOM PBX from FreePBX

Scenario

smaRtPBX IP: 192.168.1.200 SIP extensions: 100, 101, 102, 103, 104, 105

ATCOM IP: 192.168.1.100 SIP extensions: 200, 201, 202, 203, 204, 205

we should be able to call 200-205 from extensions 100-105 and vice versa.


config on smaRtPBX side

  1. Log into 192.168.1.200
  2. Create a new sip extension (800)
  3. Create a custom trunk and set custom Dial String to: SIP/800/$OUTNUM$


config on ATCOM side

1) Log into 192.168.1.100

2) create a new sip trunk (go to trunk -> Voip trunks -> New Voip Trunks)

3) Go to Outbound calling rules and create a new rule. set the trunk to the trunk name you created above.

 

4) Go to Dialplan and check the outbound rules you created above.

5) Apply changes on both sides

now you should be able to call 200 from 100 by calling 33<smartPBX exten no>


How to enable smaRtPBX call ATCOM

config on ATCOM side

  1. Log into 192.168.1.100
  2. Create a new sip extension (700)


config on smaRtPBX-b side

1) Log into 192.168.1.200

2) create a new sip trunk

3) set trunk name to something (eg. trunk_test)

4) set PEER Details to

fromdomain=192.168.1.100
host=192.168.1.100
username=700
fromuser=700
secret=123456
disallow=all
allow=ulaw&alaw
qualify=yes
context=from-trunk
type=peer
insecure=port,invite
nat=yes
canreinvite=no

5) set Register String to: 700:123456@trunk_test and then submit

6) create a new outbound route and name it to something like trunk-to-ATCOM

7) set Dial Pattern to 22|.

8 ) set trunk sequence 0 to SIP/trunk_test

9) submit

10) Apply changes on both sides

now you should be able to call 100 from 200 by pressing 22<ATCOM exten no>

You may also like