Life is short. Eat dessert first !
Any problem has a simple solution, but wrong !
Detailed Explanations for
Network technician:
There were 2 companies working together: one in Iasi, Romania, one in
Modena, Italy, with one more site, in Verona, Italy. Because of huge costs of
international calling and the need to exchange a lot of information very quickly,
decision was made to implement Internet Telephony.
Planet tm VoIP Internet Telephony Gateways were chosen. www.planet.com.tw
Tasks
(Establishing communication between 3 sites: Iasi, Modena and Verona using VoIP)
At the beginning there were 2 ITGs, one in Iasi, one in Modena. Every gateway
had 3 tables, related:
o
Phone Number -> Hunting Group (which is a group of destinations)
o
Hunting Group -> Destinations
o
Destinations -> Physical Ports or IP addresses.
Hardware configuration: 2 kinds of telephony ports:
o
2 generators (for phones) -> FXS
o
2 consumers (for external phone lines) – FXO
o
one network interface.
Using specific commands, I configured phone ports and phone line ports and IP
addresses, to make possible communication from 2 phones in Romania to 2
phones in Italy, through Internet and access to PSTN of both countries. I used
prefixes for remote numbers, since gateways transmit, over Internet,
telephony signaling. And they forward this signaling on telephony ports too.
Configuring internal routing for 3 gateways in Iasi
o
Another 2 gateways arrived in Romania. It was necessary to configure
internal routing on all 3 gateways. Each gateway had to know to direct
the internal calls, from one phone to another and towards PSTN.
Configuring external routing between 2 sites: Iasi and Modena. Using prefixes
o
From each gateway to make calls possible through internet, between
sites, the external routing.
o
For Italy, I configured the prefix “9” and for Romania, the prefix “5”. The
numbers were transmitted through Internet, from a country to another
(signaling) and the prefixes were stripped at destinations(s). After
stripping, the numbers were checked again against local tables with
numbers, groups and destinations.
One more gateway arrived in Italy, so I configured that one too, and I
configured the internal routing there. Remotely it was possible to do that using
telnet. They configured only the public IP address needed.
Configuring one more site: Verona
o
Also, one more gateway was mounted in Verona, Italy. I used prefix “7”
for this location and I had to update all tables, on all gateways, with that
prefix.
o
Configuring the PABX and connecting it to VoIP gateways in Iasi
Configuring the PABX and connecting it to VoIP gateways in Modena
o
From Italy they sent us a little PABX with the phones too. ISDN phones.
ISDN with 4 wires. PABX was a box with a thick cable going to a patch
panel. On that patch panel were all the connectors for ISDN phones (4)
and analog phones (12 FXS ports) and 4 external lines for PSTN (4 FXO
ports).
o
I connected a VoIP gateway to the PABX, using the patch panel. 2
external lines went from PABX to a VoIP gateway. In order to access VoIP
telephony from ISDN phones, on PABX, users had to select external lines
3 or 4, using special buttons (each ISDN phone had 4 buttons which
allowed to select one of the 4 external lines of the PABX). To access the
PABX from the VoIP gateway, (the reverse direction) I connected the
gateway to PABX, as if it were 2 analog phones (using 2 FXS ports), on
the first 2 external lines of the PABX, of the 4 analog external lines
possible.
o
Two of the external lines of the PABX were accessible dialing a “0” from
the phones connected on PABX.
They installed a PABX in Italy and I configured the gateways from there,
remotely, too.
Configuring a speed dial for the manager’s phone
o
The VoIP gateways had the possibility not only to strip digits from the
number dialed, but to add, also.
o
I setup a speed dial for the manager’s cell phone, in Romania. Who, from
Italy, wanted to call him, dialed prefix “5” and a 3-digit number. The calls
went from Italy, through VoIP, to Romania, where digits were added: “0”
in the front of the speed dial number, so the PABX would select an
external line to PSTN and 5 digits at the back of the number, to make it
complete. A VoIP gateway dialed it.
Internal Routing
Configuring internal routing
for 3 gateways in Iasi
External Routing
Configuring external routing
between 3 sites: Iasi, Modena
and Verona. Using prefixes 5,9,7.
Custom Speed Dial
I setup a speed dial for the
manager’s cell phone, in
Romania. Dial a 3 digit number to
dial automatically the whole 10
digit number needed.