Before adding the SIP Truck to FreePBX, please make sure you have created an
Extension and added it to your
Phone.
1. Login to your FreePBX Installation and in the top menu go
Connectivity -> Trunks. Click on the
Add Trunk button and select
Add SIP (chan_sip) Trunk.
![f56ef2b4ac5c9c98dbc29de4fb3686b19ef0e8c9?t=cfcc3e3ae029dc544f8ec7a97f3ce069](https://knowledge.crazytel.com.au/en/download/f56ef2b4ac5c9c98dbc29de4fb3686b19ef0e8c9?t=cfcc3e3ae029dc544f8ec7a97f3ce069)
2. On the
General tab give the trunk a name.
![55318cc2df4ce7d502be1ff8e0d9efc347147d78?t=f5e866f3402c5675b4daea99f168051f](https://knowledge.crazytel.com.au/en/download/55318cc2df4ce7d502be1ff8e0d9efc347147d78?t=f5e866f3402c5675b4daea99f168051f)
3. Click on the
sip Settings tab and add the below details into the
PEER Details text box. Make sure to update the username password and URL to be what Crazytel provided when setting up your SIP Trunk.
username=
USERNAMEfromuser=
USERNAMEsecret=
PASSWORDhost=
sip.crazytel.net.aufromdomain=
sip.crazytel.net.autype=friend
context=from-trunk
insecure=port,invite
trustrpid=yes
sendrpid=yes
qualify=no
dtmfmode=rfc2833
disallow=all
allow=alaw&ulaw
![1dcfa345d65b328de8caf581b6b15b8dcd31281e?t=e5422f9c595eb2423f4a33bfac0fddc3](https://knowledge.crazytel.com.au/en/download/1dcfa345d65b328de8caf581b6b15b8dcd31281e?t=e5422f9c595eb2423f4a33bfac0fddc3)
4. Click on the
Incoming tab and enter the details below into the
Register String. Make sure to update the username password and URL to be what Crazytel provided when setting up your SIP Trunk.
USERNAME:
PASSWORD:
USERNAME@sip.crazytel.net.au/USERNAME
![2dda6b8d30cab1a0e7578ccd9c55c6d2668c4ad6?t=017529c4f2872d1e8e28eebb7af6fda7](https://knowledge.crazytel.com.au/en/download/2dda6b8d30cab1a0e7578ccd9c55c6d2668c4ad6?t=017529c4f2872d1e8e28eebb7af6fda7)
You will now be able to make and receive calls through your Crazytel service.
If you experience any issues, please check out
FreePBX Quick Tips guides.