Showing posts with label gateway. Show all posts
Showing posts with label gateway. Show all posts

Thursday, May 26, 2011

Zentyal As A Gateway: The Perfect Setup

Zentyal is the Linux Small Business Server, it lets you manage all your network services through one single platform. It's a Network Gateway, as well as an Infrastructure, UTM (Unified Threat Manager), Office and Communications Server. All these features are fully integrated and easy to configure, it truly helps to save system administrators time.

In this tutorial you will see how to set up a Zentyal Server to act as a gateway in a very common scenario. Zentyal will provide basic network infrastructure, load balancing between two Internet providers, firewall and HTTP proxy caching and content filtering. All these steps are well explained in the Zentyal Documentation, which is a really recommended reading. The following example network layout is used:

Click to enlarge

Zentyal runs on top of Ubuntu Server so it will work on the same hardware. You can take a look at the Ubuntu-certified hardware page for more information. There are two ways to install Zentyal:

Using Zentyal installer that you can download from the project website. This is the recommended choice, it includes all package dependencies for offline install and also makes some custom configuration.Install on top of a working Ubuntu Server, you can find detailed info and URL for the repository in the Zentyal Installation Guide.

Click to enlarge

If you install Zentyal using the installer you will see this screen when booting from CD-ROM and a couple of wizards will guide you through the process. You can choose default settings in all of them.

Zentyal provides a web administration interface, after the installation a Firefox browser will show up giving you access to it (you can also access Zentyal from any client browser typing: https://zentyal_server_ip). User and password are the same you entered during installation.

Now you can select the desired packages to install, for this tutorial you should install the Gateway package. Later DHCP and DNS modules will also be installed by using the Software Management module.

Click to enlarge

After this step all the necessary packages are installed, now setup will guide you through configuration wizards for installed modules, in this case Network and Users. We can skip network configuration for now, so if you start this tutorial from an already installed Zentyal you can still follow it.

Click to enlarge

Click to enlarge

Zentyal Server is now installed. By following the next steps you will configure each module.

As shown in the scenario, you have to configure three network interfaces, two external routers and one for the internal network. Zentyal will balance traffic between the two Internet connections.

Go to Network -> Interfaces and configure each interface by introducing its IP and netmask. Don't forget to mark external interfaces because Zentyal uses this info in firewall rules. In the next image you can see configuration for one of the external interfaces and the internal one.

Click to enlarge

Now you have to set up both gateways in the gateways table (Network -> Gateways):

Click to enlarge

Go to Network -> Balance Traffic to enable load balancing between the gateways.

Zentyal As A Gateway: The Perfect Setup - Page 2

Sunday, January 2, 2011

Valcom PagePro VIP204 Paging Gateway Overview

The PagePro IP Model VIP-204  is a SIP based paging server designed for use with virtually all IP based telephone systems. The unit provides 8 zones, groups thereof and all call paging. Up to 4 simultaneous non conflicting pages.  This PagePro IP unit can drive up to 65,000 IP speakers or 65,000 analog speakers or provide the audio source for legacy paging systems. It can simultaneously drive any combination of these paging applications. The VIP-204 can form the foundation of most paging projects. The 8 zones can be accessed individually or in flexible groups.  Multiple VIP-204 devices can be grouped together for expandability.  Provides feedback elimination.


Valcom PagePro IP VIP-204 allows paging from any SIP compliant telephone to 8 SIP page destinations. The SIP page destinations can be any of the VIP-204’s four analog outputs, any combination of those outputs, or any
combination of page groups from other Valcom VIP units. The four analog outputs on the VIP-204 are line level –10dBm audio outputs. These outputs are designed to directly drive up to 150 Valcom self-amplified speakers.
The outputs are also suitable for connection to an auxiliary input on a utility amplifier of a legacy paging system.

Group Paging Features
The PagePro IP Model VIP-204 allows SIP based phone systems to page any number of Valcom IP speakers, Valcom Amplified Speakers and Valcom VIP series analog paging gateways. Valcom multicast group paging features robust grouping and priority controls. These controls make it easy to distribute low priority announcements yet allow high priority paging to override ongoing announcements. The PagePro IP Model VIP-204 provides 8 IP zones and 1 analog output capable of driving a mix of Valcom self amplified overhead paging speakers and horns. You can assign one SIP access phone number for the analog port. The VIP-204 provides 8 fully customizable SIP identities that can access any combination of IP zones and the analog port. Analog paging functions can be seamlessly combined IP paging functions allowing powerful combinations of analog and IP paging.Group Paging Priority Feature
Any page group or port can be assigned a priority. These priorities allow a logical scaled approach to group paging. An absolute priority can be assigned to allow for emergency override in any circumstance. Group paging priorities work locally or across ganged units in the same fashion allowing facility wide emergency paging. Red Phone functionality is easily achieved with either IP phone or analog handsets via a Valcom gateway.Feedback Elimination Feature
The PagePro IP Model VIP-204 provides programmable store and forward capability for all paging accesses. This features records up to 30 seconds of audio, and then replays the audio when the page call is terminated. The number of times the recorded audio is played back can be set from 1 to 5. Some paging applications require live announcements. For these applications the store and forward capability can be turned on/off per page zone.Wiring Supervision Features
The PagePro IP Model VIP-204 provides for supervision of field wiring. If a fault is detected in the wiring connecting the analog output to either speakers or amplifiers it can be reported to an external device or syslog facility.Audio Supervision Features
The PagePro IP Model VIP-204 provides internal monitoring of the audio path from the network connection to the analog output connector and can report failures to an external device or syslog facility.Legacy Applications
The PagePro IP Model VIP-204 provides 1 analog output that can easily be conditioned to drive any existing overhead paging system. Legacy paging features can be seamlessly combined allowing powerful combinations of legacy analog and IP paging.Easy To InstallLive or Recorded Messages65,000 Speakers, Expandable To 256 IP Paging ZonesEasily Connect Loudspeaker System To Existing Computer NetworksCompatible With Cisco, Nortel, Avaya, Iwatsu And Most IP Telephone SystemsSupports IP And Analog Amplified SpeakersSupports IP Talkback SpeakersSupports Legacy Paging SystemsSynchronized Clock CompatibilityPoE (802.3af) Or Local PowerSIP And MulticastNetwork SupervisionFeedback EliminatorNight RingDHCP

Friday, December 31, 2010

Valcom PagePro VIP204 Paging Gateway Overview

The PagePro IP Model VIP-204  is a SIP based paging server designed for use with virtually all IP based telephone systems. The unit provides 8 zones, groups thereof and all call paging. Up to 4 simultaneous non conflicting pages.  This PagePro IP unit can drive up to 65,000 IP speakers or 65,000 analog speakers or provide the audio source for legacy paging systems. It can simultaneously drive any combination of these paging applications. The VIP-204 can form the foundation of most paging projects. The 8 zones can be accessed individually or in flexible groups.  Multiple VIP-204 devices can be grouped together for expandability.  Provides feedback elimination.


Valcom PagePro IP VIP-204 allows paging from any SIP compliant telephone to 8 SIP page destinations. The SIP page destinations can be any of the VIP-204’s four analog outputs, any combination of those outputs, or any
combination of page groups from other Valcom VIP units. The four analog outputs on the VIP-204 are line level –10dBm audio outputs. These outputs are designed to directly drive up to 150 Valcom self-amplified speakers.
The outputs are also suitable for connection to an auxiliary input on a utility amplifier of a legacy paging system.

Group Paging Features
The PagePro IP Model VIP-204 allows SIP based phone systems to page any number of Valcom IP speakers, Valcom Amplified Speakers and Valcom VIP series analog paging gateways. Valcom multicast group paging features robust grouping and priority controls. These controls make it easy to distribute low priority announcements yet allow high priority paging to override ongoing announcements. The PagePro IP Model VIP-204 provides 8 IP zones and 1 analog output capable of driving a mix of Valcom self amplified overhead paging speakers and horns. You can assign one SIP access phone number for the analog port. The VIP-204 provides 8 fully customizable SIP identities that can access any combination of IP zones and the analog port. Analog paging functions can be seamlessly combined IP paging functions allowing powerful combinations of analog and IP paging.Group Paging Priority Feature
Any page group or port can be assigned a priority. These priorities allow a logical scaled approach to group paging. An absolute priority can be assigned to allow for emergency override in any circumstance. Group paging priorities work locally or across ganged units in the same fashion allowing facility wide emergency paging. Red Phone functionality is easily achieved with either IP phone or analog handsets via a Valcom gateway.Feedback Elimination Feature
The PagePro IP Model VIP-204 provides programmable store and forward capability for all paging accesses. This features records up to 30 seconds of audio, and then replays the audio when the page call is terminated. The number of times the recorded audio is played back can be set from 1 to 5. Some paging applications require live announcements. For these applications the store and forward capability can be turned on/off per page zone.Wiring Supervision Features
The PagePro IP Model VIP-204 provides for supervision of field wiring. If a fault is detected in the wiring connecting the analog output to either speakers or amplifiers it can be reported to an external device or syslog facility.Audio Supervision Features
The PagePro IP Model VIP-204 provides internal monitoring of the audio path from the network connection to the analog output connector and can report failures to an external device or syslog facility.Legacy Applications
The PagePro IP Model VIP-204 provides 1 analog output that can easily be conditioned to drive any existing overhead paging system. Legacy paging features can be seamlessly combined allowing powerful combinations of legacy analog and IP paging.Easy To InstallLive or Recorded Messages65,000 Speakers, Expandable To 256 IP Paging ZonesEasily Connect Loudspeaker System To Existing Computer NetworksCompatible With Cisco, Nortel, Avaya, Iwatsu And Most IP Telephone SystemsSupports IP And Analog Amplified SpeakersSupports IP Talkback SpeakersSupports Legacy Paging SystemsSynchronized Clock CompatibilityPoE (802.3af) Or Local PowerSIP And MulticastNetwork SupervisionFeedback EliminatorNight RingDHCP

Tuesday, December 7, 2010

Valcom PagePro VIP204 Paging Gateway Overview

The PagePro IP Model VIP-204  is a SIP based paging server designed for use with virtually all IP based telephone systems. The unit provides 8 zones, groups thereof and all call paging. Up to 4 simultaneous non conflicting pages.  This PagePro IP unit can drive up to 65,000 IP speakers or 65,000 analog speakers or provide the audio source for legacy paging systems. It can simultaneously drive any combination of these paging applications. The VIP-204 can form the foundation of most paging projects. The 8 zones can be accessed individually or in flexible groups.  Multiple VIP-204 devices can be grouped together for expandability.  Provides feedback elimination.


Valcom PagePro IP VIP-204 allows paging from any SIP compliant telephone to 8 SIP page destinations. The SIP page destinations can be any of the VIP-204’s four analog outputs, any combination of those outputs, or any
combination of page groups from other Valcom VIP units. The four analog outputs on the VIP-204 are line level –10dBm audio outputs. These outputs are designed to directly drive up to 150 Valcom self-amplified speakers.
The outputs are also suitable for connection to an auxiliary input on a utility amplifier of a legacy paging system.

Group Paging Features
The PagePro IP Model VIP-204 allows SIP based phone systems to page any number of Valcom IP speakers, Valcom Amplified Speakers and Valcom VIP series analog paging gateways. Valcom multicast group paging features robust grouping and priority controls. These controls make it easy to distribute low priority announcements yet allow high priority paging to override ongoing announcements. The PagePro IP Model VIP-204 provides 8 IP zones and 1 analog output capable of driving a mix of Valcom self amplified overhead paging speakers and horns. You can assign one SIP access phone number for the analog port. The VIP-204 provides 8 fully customizable SIP identities that can access any combination of IP zones and the analog port. Analog paging functions can be seamlessly combined IP paging functions allowing powerful combinations of analog and IP paging.Group Paging Priority Feature
Any page group or port can be assigned a priority. These priorities allow a logical scaled approach to group paging. An absolute priority can be assigned to allow for emergency override in any circumstance. Group paging priorities work locally or across ganged units in the same fashion allowing facility wide emergency paging. Red Phone functionality is easily achieved with either IP phone or analog handsets via a Valcom gateway.Feedback Elimination Feature
The PagePro IP Model VIP-204 provides programmable store and forward capability for all paging accesses. This features records up to 30 seconds of audio, and then replays the audio when the page call is terminated. The number of times the recorded audio is played back can be set from 1 to 5. Some paging applications require live announcements. For these applications the store and forward capability can be turned on/off per page zone.Wiring Supervision Features
The PagePro IP Model VIP-204 provides for supervision of field wiring. If a fault is detected in the wiring connecting the analog output to either speakers or amplifiers it can be reported to an external device or syslog facility.Audio Supervision Features
The PagePro IP Model VIP-204 provides internal monitoring of the audio path from the network connection to the analog output connector and can report failures to an external device or syslog facility.Legacy Applications
The PagePro IP Model VIP-204 provides 1 analog output that can easily be conditioned to drive any existing overhead paging system. Legacy paging features can be seamlessly combined allowing powerful combinations of legacy analog and IP paging.Easy To InstallLive or Recorded Messages65,000 Speakers, Expandable To 256 IP Paging ZonesEasily Connect Loudspeaker System To Existing Computer NetworksCompatible With Cisco, Nortel, Avaya, Iwatsu And Most IP Telephone SystemsSupports IP And Analog Amplified SpeakersSupports IP Talkback SpeakersSupports Legacy Paging SystemsSynchronized Clock CompatibilityPoE (802.3af) Or Local PowerSIP And MulticastNetwork SupervisionFeedback EliminatorNight RingDHCP

Thursday, November 11, 2010

How to configure Unified Messaging with Asterisk SIP Gateway (Part 2)

If you would like to read the first part in this article series please go to How to configure Unified Messaging with Asterisk SIP Gateway - Part 1: Preparations for Unified Messaging on Exchange Server 2010.


In the first part of this article series we discussed what needs to be configured on Exchange Server 2010 to be ready for Unified Communications. In part two we are now going to have a look at how to setup Asterisk Trixbox to work as an SIP gateway. You will see it is a Linux distribution (on CentOS) but it has a GUI so even when you are not really enthusiastic on Linux because of its command line based configuration and you won?t need a deep knowledge in Linux to make things work properly.


Trixbox CE (formerly known as Asterisk@home) is the cost-free edition of CentOS Asterisk. The name needed to change because the Company Digium requested the rights on the word ?Asterisk?.


Note:
You can download the ISO file here.


Trixbox is prepared to run on virtual machines like VSphere ESX or Hyper-V and fully functional. In this article we are going to discuss a Trixbox installation on VSphere ESXi4 on a virtual machine configured below:


Virtual CPU:                        2 virtual


RAM:                                     1024 MB


Virtual Hard Disk:              10 GB


Based on the number of users working on Trixbox you probably need to enlarge RAM to make things work more smoothly.


Now let?s have a look on how to install Trixbox.



Figure 1:  Startup Screen of Trixbox



Figure 2:  Define the Keyboard Layout



Figure 3:  Configure the Timezone



Figure 4:  Set the Root Password



Figure 5: The installation Procedure



Figure 6:  Trixbox startup Screen


After the installation has finished successfully you can now logon to Trixbox from any browser to configure it to work as an SIP gateway.



Figure 7:  User Mode of Trixbox


To change to administration mode, you simply need to click on ?Switch? on the upper right corner and logon as:


Username:         maint


Password:           password



Figure 8:  Trixbox Administration Mode


Before configuring anything else, we need to enable SIP over TCP on Asterisk. This can be done by editing the file called SIP_GENERAL_CUSTOM.CONF located in etc/asterisk. You can edit this file using any Linux text file editior.


You will need to add the following to settings to this file:


tcpenable=yes


tcpbindaddr=0.0.0.0


Now we need to create a new Trunk to your existing Exchange Server box using the following Menu-Settings: PBX, PBX Settings, Trunks, Add SIP Trunk and use the following outgoing settings:


Trunk Name:      Exchange2010


Peer Details:


Host=


type=friend


insecure=very


transport=tcp


port=5065


context=from-internal


These settings allow insecure TCP based communications from your Exchange Server 2010 machine.


In addition we will need to add the corresponding outbound routes as follows:


Route Name:                                     Exchange2010-Route


Intra Company Route:                   Checked


Dial Patterns:


3333


4444


5555


This allows internal communications for the dial patterns (in Exchange called ?pilot identifiers? in the Unified Messaging Dial Plan).


If you then would like to test your configuration I would prefer using X-Lite and configure two users with SIP enabled and different telephone extensions.


That?s it, your Trixbox machine is now successfully configured to support Exchange Server 2010 Unified Messaging.


Now we need to have a look at what needs to be configured in Exchange UM role to interact successfully with Trixbox.


At first we need to configure a UM Dial Plan with the following details:


Name:                                                                                  MyUMDialPlan


Numer of digits in extension numbers:                  4 (but depends upon your configuration)


URI Type:                                                                            Telephone Extension


VoIP Security:                                                                    Unsecured


Country/Region Code:                                                   49 (for Germany)



Figure 9:  Creating a new Dial Plan for Unified Messaging


Now we need to configure a new UM IP Gateway with these settings:


Name:                   Trixbox


IP address:         


Dial Plan:              MyUmDialPlan


When you submit these settings, a Default Hunt Group will be created automatically within Exchange Server 2010.


Afterwards we will need to create a new UM Mailbox Policy:


Name:                                                   Trixbox Mailbox Policy


Associated dial plan:                       MyUMDialPlan


For basic configurations we will finally need to define an Auto Attendant as follows:


Name:                                                  MyAutoAttendant


Associated Dial Plan:                       MyUMDialPlan


Pilot Identifiers:                                3333       5555


Now we have finished the basic configuration for allowing Exchange Server 2010 Unified Messaging to communicate with the Trixbox Asterisk Solution.


Finally we now need to enable our user mailboxes for Unified Messaging. This can be done directly in the Recipient Configuration of your Exchange Server Management Console. If you right click the user mailbox you can enable Unified Messaging for it by enabling the extension number.


This will now give the user the ability to dial the subscriber address of 4444 from the SIP Phone and will automatically be rerouted to his / her Exchange voice mailbox. If you dial 3333 or 5555 you should be greeted by ?Thank you for calling the Microsoft Exchange Auto Attendant?.


As the very final step we will now need to tell Trixbox to no longer route unanswered calls to its own voicemail but instead send them to the Exchange SIP trunk ?Exchange2010? extension 4444 also known as the subscriber access number.


You will need to change the following in the file called EXTENSIONS.CONFIG located in /etc/asterisk:



exten => s, n, Macro{vm,${VMBOX}, ${DIALSTATUS}, ${IVR-RETVM}}


needs to be changed to:


;exten => s, n, Macro{vm,${VMBOX}, ${DIALSTATUS}, ${IVR-RETVM}}


exten => s, n, SIPAddHeader{Diversion: \;reson=no-answer\;screen=no\;privacy=off}


exten => s, n, Dial {SIP/Exchange2010/4444}


exten => s, n, Hangup


As you have seen above, the Linux and Asterisk based solution Trixbox is a quite easy virtual appliance that allows you to enable Unified Messaging in a very simple way. As soon as you have enabled internal communications between Exchange and Trixbox, you can create external SIP trunks to SIP providers (SIPGate, etc.)  to allow communications from external, too.


If you still have further questions, please do not hesitate to contact me.


If you would like to read the first part in this article series please go to How to configure Unified Messaging with Asterisk SIP Gateway - Part 1: Preparations for Unified Messaging on Exchange Server 2010.


Markus Klein photo Markus Klein is a Messaging & Security Specialist and Microsoft Certified Trainer. He has had 15 years of experience working as a Senior Consultant and Trainer for Microsoft Infrastructures as well as holding a deputy consulting manager position in Germany. He is specialized in System Center Management, Active Directory, Exchange, Security, ISA Server, Windows Server designs, migrations and implementations.


 

Thursday, January 7, 2010

Asterisk PBX Hardware

The Components

Your will have to set up three main components: the IP PBX itself, the phones (or softphones) to be used with it, and the gateway service that lets you call other people on the PSTN. I will describe how to set up each of these. I assume you already have a home network and broadband access. If you are behind a NAT firewall, it does not matter – you don’t have to do anything special like running the IP PBX outside the NAT. All that matters is that you have enough bandwidth (upstream and downstream) to carry voice traffic.
The IP PBX

You will need a computer to run the IP PBX. While you may already have a Linux server at home, I do not recommend using it to also run your phones. If you want to do that, you will have to figure out how to load and configure the PBX software on your own, although the rest of the instructions here will be helpful.

If you have an old PIII class machine lying around, then use that. If not, you can buy one on EBay for about $40.

I used a Dell OptiPlex GX1, a PIII 450MHz system with 128M RAM. It has a built-in sound and Ethernet, so no additional hardware is required.

You will load Asterisk@Home on this computer. It will take it over – it starts by formatting the hard disk, so make sure there is nothing on the machine that you want to keep. Detailed instructions are given below.
Phones

You can buy SIP phones from Grandstream, SNOM, Cisco, even Avaya. Or you can buy an adapter from SNOM or Cisco and use an analog phone. To get started, though, it is easiest to get a softphone and run it on another computer. We will describe how to obtain and install the XLite softphone on a Windows machine to use for a phone. You will also use this Windows machine to administer the IP PBX, through a browser. If you want to use a Linux machine instead, you will need to get an appropriate softphone for it, but you can still use its browser to administer the IP PBX.
SIP Gateway

I presume you want to communicate with others on the PSTN network, so you need to obtain gateway service. Since part of the call is being carried on the circuit switched network, it costs real money. This means you will have to pay for this part of the system.

I will describe how to set up access to two services, one for outgoing calls and another for incoming calls.

VoipJet is used for outgoing calls. It is priced at 1.3 cents per minute (USA), with no monthly minimum or service charges.

BroadVoice is used for incoming calls. You get a phone number (you can choose the area code and exchange). They have various plans, but I signed up for one that is $5.95 per month, with unlimited incoming minutes. You can also make outgoing calls using this account (it includes 100 minutes per month, and 3.9 cents per minute additional). There is a $9.95 one time activation fee to sign up for BroadVoice.

So if you have the hardware, you can set up your IP PBX for a total of $9.95 and run it for $5.95 per month.
Home Network

I assume you have a home network, and that you are setting up behind a Gateway Router (otherwise known as a NAT firewall). You will need to pick a static IP address for your IP PBX that is on your home network.