Pogledajte određenu poruku
Staro 09. 06. 2005.   #3
STELLANOVA
expert
Master
 
Avatar STELLANOVA
 
Datum učlanjenja: 07.06.2005
Lokacija: EU
Poruke: 609
Hvala: 47
51 "Hvala" u 37 poruka
STELLANOVA će postati "faca" uskoro
Pošaljite ICQ poruku za STELLANOVA Pošaljite poruku preko AIM za STELLANOVA Pošaljite poruku preko MSN za STELLANOVA
Default

5. Requirement

5.1 Hardware requirement

To create a little VoIP system you need the following hardware:

1. PC 386 or more
2. Sound card, full duplex capable
3. a network card or connection to internet or other kind of interface to allow communication between 2 PCs

All that has to be present twice to simulate a standard communication.

The tool above are the minimal requirement for a VoIP connection: next we'll see that we should (and in Internet we must) use more hardware to do the same in a real situation.

Sound card has be full duplex unless we couldn't hear anything while speaking!

As additional you can use hardware cards (see next) able to manage data stream in a compressed format (see Par 4.3).

5.2 Hardware accelerating cards

We can use special cards with hardware accelerating capability. Two of them (and also the only ones directly managed by the Linux kernel at this moment) are the

1. Quicknet PhoneJack
2. Quicknet LineJack
3. VoiceTronix V4PCI
4. VoiceTronix VPB4
5. VoiceTronix VPB8L

Quicknet PhoneJack is a sound card that can use standard algorithms to compress audio stream like G723.1 (section 4.3) down to 4.1 Kbps rate.

It can be connected directly to a phone (POTS port) or a couple mic-speaker.

It has a ISA or PCI connector bus.

Quicknet LineJack works like PhoneJack with some addition features (see next).

VoiceTronix V4PCI is a PCI card pretty like Quicknet LineJack but with 4 phone ports

VoiceTronix VPB4 is a ISA card equivalent to V4PCI.

VoiceTronix VPB8L is a logging card with 8 ports.

For more info see Quicknet web site and VoiceTronix web site

5.3 Hardware gateway cards

Quicknet LineJack and VoiceTronix cards can be connected to a PSTN line allowing VoIP gateway feature.

Then you'll need a software to manage it (see after).

5.4 Software requirement

We can choose what O.S. to use:

1. Win9x
2. Linux

Under Win9x we have Microsoft Netmeeting, Internet Phone, DialPad or others or Internet Switchboard (from Quicknet web site) for Quicknet cards.

Warning!!: Latest Quicknet cards using Swithboard (older version too) NEED to be connected to Internet to get working for managing Microtelco account (not free of charge), so if you plan to remain isolated from Internet you need to install OpenH323 software.

For VoiceTronix cards you can find software at VoiceTronix web site

Under Linux we have free software GnomeMeeting, a clone of Microsoft Netmeeting, while in console mode we use (also free software) applications from OpenH323 web site: simph323 or ohphone that can also work with Quicknet accelerating hardware.

Attention: all Openh323 source code has to be compiled in a user directory (if not it is necessary to change some environment variable). You are warned that compiling time could be very high and you could need a lot of RAM to make it in a decent time.

5.5 Gateway software

To manage gateway feature (join TCP/IP VoIP to PSTN lines) you need some kind of software like this:

* Internet SwitchBoard (only when connected to Internet) for Windows systems also acting as a h323 terminal;
* PSTNGw for Linux and Windows systems you download from OpenH323.

5.6 Gatekeeper software

You can choose as gatekeeper:

1. Opengatekeeper, you can download from opengatekeeper web site for Linux and Win9x.
2. Openh323 Gatekeeper (GK) from here.

5.7 Other software

In addition I report some useful software h323 compliant:

* Phonepatch, able to solve problems behind a NAT firewall. It simply allows users (external or internal) calling from a web page (which is reachable from even external and internal users): when web application understands the remote host is ready, it calls (h323) the source telling it all is ok and communication can be established. Phonepatch is a proprietary software (with also a demo version for no more than 3 minutes long conversations) you download from here.

6. Cards setup

Here we see how to configure special hardware card in Linux and Windows environment.

6.1 Quicknet PhoneJack

As we saw, Quicknet Phonejack is a sound card with VoIP accelerating capability. It supports:

* G.711 normal and mu/A-law, G.728-9, G.723.1 (TrueSpeech) and LPC10.
* Phone connector (to allow calling directly from your phone) or
* Mic & speaker jacks.

Quicknet PhoneJack is a ISA (or PCI) card to install into your Pc box. It can work without an IRQ.
Software installation

Under Windows you have to install:

1. Card driver
2. Internet Switchboard application (working only with Internet, using newer Quicknet cards)

all downloadable from Quicknet web site

After Switchboard has been installed, you need to register to Quicknet to obtain full capability of your card.

When you pick up the phone Internet Switchboard wakes up and waits for your calling number (directly entered from your phone), you can:

1. enter an asterisk, then type an IP number (with asterisks in place of dot) with a # in the end
2. type directly a PSTN phone number (with international prefix) to call a classic phone user. In this case you need a registration to a gateway manager to which pay for time.
3. enter directly a quick dial number (up to 2 digits) you have previously stored which make a call (IP or PSTN).

Internet Swichboard is h323 compatible, so if you can use, for example, Microsoft Netmeeting at the other end to talk.

Warning!! Internet Switchboard NEED to be connected to Internet when used with newer Quicknet cards

In place of Internet Switchboard you can use openh323 application openphone (using GUI) or ohphone (command line).

Under Linux you have to install:

1. Card driver, from Quicknet web site. After downloaded you have to compile it (you must have a /usr/src/linux soft or hard link to your Linux source directory): type make for instructions.
2. Application openphone or ohphone.
3. If you are a developer you can use SDK to create your own application (also for Windows).

Settings

With Internet Switchboard (and with other application) you can:

1. Change compression algorithm preferred
2. Tune jitter delay
3. Adjust volume
4. Adjust echo cancellation level.

6.2 Quicknet LineJack

This card is very similar to the previous, it supports also gateway feature.

We only notice that we have to download PSTNGx application (for Linux and Windows) or we use Internet Switchboard to gateway feature.

6.3 VoiceTronix products

1. First download software here
2. Untar it
3. Modify 'src/vpbreglinux.cpp' according to file README
4. type 'make'
5. type 'make install'
6. cd to src
7. type 'insmod vpb.o'
8. retrieve (from console of from 'dmesg' output command) major number, say MAJOR
9. type 'mknod /dev/vpb0 c MAJOR 0' where MAJOR is the above number
10. cd to unittest and type './echo'

Follow README file for more help.

I personally haven't tested VoiceTronix products so please contact VoiceTronix web site for support.
STELLANOVA je offline   Odgovorite uz citat