Configuring Trixbox Ce 2.8.0.3 For Spitfire SIP Trunks
Configuring Trixbox Ce 2.8.0.3 For Spitfire SIP Trunks
3 for
Spitfire SIP Trunks
This document is a guideline for configuring Spitfire SIP trunks onto Trixbox and includes the settings
required for Inbound DDI routing and Outbound CLI presentation. The settings contained within have
been tested and are known to work at the time of testing.
SIP trunk details such as account number and password will be provided separately.
Additional code is required to parse the inbound DDI from the To header. In this example I have used the
extensions.conf file but you should use config file is appropriate for your particular installation.
Select “extensions.conf
2
Add SIP Trunk continued
Paste the following into the appropriate file (I have used extensions.conf) as highlighted below. This will allow the
trixbox to read & route incoming DDI calls. Please note that the goto step may need to be changed to suit your
programming. Although this code was tested as working in this installation it comes with no warranty from
Spitfire.
[ParseDDI_from_ToHeader]
exten => _.,1,Set(parseDDI=${SIP_HEADER(To)})
exten => _.,n,Set(parseDDI=${CUT(CUT(parseDDI,@,1),:,2)})
exten => _.,n,Goto(from-trunk,${parseDDI},1)
Select “Update”.
Please ensure that you add context=ParseDDI_from_ToHeader in the Outgoing Peer Details of the trunk
(page 6)
3
Add SIP Trunk continued
4
Add SIP Trunk continued
General Settings
1. Outbound Caller ID: Enter the User name as supplied by Spitfire without the leading 44.
Please note that this is just the number and DOES NOT include
@spitfiretsp.net. This is the number that will be presented if there is no
individual CLI presentation per extension
2. Never Override ID: Determined by the installer
3. Maximum Channels: As specified by Spitfire
4. Disable Trunk: Determined by the installer. I would suggest No
5. Monitor Trunk Failures:Determined by the installer
5
Add SIP Trunk continued
Outgoing Settings
type=peer
host=83.218.143.16 (or spitfiretsp.net)
outboundproxy=mproxy3.spitfiretsp.net
username=your username as supplied by Spitfire (i.e. 442031410020)
secret=password as supplied by Spitfire
fromuser= your username as supplied by Spitfire (i.e. 442031410020)
fromdomain=spitfiretsp.net
sendrpid=yes
insecure=invite
disallow=all
allow=alaw
qualify=no
canreinvite=no
progressinband=yes this setting is required only if you are using call forward/divert
to an off-switch destination. Without this setting, the call will establish but you may
not hear any speech.
context=ParseDDI_from_ToHeader
6
Add SIP Trunk continued
Incoming Settings
Registration
You will be returned to the “Add a Trunk” page. You can see the new trunk on the right of the page, but you need
to apply the configuration changes before it can be used. Select “Apply Configuration Changes” and then
“Continue with Reload”
7
Outbound Routing – Reference only
Note: In this example I am simply modifying an existing “Dial 9” route to use our newly created trunks. The
installer may add or amend routes as necessary.
Select “Outbound Routes” on the “Setup” panel on the left of the screen.
Select “0 9_outside” on the right hand side of the “Add Route” screen.
8
Outbound Routing continued – Reference only
Go to “Trunk Sequence” and use the drop-down box to select your newly created SIP trunk (Spitfire in this case)
to route calls through, and “Submit Changes”
9
Inbound Routing – Reference only
Please Note: There are many fields available in the Inbound Routes field. This guide is only intended to
demonstrate an incoming DDI call only. The installer will determine if any of the other fields are required for each
DDI programmed.
Select “Inbound Routes” on the “Setup” panel on the left of the screen.
10
Inbound Routing continued – Reference only
Options
11
Inbound Routing continued – Reference only
Privacy
Fax Handling
Set Destination Determined by the installer. In this case I have selected “Extensions”
and the selected the extension “<201> Terry” from the drop-down
box
12
Inbound Routing continued – Reference only
You can now see the new DDI on the right, and as before you need to “Apply Configuration Changes” and then
“Reload”
13
Outgoing CLI – Reference only
This reference shows how to modify the outbound Caller ID on a single extension. This will over-ride the
“Outbound Caller ID” in the SIP trunk (Page 3)
1. Enter the CLI number in the format below (i.e. drop the leading 44 from the DDI number) and
“Submit”
2. “Apply Configuration Changes” and then “Reload”
14