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

this is important
(this is important)
(9 intermediate revisions by 2 users not shown)
[[File:2700-small.png|link=:Category:FireBrick]]
 
=Overview=
[[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.
This is the SIP service that you're connecting to:
 
{| border="1" cellpadding="1" cellspacing="1" class="wikitable"
|-
! Config Item
| extn
| 100
| Internal extension number '''where incoming calls are routed to (ege.g. a user or a group)'''
|-
| allow
| 81.187.30.110-119
| IPs that are allowed to talk SIP to us (iei.e. the carriers IPs). (Optional)
|-
| display-name
 
xml:
<source lang=xml>
<carrier name="AAISP" display-name="Main" allow="81.187.30.110-119" registrar="voiceless.aa.net.uk"username="01234567890" password="secret" extn="100" comment="Main Office Number"/>
</source>
 
 
If you go to Status - VoIP, you should see the Carrier listed with an expiry - this shows that the FireBrick is registered to the server.
If you have further SIP accounts with carriers then add those too.
 
==Next create some users:==
[[File:FireBrick-VoIP-AA3.png|thumb|VoIP User Screenshot]]
 
These will be your local SIP user accounts that your telephones use to register against the FireBrick with.
Go to: Config - Edit - Setup - Edit VoIP config
Add new VoIP user:
 
{| border="1" cellpadding="1" cellspacing="1" class="wikitable"
|-
! Config Item
| allow
| x.x.x.x/24
| IPs that are allowed to register, put in your LAN ip addresses, ege.g.,
|-
| ddi
| +441234567890
| The full number for this user, iei.e. same as the carrier's number assigned to you.
|-
| extn
 
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, ege.g. 102, 103 etc.
 
You can repeat this process for your other users, changing the extn each time, eg 102, 103 etc.
At this point you can configure your SIP phones to register to the FireBrick with the credentials you've specified above.
You can then test by calling each other using the extn numbers assigned.
Go to: Config - Edit - Setup - Edit VoIP config
Click Add New
{| border="1" cellpadding="1" cellspacing="1" class="wikitable"
|-
| name
| display-name
| Main
| The name that will display on the phone, ege.g.
|-
| extn
| ring
| 101 102 103
| space separateseparated list of the internal extension numbers to ring
|-
| type
| Ring All
| This is the ring type, ege.g. to ring all at once etc.
|}
Click save.
 
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_RulesVoIP Rules|FireBrick and VoIP Firewall]]
 
[[Category:FireBrick]]
[[Category:FireBrick VoIP]]
[[Category:VoIP]]
107

edits