Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

4.0.1 Background on SIP Trunks

The SIP Trunks are used for connecting

Brand
brandserver
to a local PBX or to a SIP VoIP provider. A Trunk can be used both for receiving and placing calls in a bidirectional way.Each SIP Trunk can be used to both receive and place calls. 

4.0.2 SIP Trunk's categories

From the

Brand
brandserver
version 2.5 you have two main SIP Trunk's categories:

  1. Secure Trunks
  2. Insecure Trunks

The former ones entail both TLS and SRTP, while the latter none of them: they use just RTP over UDP (thus without TLS). Which one is to be used depends on many factors, major one is the kind of PBX on the trunk's end. For example Cisco Unified Communications Manager are usually connected to

Brand
brandserver
via Secure Trunk, while SIP providers most often use the Unsecure Trunk.

4.0.3 Authentication Models in SIP Trunks

Apart for trunk's categories, you should get acquainted with the Authentication Model, that can be:

  1. SIP Account for Registered Trunks
  2. IP Authenticated forUnregistered Trunks

SIP Trunks using the Registered Authentication Model need an account on the other end. Then they use the account's credential to authenticate the Trunk when the

Brand
brandserver
is started and every communication that passes over that Trunk is considered authenticated, thus valid by default, and has the right to be processed and routed. 

SIP Trunks with no registration, on the other hand, do not need for an account to be setup: instead they use IP address to authorize every SIP communication directed to the

Brand
brandserver
. This model implies that any new SIP communication is authenticated against the sender's IP address (meaning the one belonging to the PBX connected to the
Brand
brandserver
).

The latter model is mostly used enterprise systems, eg with CUCM. The former is mostly used with SIP Providers.

Warning

There's no way to perform an unauthenticated SIP INVITE on

Brand
brandserver
! You can have different authentication models but you cannot choose to enable an unauthenticated SIP Trunk.

Anchor
2.0.4_general_starting_point_for_new_sip_trunk
2.0.4_general_starting_point_for_new_sip_trunk
4.0.4 General starting point for SIP Trunk configuration

No matter what kind of Trunk you're going to configure on

Brand
brandserver
, you would anyway come throughout the SIP Trunk configuration page in order to complete your setup.

Subtitle
Prefixfigure
SubtitleTextNew SIP Trunk form
AnchorNamenew_sip_trunk

in 

Xref
AnchorNamenew_sip_trunk
 it's shown the tipical generic new sip trunk form. 

The fields have the following meanings:

  • NAME: a meaningful name for this trunk
  • HOST: IP address or Hostname of the SIP server provided by ITSP
  • OUTBOUND PROXY: IP address of the outbound proxy server provided by ITSP
  • VIRTUAL PHONE NUMBER: associated virtual number
  • USERNAME: login username
  • PASSWORD: password for the username entered above
  • REGISTER: select if you want to have only outgoing calls or incoming (see below for deeper explanation)
  • SEND KEEP ALIVE: select it if you want
    Brand
    brandserver
    to send a SIP OPTIONS packet on a regular basis
  • PORT: registration port of the service
  • TRANSPORT: protocol to be used as a transport mean. Choices are:
    • UDP
    • TLS
  • ENCRYPTION: whether the trunk has to be encrypted or not
  • MAX CONCURRENT CALLS: maximum number of calls on a single trunk
  • NAT: enable/disable the Network Address Translation configuration
  • DIRECTMEDIA: experimental sound management in P2P mode without routing the audio stream through the server
  • SENDRPID: the Remote Party ID, used to interconnect with VoIP Provider for the management of privacy
  • AUDIO TONES: this is used for Audio Messaging. The possible values are:
    • NO AUDIO TONES: no audio messages would be played on this trunk
    • ON EARLY MEDIA: the audio messages would be played using SIP early offer
    • ON ANSWERED CALLS: the audio messages would be played using SIP delayed offer
  • DTMFMODE: tone signaling technology used for this SIP interconnection
  • ALLOW: voice codecs used in this trunk
  • DISALLOW: voice codecs denied in this trunk

 

Subtitle
Prefixfigure
SubtitleTextSIP Trunk section in the Main Menu
AnchorNamepbx_integration_menu

You can reach 

Xref
AnchorNamenew_sip_trunk
 using the PBX INTEGRATION menu inside the main menu. As you can read in 
Xref
AnchorNamepbx_integration_menu
 there are just 2 links inside it:

  • Inbound
  • Outbound
Subtitle
Prefixfigure
SubtitleTextThe SIP Trunk list
AnchorNamesip_trunk_list

For creating a new SIP Trunk you go on the Inbound menu voice and then use the New Sip Trunk in the Sip Trunk List page (see

Xref
AnchorNamesip_trunk_list
.

For each category and authentication models you are going to find a specific manual page describing the correct configuration and the possible parameters to be used.

Children Display