Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Display Name:  Give the SIP Profile a name.  SIPStation_External
  • User Agent:  This is the name displayed on the User-Agent Header.  Does not need changing.
  • SIP IP Address:  Select the LAN IP Address of the SBC
  • External SIP IP Address:  Enter in the WAN IP Address of the Firewall/Router.  This setting is only used when the SBC is behind a Firewall/Router.
  • Port:  Port 5060 is default.
  • Transport:  Select the Transport you want to use, UDP+TCP is default.  Or individually UDP or TCP.
  • RTP IP address:  If different than the SIP IP Address, select the IP here.
  • :  Enter in the WAN IP Address of the Firewall/Router.  This setting is only used when the SBC is behind a Firewall/Router.
  • SIP Trace:  Optional:  Enable.  It is useful when you have a problem.
  • Strict Security:  Optional.   Enable when strict security is required, here all traffic from non whitelisted and/or registered IP addresses, on that SIP Profile, will be blocked.  This means that with this feature enabled you need to assign ACLs or register endpoints in order to be able to make calls through the profile.  Enabling in SIP Trunking solutions, allows the SBC to lock down to specific SIP Peers.
  • Authenticate Calls:  Select Disable,
  • ACL for Inbound Calls: From the Available list, select and use the Arrow key to move over the Internet_WAN_External_ACL list created earlier.

Image RemovedImage Added



Press Save


 

Signaling | SIP Trunks

...

  • Display Name:  Give any Name.  IP-PBX
  • Domain:  Enter the IP Address or FQDN of the IP-PBX
  • User Name:  Not required.
  • Authentication User Name:  Not Required.    
  • Password:  Not Required.
  • From User:  Not Required
  • From Domain:  Not Required.
  • Transparent CallerID:  Select Enabled.
  • Transport:  Select UDP
  • OPTIONS Ping Frequency:  Optional:   Enter 60 for 60 Seconds
  • OPTIONS Max Ping:  Optional:  Enter 5 for 5 tries
  • OPTIONS Min Ping:  Optional:   Enter 5 for 5 tries
  • SIP Profile:  Select the "IP-PBX_Internal" SIP Profile created earlier

Image RemovedImage Added
 


Press Save

 

Setup the SIPStation in a SIP Trunk Profile

...

  • Display Name:  Give any Name.  SIPStation
  • Domain:  Enter the IP Address or FQDN of SIPStation.
    • Note:  Use "trunk.freepbx.com" if your DNS Server provides DNS SRV
    • Note:  If the DNS Server does not Support DNS SRV - use trunk1.freepbx.com as the primary SIPStation location
    • Note:  If both - the DNS Server does not Support DNS SRV - And - you want a secondary trunk route option - the repeat this entire "Setup the SIPStation is a SIP Trunk Profile" for the trunk2.freepbx.com
  • User Name:  SIP Username - take from the SIPStation - My Account
  • Authentication User Name:  SIP Username - taken from the SIPStation - My Account.    
  • Password:  SIP Password - taken from the SIPStaion - My Account.
  • From User:  Not Required.
  • From Domain:  Not Required
  • Transparent CallerID:  Select Enabled.
  • Transport:  Select UDP
  • OPTIONS Ping Frequency:  Optional:   Enter 60 for 60 Seconds
  • OPTIONS Max Ping:  Optional:  Enter 5 for 5 tries
  • OPTIONS Min Ping:  Optional:   Enter 5 for 5 tries
  • SIP Profile:  Select the "SIPStation_External" SIP Profile created earlier
  • Registration:  Select Enable


Press Save

 

Media | Media Profiles

Go to Configuration | Media | Media Profiles

Standard SIPStation supports only G711 and G729.  The SBC appliances by default has many codecs available to transcode.

Image Added


Edit the 'default' Media Profile.

  • Codec #1:  Select either PCMU or G729 20ms
  • Codec #2:  Select the other available codec
  • Blank the rest

Image Added


Press Save

Image Added


Note:  If you want the SBC to Transcode different Codecs on the LAN side, Add a new Media Profile, with the required Codecs and assign it to the IP-PBX_Internal SIP Profile.  For example if the IP-PBX wants to use G722 and SIPStation wants G711, then the new Media Profile for the IP-PBX_Internal SIP Profile should have G722 as the Codec #1.



Routing | Call Routing

The SBC will require two Call Route Dial Plans.  One Dial Plan to send calls from the IP-PBX to SIPStation, and another Dial Plan to send calls from the SIPStation to the IP-PBX.

...

  • Description:  Enter a description.  Bridge to IP-PBX
  • Rank:  Enter 20.  Using 20 lets you add more Rules in between 10 and 20 in the future.
  • Matching:  Select ALL.  This will make the Rule look for all of the Conditions
  • Stop Policy:  Select "Stop on Success".  If the condition is matched, then no more Rules will be processed.
  • Condition:  Select "Standard Information" - this has a selection of most popular parameters
  • Name:  Select "Destination Address".  This is the Dialed Number in the R-URI address.
  • Expression:  Enter (.*).  Open Parenthesis Dot Asterisk Close Parenthesis - a Regular Expression to define to match any number dialed
  • Actions to perform if condition matches:  Action:  Bridge to Trunk  Trunk: Select "IP-PBX" - this is the SIP Trunk Profile defined earlier for the IP-PBX destination.  Destination:   Enter  $1  This mean use first variable within the first set of Parenthesis defined in the expression.
  • Actions to perform if condition doesn’t match:  Action:  Not Selected.  

Image RemovedImage Added



Press Save

 

Your Call Routing should now look like this for Inbound Calls to the IP-PBX.

Image RemovedImage Added




Signaling | SIP Profile

...