Routing calls between PSTN and VoIP with a SPA3102

Document

Aug 28, 2009 6:26 PM
Aug 28th, 2009

Scope

This document only describes how to call in to one side of the SPA3102 and then make a call out of the other side.

This is called VoIP to PSTN Gateway or PSTN to VoIP Gateway functionality.

I do not address how to make outbound calls from a phone attached to the SPA3102's PHONE interface in this document.

Refer to the following diagram:

A factory defaulted SPA3102 with Line 1 registered will behave as follows:

1. PSTN user 408-555-2222 dials PSTN number 361-555-1212, causing the analog phone attached to the PHONE port of the SPA3102 to ring.

2. PSTN user 408-555-2222 dials ITSP DID 303-555-4444, also causing the analog phone attached to the PHONE port of the SPA3102 to ring.

cap-799.jpg

PSTN-To-VoIP Gateway

You want to dial the PSTN number from anywhere in the world and then continue to dial out of the ITSP-side of the SPA3102 using your ITSP account. This is called a PSTN to VoIP gateway function.

You will actually have to perform what is called two-stage dialing. This is how it works:

1. From anywhere in the world, dial the PSTN 361-555-1212 number

2. A properly configured SPA3102 will answer the call and prompt you with a special tone [beeeep, beeeep, ... ...]

3. You dial a preconfigured PIN followed by a #, example 123#

4. The SPA3102 plays dial tone

5. You can dial anywhere in the world using your ITSP account and the callee's caller id will show the caller to be the ITSP 303-555-4444 DID

Example:

  A PSTN caller in San Jose, California (408) wants to dial a US national call by dialing to Corpus Christi (361) and then call international to Johannesburg, South Africa (2711) using the SPA3102:

1. The 408-555-222 caller dials 1-361-555-1212.

2. The SPA3102 answers the call and plays the PIN prompt tone: beeeep, beeeep.

3. The caller dials 123#.

4. The SPA3102 plays dial tone for its Line 1 [ITSP side].

5. The caller dials 011-2711-555-7777.

6. The called party looks at their phone and sees that they are receiving a call from Boulder, Colorado (303)

Configure this PSTN-To-VoIP Gateway behavior as follows:

1. Register the SPA3102's PSTN Line as follows:

SPA3102 Web-UI > Voice tab > PSTN Line tab > Proxy and Registration >

a. Proxy: sip.myITSPproy.com

Replace with the SIP proxy information that you used to configure Line 1

b.  Outbound Proxy: proxy.myITSP.com

Replace with the outbound proxy information that you used to configure Line 1

c.Use Outbound Proxy: yes

Depends on your ITSP

Subscriber Information >

d. Display Name:, User ID:, Password:, Use Auth ID:, Auth ID:

Use the same information that you you used to configure Line 1

2. SPA3102 Web-UI > Voice tab > PSTN Line tab > PSTN-To-VoIP Gateway Setup

a. PSTN Caller Auth Method: PIN

b. PSTN Caller 1 PIN: 123

Use something more secure than my example, else someone could run up your account.

    FXO Timer Values (sec) >

c. PSTN Answer Delay: 1

   [This causes the SPA3102 to pick up the call in 1 second instead of making you wait the default 16 seconds]

3. Click Submit All Changes

4. After the SPA3102 has booted, verify that both Line 1 Status and PSTN LIne Status have a Registered Registration State when viewed in the SPA3102 Web-UI > Voice tab > Info tab

VoIP-To-PSTN Gateway

You want to dial the ITSP 303-555-4444 DID number from anywhere in the world and then continue to dial out of the PSTN-side of the SPA3102 using your PSTN account. This is called a VoIP to PSTN gateway function.

You will actually have to perform what is called two-stage dialing. This is how it works:

1. From anywhere in the world, dial the ITSP 303-555-4444 DID number

2. A properly configured SPA3102 will answer the call and prompt you with a special tone [beeeep, beeeep, ... ...]

3. You dial a preconfigured PIN followed by a #, example 567#

4. The SPA3102 plays dial tone

5. You can dial anywhere in the world using your PSTN account and the callee's caller id will show the caller to be the PSTN 361-555-1212 telephone number.

Example:

  An International caller in Johannesburg, South Africa (2711) wants to use VoIP to call a Boulder, Colorado (303) ITSP DID number and then make a US national call to San Jose, California (408) using the SPA3102:

1. The 011-555-777 caller dials 001-303-555-4444.

2. The SPA3102 answers the call and plays the PIN prompt tone: beeeep, beeeep.

3. The caller dials 123#.

4. The SPA3102 plays dial tone for its PSTN Line [PSTN side].

5. The caller dials 1-408-555-2222.

6. The called party looks at their phone and sees that they are receiving a call from Corpus Christi, Texas (361)

Configure this VoIP-To-PSTN Gateway behavior as follows:

1. SPA3102 Web-UI > Voice tab > PSTN Line tab > VoIP-To-PSTN Gateway Setup >

a. VoIP-To-PSTN Gateway Enable: yes

b. VoIP Caller Auth Method: PIN

c. One Stage Dialing: no

d. VoIP Caller 1 PIN: 567

Use something more secure than my example, else someone could run up your account.

3. Click Submit All Changes

4. After the SPA3102 has booted, verify that you can:
a. Gateway out of the ITSP-side of the SPA3102 with a PIN of 123# when dialing the PSTN number on the SPA3102.
b. Gateway out of the PSTN-side of the SPA3102 with a PIN of 567# when dialing the ITSP DID number on the SPA3102.
<end>
Average Rating: 0 (0 ratings)

Actions

Login or Register to take actions

This Document

Posted August 28, 2009 at 6:26 PM
Stats:

Related Content

Documents Leaderboard