Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

FireBrick SIP Configuration: Difference between revisions

→‎Overview: Fix dead link and redirecting link
(→‎Add a carrier: prettyful)
(→‎Overview: Fix dead link and redirecting link)
(5 intermediate revisions by 2 users not shown)
 
=Overview=
[[File:Pbvoipicon.png]]
[[File:Pbvoipicon.png]]Also see: [http://www.firebrick.co.uk/fb2700/voip.php FireBrick VoIP Page] which has more details about the feature, as well as the [http://www.firebrick.co.uk/manuals.php?PRODUCT=2700 FireBrick Manuals] which contain a VoIP section.
 
[[File:Pbvoipicon.png]]Also see: [httphttps://www.firebrick.co.uk/fb2700support/knowledge-base/voip.php/ FireBrick VoIP Page] which has more details about the feature, as well as the [httphttps://www.firebrick.co.uk/support/manuals.php?PRODUCT=2700/0 FireBrick Manuals] which contain a VoIP section.
 
The FireBrick can be used for VoIP by being a VoIP gateway (FBSIP). Your local (or remote) SIP devices register against the FireBrick, and the FireBrick registers to your SIP provider, in a sense the Firebrick acts as a back-to-back SIP gateway.
==SIP and NAT==
First, a few comments about SIP, NAT and the FireBrick...
 
The FireBrick maps ports and IPs for NAT but provides no ALG for SIP or any other protocol. SIP is notoriously difficult with any sort of NAT, with or without ALGs. AAISP will be happy to route a block of IP addresses for use with VoIP phones, and the FireBrick can be configured to use these, and even allocate phones from the same manufacturer the correct IP by DHCP.
 
| extn
| 100
| Internal extension number '''where incoming calls are routed to (e.g. a user or a group)'''
|-
| allow
Add new VoIP user:
 
{| border="1" cellpadding="1" cellspacing="1" class="wikitable"
|-
! Config Item
 
xml:
<source lang=xml>
<telephone name="John" display-name="John" username="john" password="secret" allow="192.168.1.0/24" ddi="+441234567890" extn="101" carrier="AAISP" max-calls="1"/>
</source>
 
 
You can repeat this process for your other users, changing the extn each time, e.g. 102, 103 etc.
Go to: Config - Edit - Setup - Edit VoIP config
Click Add New
{| border="1" cellpadding="1" cellspacing="1" class="wikitable"
|-
| name
| ring
| 101 102 103
| space separateseparated list of the internal extension numbers to ring
|-
| type
 
xml:
<source lang=xml>
<group name="Main" display-name="Main" extn="100" ddi="+441234567890" ring="101 102 103" type="all"/>
</source>
 
==Firewall==
You will need to open the firewall if you are actually fire-walling traffic to the FireBrick - often people just firewall traffic to the LAN, and therefore all traffic to the FireBrick is allowed.
 
SIP and RTP traffic will need to be allowed in tointo the FireBrick. This will need to be from the carrier, but also from external SIP phones if you have any.
Take a look at this wiki page for more info: [[FireBrick_2700#VoIP_Rules FireBrick_2700#VoIP Rules|FireBrick and VoIP Firewall]]
 
editor
698

edits