Crosstalk SIP pjsip Trunking Setup for FreePBX

Crosstalk SIP pjsip Trunking Setup for FreePBX

This article will help get your Crosstalk SIP trunks up and running with FreePBX or PBXact! 

If you have any questions, or need any assistance with this process, please don't hesitate to contact info@crosstalksolutions.com.


Inbound Trunk Setup

In FreePBX / PBXact:

1. Connectivity --> Trunks

2. Add trunk (chan_pjsip)


General Tab

Trunk Name:  Crosstalk_SIP_Inbound
Outbound CID:  The 11 digit caller ID phone number for this trunk




pjsip Settings tab --> General tab

Authentication = none
SIP Server = 
64.136.174.30

SIP Server Port = (can be left blank unless you KNOW that your SIP server port is something other than 5060)



pjsip Settings tab --> Advanced tab

Scroll down until you find the 'Match (permit)' setting and paste in the following IP addresses  

Match (Permit):   64.136.173.31,64.136.174.30,64.136.174.20,209.166.154.70,192.240.151.100


This setting is telling this inbound trunk to listen for incoming calls coming from any of these IP addresses - this is for inbound trunk redundancy.


At this point, you should be able to log into the Asterisk console via SSH (use the command asterisk -rvvv to get to the Asterisk console).  Once in the Asterisk console, you can run 'pjsip show endpoints' and you should see the new Crosstalk SIP trunk in an 'Avail' status (Available).


Inbound Route Setup

Now that the Crosstalk SIP inbound trunk is set up, you need to tell it where to send calls - for this, we will create an inbound route.  Our first inbound route will be a 'Default' route as a catch-all.

1.  Connectivity --> Inbound Routes
2.  Add Inbound Route

Description:  Default (or whatever you want to call this Inbound Route)
Set Destination:  (Set it to your preferred inbound destination - an extension, ring group, IVR, etc.)


3.  Submit and Apply Changes.

Firewall 

Next we need to authorize the Crosstalk SIP IP addresses through the FreePBX firewall.  Note that if you have a standard corporate firewall in front of FreePBX, you will also have to open up the appropriate ports through to the FreePBX.  See our Firewall Guide for more info.

 

1.  Connectivity --> Firewall
2.  Networks tab  

Add each of the following IP addresses to the 'Local' zone in the Networks tab:

 

64.136.174.30/32
192.240.151.100/32
64.136.173.31/32
64.136.174.20/32
209.166.154.70/32

You can also add a description to each of these for easy future reference.  When finished, you should have these entries in your FreePBX firewall Networks tab:


Click 'Save' at the bottom of the screen.

3. Intrusion Detection tab - next, click on the Intrusion Detection tab (still in the Connectivity --> Firewall module).  Copy and paste these IP addresses into bottom of the Whitelist section:

 

64.136.174.30/32
192.240.151.100/32
64.136.173.31/32
64.136.174.20/32
209.166.154.70/32



Click 'Save Intrusion Detection' at the bottom of the screen.

At this point, you should be able to make an inbound call to your Crosstalk SIP DID(s) and it will ring the Destination that you set in your Inbound Route configuration.

Outbound Trunk Setup

Next we will set up multiple Outbound Trunks for outbound redundancy.  You can create up to 5 redundant outbound trunks for redundancy.  You do not have to create all 5 trunks, but I would recommend creating a minimum of 2 in order to have a redundant set.

1.  Connectivity --> Trunks
2.  Add Trunk --> (chan_pjsip) Trunk

General Tab

Trunk Name:  Crosstalk_SIP_Outbound_1
Outbound Caller ID:  The 11 digit caller ID phone number for this trunk (ie. the 'main' number you want calls to go out as)


pjsip Settings tab --> General tab

Authentication = none
SIP Server =  64.136.173.31
SIP Server Port = (can be left blank unless you KNOW that your SIP server port is something other than 5060)


 Click 'Submit' followed by 'Apply Changes.'

Next, you will want to repeat this same process to create up to 4 additional redundant trunks using the following IP addresses for the SIP Server:

 

General - Trunk Name

SIP Server

Location

Crosstalk_SIP_Outbound_1

64.136.173.31

Pennsylvania

Crosstalk_SIP_Outbound_2

192.240.151.100

California

Crosstalk_SIP_Outbound_3

64.136.174.30

Pennsylvania

Crosstalk_SIP_Outbound_4

64.136.174.20

Pennsylvania

Crosstalk_SIP_Outbound_5

209.166.154.70

Pennsylvania

HINT:  Use the 'Duplicate' button on the first trunk you create to save some time.  (But when duplicating, don't forget to check that 'Disable trunk' is set to NO).


Outbound Route Setup

Create 2 outbound routes - one for Emergency Services (e911) and one as a default outbound route.


Emergency Route

1.  Connectivity --> Outbound Routes --> Add Outbound Route

Route Settings tab

Route Name:  Emergency
Route CID:  [Your 11 digit e911 Caller ID, ie. 15415551212]

For emergency services, you must ONLY use an authorized e911 DID.  Calls to 911 that don't have a valid associated e911 address will result in a $275.00 penalty.

Route Type:  Emergency
Trunk Sequence (set as many trunks as you configured for outbound):

Crosstalk_SIP_1
Crosstalk_SIP_2
Crosstalk_SIP_3
Crosstalk_SIP_4
Crosstalk_SIP_5



Dial Patterns tab

Click on 'Dial Patterns' and deselect all except 'US Emergency.'  Then press Generate Routes.



This will generate all appropriate emergency dialing routes.



Additional Settings tab

Set 'Call Recording' to 'Force.'  This will record all emergency calls by default.


Click 'Submit' to save your Emergency Outbound Route.

Default Route

1.  Connectivity --> Outbound Routes --> Add Outbound Route


Route Settings tab

Route Name:  Default
Route CID:  [Your 11 digit Caller ID, ie. 15415551212]

Trunk Sequence (set as many trunks as you configured for outbound):

Crosstalk_SIP_1
Crosstalk_SIP_2
Crosstalk_SIP_3
Crosstalk_SIP_4
Crosstalk_SIP_5



Dial Patterns tab

Create the following dial patterns:



Prepend
Pattern
<blank>
+1NXXNXXXXXX
<blank>
1NXXNXXXXXX
1
NXXNXXXXXX
1NXX (substitute NXX for your local area code)
NXXXXXX



Click 'Submit' followed by 'Apply Config.'

Congratulations!  You are now fully set up to use your Crosstalk SIP trunk.

If you need assistance with any of the information above, please do not hesitate to contact us at info@crosstalksolutions.com.







 







    • Related Articles

    • Crosstalk SIP User Portal

      This article will provide an overview and walk-through of the Crosstalk SIP User Portal (CSUP).   The URL to log into the CSUP is:  https://www.voipbackoffice.com Your username will be emailed to you upon Crosstalk SIP sign-up, and you will have the ...
    • Crosstalk SIP Faxing

      Pricing $9.99/mo. per Fax to Email DID - includes 250 minutes of fax usage, $0.03/minute above 250 minutes. Fax to Email Fax to email means that when someone sends a fax to your Crosstalk SIP Fax DID phone number, you will receive that fax as a PDF ...
    • IVR Design - FreePBX 101 v15

      FreePBX 101 v15 IVR design - feel free to download and use this as a reference as you go through the FreePBX 101 v15 series.  PDF version attached below.
    • Crosstalk SIP User Portal Password Reset

      If you don't know, or forget your password to the Crosstalk SIP User Portal, you can reset it pretty easily! 1.  Open up https://www.voipbackoffice.com/Login.aspx in a browser. 2.  For Email, enter in your Crosstalk SIP User Portal email address (if ...
    • Switching to ClearlyIP Mirrors and Crosstalk PBX Branding

      ​ In order to user ClearlyIP / Crosstalk modules on FreePBX, you should switch to ClearlyIP's module repository (aka mirror server).  There two main benefits to doing this - first, you will avoid any 'unsigned module' errors in the FreePBX GUI.  ...