Vous êtes sur la page 1sur 75

SPA Series Admin

Guide
Version 4.1

Copyright 2011 VPNBest.com

SPA Admin Guide

Contents
CHAPTER 1 GETTING STARTED .............................................................. 01-04
GENERAL INFO ................................................................................................................................. 01
DIAL PLAN ................................................................................................................................. 02-03
GATEWAY ACCOUNTS ...................................................................................................................... 04

CHAPTER 2 ADVANCED CONFIGURATION .................................................................. 05-16


VOIP TO PSTN WITH NONE AUTHENTICATION ............................................................................. 05
VOIP TO PSTN WITH PIN AUTHENTICATION ............................................................................... 06
DIRECT IP DIALING FOR INTERNAL ............................................................................................... 07
DIRECT IP DIALING FOR PUBLIC............................................................................................. 08-09
DIRECT IP DIALING WITH HTTP DIGEST AUTHENTICATION................................................ 10-12
PSTN TO VOIP WITH PIN AUTHENTICATION ............................................................................... 13
PSTN TO VOIP WITH CID AUTHENTICATION............................................................................... 14
CALL FORWARD................................................................................................................................ 15
CALL TRANSFER AND THREE-WAY CALLING ................................................................................. 16

CHAPTER 3 SOLUTIONS ................................................................................................... 17-21


BUILDING UP YOUR SMALL VOIP SYSTEM THROUGH VPN .................................................... 17-21
NETWORK DIAGRAM ........................................................................................................................ 17
NETWORK SETUP ............................................................................................................................. 18
VOIP SETUP .............................................................................................................................. 19-21

ATTACHMENT REFERENCE HTML FILE ................................................................................ 22


SPA504 ........................................................................................................................................... 22
SPA942 ........................................................................................................................................... 22
SPA901 ........................................................................................................................................... 22
SPA3102 ........................................................................................................................................ 22
SPA1001 ........................................................................................................................................ 22

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 1

General Info
General information about the SPA Series below:
SIP Account
SPA3102 offer two SIP Account
Line1 (VoIP1),
PSTN Line (VoIP2)
Gateway Account
SPA3102 offer Gateway Accounts
Line1 Gateway 1-4
Dial Plan
SPA3102 offer nine Dial Plans
Line1 Dial Plan(DP0)
PSTN Line Dial Plans(DP1-8)
System Login
Admin Login: ID: admin
User Login:
ID: user

PW: password
PW: password

Reboot
After Submit All Changes prefer reboot the ATA/IP-Phone
http://spa_ address/admin/reboot
http://192.168.1.2/admin/reboot
http://spa_ address:port/admin/reboot
http://192.168.1.2:8080/admin/reboot
Factory Reset for ATA
**** 73738 # Press 1 to confirm, Press * (star) to cancel

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 2

Dial Plan
The most confusing part of configuring SPA Series is setting the correct dial plan.
Below are the Dial Plan Syntax and some examples.
Dial Plan Syntax
()

The entire dial plan must be surrounded by an open and


close bracket

Each individual dial plan must be separated by a pipe |


character

[]

Choices number

<:>

Replace number

0-9

0-9 digits

A single digit (0 through 9)

The star (asterisk) key

The pound (hash) key / immediately dial

Repetition

S0

Immediately dial when matched

Immediately reject the number dialed

Dialing tone

<:@gw0>

Gateway 0, gw0 refers to the PSTN Line

<:@gw1>

Gateway 1

<:@gw2>

Gateway 2

<:@gw3>

Gateway 3

<:@gw4>

Gateway 4

Pause

Interdigit Long Timer

Interdigit Short Timer

DP1

(<#9:>x.<:@gw0>)

Note

#9 + any digits, through the PSTN Line

DP2

([2-9]xxxxxxxS0<:@gw0>)

Note

First digit 2-9 + seven digits, immediately dial through the PSTN
Line

DP3

Note

(0086x.S0<:@gw0>)
0086 + any digitsimmediately dial through the PSTN Line

DP4

(<0:0086>1[2-9]xxxxxxxxx<:@gw0>)

Note

Replace a dialed "0" with "0086"


e.g. 013800138000 will replace to 008613800138000

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 3

DP5

(<#1:>x.<:@gw1>|<#2:>x.<:@gw2>)

Note

#1 + any digits, dial through GW1


#2 + any digits, dial through GW2

DP6

(<*1:0123456789>)

Note

Replace a dialed "*1" with "0123456789"

DP7

(999!)

Note

Reject the number 999

DP8

(<10:vpnbest@iptel.org >)

Note

Press 10 default after four seconds and dial the SIP URI
Press 10+# immediately dial the SIP URI

DP9

(<S0:vpnbest@iptel.org >)

Note

Pick up the handset will immediately dial the SIP URI through Line1

DP10

Note

(<#5:>[x*][x*].<:@sipbroker.com>)
#5+*478+1001+#iptel.org echo test
#5+*266+301+#blueface.ie echo test
#5+SIP-Code+UserID+#
SIP-Code List:
http://www.sipbroker.com/sipbroker/action/providerWhitePages

DP11

(P5<:1000>|100xS0|xx.)

Note

Pick up the handset after five seconds will auto dial the number
1000

DP12

L:10,S:5,(100xS0|xx.)

Note

Two ways to set the Interdigit Timer


1For all DPDefault: L=10S=3
Regional >> Control Timer Values (sec)
Interdigit Long Timer: 10
Interdigit Short Timer: 3

2For user DP
L:10,S:5,(100xS0|xx.)
L:10,(100xS0|xx.)
S:5,(100xS0|xx.)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 4

Gateway Accounts
SPA3102/3000 comes with four Gateway Accounts than you can setup multiple
accounts for making outgoing SIP calls on Line 1.
e.g.
Gateway 1iptel
Gateway 2gizmo5
Gateway 4Direct IP Dialing with HTTP Digest Authentication
Line1 >> Gateway Accounts
Gateway 1

: UserID@Proxy

GW1 Auth ID : UserID


Gateway 2

: Proxy

GW2 Auth ID : UserID


Gateway 4

GW1 Password : Password


GW2 Password : Password

GW4 Auth ID : UserID

GW4 Password : Password

Line1 >> Dial Plan


(<#1:>x.<:@gw1>|<#2:>x.<:@gw2>|<#4:>vpnbest@172.16.1.2:5061<:@gw4>)

Note:
Gateway Accounts format try Proxy or UserID@Proxy
Gateway 1

: Proxy

Gateway 2

: UserID@Proxy

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 5

VoIP to PSTN with none Authentication


PSTN Line >> VoIP-To-PSTN Gateway Setup
VoIP Caller Auth Method: none
VoIP Caller Default DP: 1

PSTN Line >> Dial Plans


Dial Plan 1(999!|S0<:133>[2-9]xxxxxxx<:@gw0>)

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

Note:
VoIP Caller Auth Method: none

None Authentication, anyone can access

VoIP Caller Default DP: 1

Select Dial Plan 1-8

VoIP Answer Delay: 0

Without VoIP ringtoneDelay set to zero second

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 6

VoIP to PSTN with PIN Authentication


PSTN Line >> VoIP-To-PSTN Gateway Setup
VoIP Caller Auth Method: PIN
VoIP Caller 1 PIN: ***
VoIP Caller 1 DP: 1

VoIP Access List: 172.16.1.10,192.168.1.10

PSTN Line >> Dial Plans


Dial Plan 1(999!|S0<:133>[2-9]xxxxxxx<:@gw0>)

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

Note:
VoIP Caller Auth Method: PIN

Using PIN Authentication to access the PSTN Line

VoIP Caller 1 PIN: ***

After enter the PIN, press # to confirm

VoIP Caller 1 DP: 1

Select Dial Plan 1-8

VoIP Access List: 172.16.1.10,192.168.1.10


VoIP Answer Delay: 0

This IP can Direct Access without enter PIN

Without VoIP ringtoneDelay set to zero second

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 7

Direct IP Dialing for Internal


Direct IP Dialing is a method of allowing other people to call your ATA/IP-Phone
direct via the intranet/internet without having to go through your VSP.
Standard format for SIP URIUserID@ServerIP:Port
Direct IP Dialing for internalUserID@PrivateIP:Port
Direct IP Dialing for publicUserID@WanIP:Port
4. Line1 >> Proxy and Registration
Proxy: empty
Register: no
Make Call Without Reg: yes
Ans Call Without Reg: yes

5Line1 >> Dial Plan


Enable IP Dialing: yes

6User1 >> Speed Dial Settings


Speed Dial 2: vpnbest@172.16.1.2:5061

7Line1 >> Dial Plan (Using Dial Plan to dial SIP URI)
Dial Plan: (S0:<vpnbest@172.16.1.2:5061>) Pick up handset will immediately dial the SIP URI
Dial Plan: (<852:vpnbest@172.16.1.2:5061>)

After four seconds and dial the SIP URI

Dial Plan: (P5<:vpnbest@172.16.1.2:5061>)

After five seconds and dial the SIP URI

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 8

Direct IP Dialing for Public


Warning:
Direct IP Dialing for Public access, you need to forwarded UDP port to your
ATA/IP-Phone. First of all, make sure you can handle any security issue. Especially
open port for the PSTN public access. Good luck!

1Router >> Port Forwarding


Port Forwarding Default SIP Port5060

Default RTP Port16384-16482

2SIP >> NAT Support Parameters


Handle VIA receivedyes

Handle VIA rportyes

Insert VIA receivedyes

Insert VIA rportyes

Substitute VIA addressyes

Send Resp To Scr Portyes

3Line1 >> NAT Settings


NAT Mapping Enable: yes
NAT Keep Alive Enable: no

4. Line1 >> Proxy and Registration


Proxy: empty
Register: no
Make Call Without Reg: yes
Ans Call Without Reg: yes

5Line1 >> Dial Plan


Enable IP Dialing: yes

6User1 >> Speed Dial Settings


Speed Dial 2: vpnbest@119.246.43.171:5060

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 9

7Line1 >> Dial Plan (Using Dial Plan to dial SIP URI)
Dial Plan: (S0:<vpnbest@119.246.43.171:5060>) Pick up handset will immediately dial SIP URI

Note:
Using the STUN server through the firewall (replace the setp1-2)
If the STUN server failed to respond and all your VoIP connection will failed
immediately.
1Router >> Port Forwarding
Port Forwarding Default SIP Port5060 only

2SIP >> NAT Support Parameters


Handle VIA receivedno

Handle VIA rportno

Insert VIA receivedno

Insert VIA rportno

Substitute VIA addressyes

Send Resp To Scr Portyes

STUN Enable: yes

STUN Test Enable: no

STUN Server: stun.xten.com

Public STUN Server list:


stun.xten.com / stun.ekiga.net / stunserver.org / stun.ipshka.com

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 10

Direct IP Dialing / VoIP to PSTN with HTTP Digest


Authentication
HTTP Digest: SIP INVITE must contain a valid Authorization header that is
computed based on an Auth-ID and a password using MD5 digest algorithm. The
Auth ID must be specified in the username parameter in the Authorization
header. I strongly recommend using HTTP Digest Authentication to control the
VoIP access.
SPA3102 Auth Configuration
PSTN Line >> Proxy and Registration
Proxy: empty
Register: no
Make Call Without Reg: yes
Ans Call Without Reg: yes

PSTN Line >> VoIP-To-PSTN Gateway Setup


VoIP Caller Auth Method: HTTP Digest

VoIP Caller ID Pattern: vpnbest,pstn

PSTN Line >> VoIP Users and Passwords (HTTP Authentication)


VoIP User 1 Auth ID: vpnbest
VoIP User 1 Password: xxxxxxxx
VoIP User 1 DP: 1

PSTN Line >> Dial Plans


Dial Plan 1(999!|S0<:133>[2-9]xxxxxxx<:@gw0>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 11

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

Note
VoIP Caller Auth Method: HTTP Digest Using HTTP Digest Authentication to access the PSTN Line
VoIP Caller ID Pattern: vpnbest,pstn

Only allow user vpnbest and pstn access the PSTN Line

VoIP User 1 Auth ID: vpnbest

Auth-ID must same as client User-ID

VoIP User 1 Password: xxxxxxxx

Auth-PW must same as client User-PW

SPA1001 - Client
Line1 >> Subscriber Information
User ID: vpnbest
Password: xxxxxxxx

Uesr1 >> Speed Dial Settings


Speed Dial 2: vpnbest@172.16.1.2:5061

SPA3000 - Client
Line1 >> Gateway Accounts
GW1 Auth ID: vpnbest
GW1 Password: xxxxxxxx

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 12

Line1 >> Dial Plan


Dial Plan: (S0:< vpnbest@172.16.1.2:5061>)
Dial Plan: (<#1:> vpnbest@172.16.1.2:5061<:@gw1>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 13

PSTN to VoIP with PIN Authentication


PSTN Line >> PSTN-To-VoIP Gateway Setup
PSTN Caller Auth Method: PIN
PSTN Caller 1 PIN: ***
PSTN Caller 1 DP: 8

PSTN Line >> Dial Plans


Dial Plan 8(<:0086>1[3-9]xxxxxxxxxS0<:@gw1>|00xx.<:@gw1>)

PSTN Line >> FXO Timer Values (sec)


PSTN Answer Delay: 35

Note:
PSTN Caller Auth Method: PIN

Using PIN Authentication to access the PSTN Line

PSTN Caller 1 PIN: ***

After enter the PIN, press # to confirm

PSTN Caller 1 DP: 8

Select Dial Plan 1-8

PSTN Answer Delay: 35

After PSTN Delay then enter the PIN

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 14

PSTN to VoIP with CID Authentication


PSTN Line >> PSTN-To-VoIP Gateway Setup
PSTN Caller Auth Method: none
PSTN Caller Default DP: 8
PSTN Access List: 6123457,98765432

PSTN Line >> Dial Plans


Dial Plan 8(<:0086>1[3-9]xxxxxxxxxS0<:@gw1>|00xx.<:@gw1>)

PSTN Line >> FXO Timer Values (sec)


PSTN Answer Delay: 0

Note:
PSTN Caller Auth Method: none

None Authentication

PSTN Caller Default DP: 8

Select Dial Plan 1-8

PSTN Access List: 6123457,98765432 Only allow this CID to direct access the PSTN Line
PSTN Answer Delay: 0

Without PSTN ringtoneDelay set to zero second

For FSK CID standard the CID transmission between first ring and second ring. The ATA need to
0.4s to detect the CID than you will receive a short ringtone.
If you do not want your number to be displayed for a particular call, you can prevent by pressing
"133" before dialing the number.
HongKong-FSK
China-FSK/TDMF

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 15

Call Forward
PSTN Call Forward to GSM/PSTN or VoIP
PSTN Line >> PSTN-To-VoIP Gateway Setup
PSTN Caller Auth Method: none
PSTN Caller Default DP: 8

PSTN Line >> Dial Plans


Dial Plan 8(S0<:013800138000<:@gw2>) China GSM
Dial Plan 8(1878200S0<:@gw0>) HK PSTN
Dial Plan 8(S0<:vpnbest@iptel.org>) SIP-URI

PSTN Selective Call Forward to GSM/PSTN or VoIP


PSTN User >> PSTN-To-VoIP Selective Call Forward Settings
Cfwd Sel1 Caller: PSTN income CID

Cfwd Sel1 Dest: Destination number

Note
After PSTN Answer Delay start to Call Forward

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 16

Call Transfer and Three Way Calling


Attended Transfer
1. Press FLASH during an active call (IP-Phone press xfer).
2. The first call goes on hold and there will be a dial tone. Dial the second
phone number.
3. When the second person answers, you can have a private conversation
without the first person hearing it.
4. To connect the call to the second person, hang up the phone.
Unattended Transfer
1. Press FLASH during an active call (IP-Phone press bxfer).
2. The first call is placed on hold. There will be a dial tone. Dial the second
telephone number.
3. When the phone rings, hang up.

Three Way Calling


1. Ring the first person.
2. Flash Hook them (press on the telephone hook button quickly). This will
place them on hold. Then you should get a dial tone.
3. Call the Second Person.
4. Repeat Step 2.
5. You are now conference calling.

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 17

Building up your small VoIP system through VPN

Location

IP Address

SIP Port

Extension

HongKong Head
Office

172.16.1.2

10500~10501

500,501

172.16.1.3

10502

502

172.16.1.4

10503

503

China Branch
Office

192.168.1.2

10600

600

192.168.1.3

10601

601

Macau Branch
Office

192.168.2.2

10700

700

192.168.2.3

10701

701

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 18

Network Setup
1.

2.

Configuration the local network:

Bind IP Address and MAC Address

Create VLAN ID (All new SPA serial are support IEEE 802.1Q tag VLAN)

Enable the ATA/IP-Phone VLAN

Configuration the IPSec LAN-to-LAN VPN tunnel with AES 256-SHA1 Auth
HK, create two Dial-In IPSec Profile for China and Macau

CN, create Dial-Out IPSec Profile to HongKong, add Macau Network IP


and Netmask into the profile.

MA, create Dial-Out IPSec Profile to HongKong, add China Network IP


and Netmask into the profile.

3.

Configuration the WAN-to-LAN Firewall Policy

HK, block all source IP from WAN to VoIP IP Range Address

HK, pass China and Macau VoIP IP Range Address to LAN

CN and MA using the same way block all and pass some IP

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 19

VoIP Setup
Recommend all Auth-Password using Random Passwords Generate
Location

Description

SIP Port

Extension

HongKong
Head Office

Reception

10500

500

HK-PSTN

10501

501

Manager

10502

502

irI5mUdwaDeN

Sale Dep.

10503

503

iNu9yoDpHFr6

China Branch
Office

Reception

10600

600

siB7eFOpusA6

Sale Dep.

10601

601

So2OpaiNoEx1

Macau Branch
Office

Reception

10700

700

dR7AreGiOs6P

Sale Dep.

10701

701

exI2tEgeRoC1

HongKong PSTN
PSTN Line >> SIP Settings
SIP Port: 10501

PSTN Line >> Proxy and Registration


Proxy: empty

Register: no

Make Call Without Reg: yes

Ans Call Without Reg: yes

PSTN Line >> VoIP-To-PSTN Gateway Setup


VoIP Caller Auth Method: HTTP Digest
VoIP Caller ID Pattern: 502,503,600,601,700,701

PSTN Line >> VoIP Users and Passwords (HTTP Authentication)


VoIP User 1 Auth ID: 502
VoIP User 1 Password: irI5mUdwaDeN

Copyright 2011 VPNBest.com

VoIP User 1 DP: 1

Auth RD-PW

SPA Admin Guide

Page 20

PSTN Line >> Dial Plans


Dial Plan 1(xx.S0<:@gw0>)
Dial Plan 2(999!|<:133>[2-9]xxxxxxx<:@gw0>)

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

HongKong Reception
Line 1 >> SIP Settings
SIP Port: 10500

Line 1 >> Proxy and Registration


Proxy: empty

Register: no

Make Call Without Reg: yes

Ans Call Without Reg: yes

Line 1 >> Subscriber Information


Display Name: Reception

User ID: 500

Password: empty

Use Auth ID: no

Line1 >> Dial Plan


Dial Plan:
(999S0<:@gw0>|<#9:>xx.S0<:@gw0>|[2-9]xxxxxxxS0<:@gw0>|<#1:>xx.S0<:@gw1>|<:
0086>1[3-9]xxxxxxxxxS0<:@gw1>|S0<600:600@192.168.1.2:10600>|S0<700:700@192.16
8.2.2:10700>|*xx|xx.)

Note:
HK

CN
MA

Description

Extension

Dial Plan

Reception

500

S0<500:500@172.16.1.2:10500>

HK-PSTN

501

S0<501:501@172.16.1.2:10501>

Manager

502

S0<502:502@172.16.1.3:10502>

Sale Dep.

503

S0<503:503@172.16.1.4:10503>

Reception

600

S0<600:600@192.168.1.2:10600>

Sale Dep.

601

S0<601:601@192.168.1.3:10601>

Reception

700

S0<700:700@192.168.2.2:10700>

Sale Dep.

701

S0<701:701@192.168.2.3:10701>

Using SpeedDial
502@172.16.1.3:10502
Using Personal Directory:
n=HKManager;p=502@172.16.1.3:10502

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 21

HongKong Manager
Ext 1 >> SIP Settings
SIP Port: 10502

Ext 1 >> Proxy and Registration


Proxy: empty

Register: no

Make Call Without Reg: yes

Ans Call Without Reg: yes

Ext 1 >> Subscriber Information


Display Name: HKManager

User ID: 502

Password: irI5mUdwaDeN

Use Auth ID: yes

Ext 1 >> Dial Plan


Dial Plan:
(999S0<:@172.16.1.2:10501>|xxxxxxxxS0<:@172.16.1.2:10501>|S0<500:500@172.16.1.2:
10500>|S0<503:503@172.16.1.4:10503>|S0<600:600@192.168.1.2:10600>|S0<601:601@1
92.168.1.3:10601>|S0<700:700@192.168.2.2:10700>|S0<701:701@192.168.2.3:10701>)

China Branch (Same as HKManager)


Ext 1 >> Dial Plan
Dial Plan:
(xxxxxxxxS0<:@172.16.1.2:10501>|S0<500:500@172.16.1.2:10500>|S0<502:502@172.16.
1.3:10502>|S0<503:503@172.16.1.4:10503>|S0<700:700@192.168.2.2:10700>|S0<701:70
1@192.168.2.3:10701>)

Macau Branch (Same as HKManager)


Ext 1 >> Dial Plan
Dial Plan:
(xxxxxxxxS0<:@172.16.1.2:10501>|S0<500:500@172.16.1.2:10500>|S0<502:502@172.16.
1.3:10502>|S0<503:503@172.16.1.4:10503>|S0<600:600@192.168.1.2:10600>|S0<601:60
1@192.168.1.3:10601>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 22

Attachment Reference HTML File


View the Attachment File on Adobe Reader left menu bar.

Copyright 2011 VPNBest.com

END
Thank you

Your best choice


To learn more, visit www.vpnbest.com

Digitally signed by TsinTsin


DN: cn=TsinTsin, o=VPNBest,
ou=VPNBest,
email=support@vpnbest.com,
c=HK
Date: 2011.01.21 00:43:40 +08'00'

Copyright 2011 VPNBest.com

SPA Series Admin


Guide
Version 4.1

Copyright 2011 VPNBest.com

SPA Admin Guide

Contents
CHAPTER 1 GETTING STARTED .............................................................. 01-04
GENERAL INFO ................................................................................................................................. 01
DIAL PLAN ................................................................................................................................. 02-03
GATEWAY ACCOUNTS ...................................................................................................................... 04

CHAPTER 2 ADVANCED CONFIGURATION .................................................................. 05-16


VOIP TO PSTN WITH NONE AUTHENTICATION ............................................................................. 05
VOIP TO PSTN WITH PIN AUTHENTICATION ............................................................................... 06
DIRECT IP DIALING FOR INTERNAL ............................................................................................... 07
DIRECT IP DIALING FOR PUBLIC............................................................................................. 08-09
DIRECT IP DIALING WITH HTTP DIGEST AUTHENTICATION................................................ 10-11
PSTN TO VOIP WITH PIN AUTHENTICATION ............................................................................... 12
PSTN TO VOIP WITH CID AUTHENTICATION............................................................................... 13
CALL FORWARD................................................................................................................................ 14
CALL TRANSFER AND THREE-WAY CALLING ................................................................................. 15

CHAPTER 3 SOLUTIONS ................................................................................................... 16-20


BUILDING UP YOUR SMALL VOIP SYSTEM THROUGH VPN .................................................... 16-20
NETWORK DIAGRAM ........................................................................................................................ 16
NETWORK SETUP ............................................................................................................................. 17
VOIP SETUP .............................................................................................................................. 18-20

ATTACHMENT REFERENCE HTML FILE ................................................................................ 21


SPA504 ........................................................................................................................................... 21
SPA942 ........................................................................................................................................... 21
SPA901 ........................................................................................................................................... 21
SPA3102 ........................................................................................................................................ 21
SPA1001 ........................................................................................................................................ 21

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 1

General Info
SPA3102/3000 SPA
SIP Account
SPA 2 SIP Account Line1(VoIP1),PSTN Line(VoIP2) VoIP1
VoIP2 AC AC VoIP Answer Delay.
VoIP2 PSTN to VoIP and VoIP to PSTN AC
VoIP Answer Delay 0
Gateway Account
SPA 4 Gateway Account, Line1 Gateway 1-4
Dial Plan
SPA 9 Dial Plan, Line1 Dial Plan(DP0) ,PSTN Line Dial
Plan(DP1-8)
System Login
Admin Login: ID: admin
User Login:
ID: user

PW: password
PW: password

Reboot
Submit All Changes reboot setting
http://spa_ address/admin/reboot
http://192.168.1.2/admin/reboot
http://spa_ address:port/admin/reboot
http://192.168.1.2:8080/admin/reboot
Factory Reset for ATA
Factory Reset
**** 73738 # Press 1 to confirm, Press * (star) to cancel

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 2

Dial Plan
Dial Plan ATA Dial Plan

Dial Plan Syntax


()

Dial Plan

[]

<:>

0-9

0-9

0-9

# / +#

S0

<:@gw0>

Gateway 0 PSTN Line

<:@gw1>

Gateway 1

<:@gw2>

Gateway 2

<:@gw3>

Gateway 3

<:@gw4>

Gateway 4

Pause

Interdigit Long Timer

Interdigit Short Timer

DP1

(<#9:>x.<:@gw0>)
#9+PSTN Line

Note

DP2

Note

DP3

Note

(0086x.S0<:@gw0>)
0086 + PSTN Line

DP4

(<0:0086>1[2-9]xxxxxxxxx<:@gw0>)

Note

"0" "0086"
e.g. 013800138000 008613800138000

DP5

Note

(<#1:>x.<:@gw1>|<#2:>x.<:@gw2>)
#1+GW1#2+GW2

([2-9]xxxxxxxS0<:@gw0>)
2-9+7PSTN Line

Copyright 2011 VPNBest.com

SPA Admin Guide

DP6

Note

DP7

Note

(999!)
999

DP8

(<10:vpnbest@iptel.org >)

Note

104Line1SIP URIvpnbest@iptel.org
10+#Line1SIP URI

DP9

Note

(<S0:vpnbest@iptel.org >)
Line1SIP URIvpnbest@iptel.org

DP10

Note

Page 3

(<*1:0123456789>)
*1Line10123456789

(<#5:>[x*][x*].<:@sipbroker.com>)
#5+*478+1001+#iptel.org echo test
#5+*266+301+#blueface.ie echo test
#5+SIP-Code+UserID+#
SIP-Code List:
http://www.sipbroker.com/sipbroker/action/providerWhitePages

DP11

Note

DP12

Note

(P5<:1000>|100xS0|xx.)
5Line11000
Line1Iptel5
L:10,S:5,(100xS0|xx.)
Interdigit Timer2
1ATAL=10S=3
Regional >> Control Timer Values (sec)
Interdigit Long Timer: 10
Interdigit Short Timer: 3

2DP
L:10,S:5,(100xS0|xx.)
L:10,(100xS0|xx.)
S:5,(100xS0|xx.)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 4

Gateway Accounts
SPA3102/3000 Gateway AccountsGateways
Server Gateways ATA 4 VSP
e.g.
Gateway 1iptel
Gateway 2gizmo5
Gateway 4Direct IP Dialing with HTTP Digest Authentication
Line1 >> Gateway Accounts
Gateway 1

: UserID@Proxy

GW1 Auth ID : UserID


Gateway 2

: Proxy

GW2 Auth ID : UserID


Gateway 4

GW1 Password : Password


GW2 Password : Password

GW4 Auth ID : UserID

GW4 Password : Password

Line1 >> Dial Plan


(<#1:>x.<:@gw1>|<#2:>x.<:@gw2>|<#4:>vpnbest@172.16.1.2:5061<:@gw4>)

Note:
Gateway Accounts 2 UserID@Proxy
Gateway 1

: Proxy

Gateway 2

: UserID@Proxy

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 5

VoIP to PSTN with none Authentication


PSTN Line >> VoIP-To-PSTN Gateway Setup
VoIP Caller Auth Method: none
VoIP Caller Default DP: 1

PSTN Line >> Dial Plans


Dial Plan 1(999!|S0<:133>[2-9]xxxxxxx<:@gw0>)

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

Note:
VoIP Caller Auth Method: none

VoIP Caller Default DP: 1

Dial Plan 1-8

VoIP Answer Delay: 0

PSTN Line VoIP-To-PSTNDelay 0

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 6

VoIP to PSTN with PIN Authentication


PSTN Line >> VoIP-To-PSTN Gateway Setup
VoIP Caller Auth Method: PIN
VoIP Caller 1 PIN: ***
VoIP Caller 1 DP: 1

VoIP Access List: 172.16.1.10,192.168.1.10

PSTN Line >> Dial Plans


Dial Plan 1(999!|S0<:133>[2-9]xxxxxxx<:@gw0>)

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

Note:
VoIP Caller Auth Method: PIN

PIN PIN PSTN Line

PSTN Caller 1 PIN: ***

PIN#

VoIP Caller 1 DP: 1

Dial Plan 1-8

VoIP Access List: 172.16.1.10,192.168.1.10


VoIP Answer Delay: 0

IP PIN

PSTN Line VoIP-To-PSTNDelay 0

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 7

Direct IP Dialing for Internal


Direct IP Dialing VSP IP
SIP URI UserID@ServerIP:Port
Direct IP Dialing with VPNUserID@PrivateIP:Port
Direct IP DialingUserID@WanIP:Port
4. Line1 >> Proxy and Registration
Proxy: empty
Register: no
Make Call Without Reg: yes
Ans Call Without Reg: yes

5Line1 >> Dial Plan


Enable IP Dialing: yes

6User1 >> Speed Dial Settings


Speed Dial 2: vpnbest@172.16.1.2:5061

7Line1 >> Dial Plan ( Dial Plan SIP URI)


Dial Plan: (S0:<vpnbest@172.16.1.2:5061>)

Dial Plan: (<852:vpnbest@172.16.1.2:5061>)

852

Dial Plan: (P5<:vpnbest@172.16.1.2:5061>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 8

Direct IP Dialing for Public

Direct IP Dialing for Public Access ATA


PSTN for Public Access

1Router >> Port Forwarding


Port Forwarding Default SIP Port5060

Default RTP Port16384-16482

2SIP >> NAT Support Parameters


Handle VIA receivedyes

Handle VIA rportyes

Insert VIA receivedyes

Insert VIA rportyes

Substitute VIA addressyes

Send Resp To Scr Portyes

3Line1 >> NAT Settings


NAT Mapping Enable: yes
NAT Keep Alive Enable: no

4. Line1 >> Proxy and Registration


Proxy: empty
Register: no
Make Call Without Reg: yes
Ans Call Without Reg: yes

5Line1 >> Dial Plan


Enable IP Dialing: yes

6User1 >> Speed Dial Settings


Speed Dial 2: vpnbest@119.246.43.171:5060

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 9

7Line1 >> Dial Plan (Using Dial Plan to dial SIP URI)
Dial Plan: (S0:<vpnbest@119.246.43.171:5060>) Pick up the phone will immediately dial SIP URI

Note:
STUN server ( setp1-2)
STUN server VoIP STUN server
1Router >> Port Forwarding
Port Forwarding Default SIP Port5060 only

2SIP >> NAT Support Parameters


Handle VIA receivedno

Handle VIA rportno

Insert VIA receivedno

Insert VIA rportno

Substitute VIA addressyes

Send Resp To Scr Portyes

STUN Enable: yes

STUN Test Enable: no

STUN Server: stun.xten.com

Public STUN Server list:


stun.xten.com / stun.ekiga.net / stunserver.org / stun.ipshka.com

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 10

Direct IP Dialing / VoIP to PSTN with HTTP Digest


Authentication
HTTP Digest Authentication
SPA3102 as Auth-Server
PSTN Line >> Proxy and Registration
Proxy: empty
Register: no
Make Call Without Reg: yes
Ans Call Without Reg: yes

PSTN Line >> VoIP-To-PSTN Gateway Setup


VoIP Caller Auth Method: HTTP Digest

VoIP Caller ID Pattern: vpnbest,pstn

PSTN Line >> VoIP Users and Passwords (HTTP Authentication)


VoIP User 1 Auth ID: vpnbest
VoIP User 1 Password: xxxxxxxx
VoIP User 1 DP: 1

PSTN Line >> Dial Plans


Dial Plan 1(999!|S0<:133>[2-9]xxxxxxx<:@gw0>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 11

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

Note
VoIP Caller Auth Method: HTTP Digest HTTP Digest
VoIP Caller ID Pattern: vpnbest,pstn

ID vpnbest pstn PSTN Line

VoIP User 1 Auth ID: vpnbest

Auth-ID User-ID

VoIP User 1 Password: xxxxxxxx

Auth-PW User-PW

SPA1001 - Client
Line1 >> Subscriber Information
User ID: vpnbest
Password: xxxxxxxx

Uesr1 >> Speed Dial Settings


Speed Dial 2: vpnbest@172.16.1.2:5061

SPA3000 - Client
Line1 >> Gateway Accounts
GW1 Auth ID: vpnbest
GW1 Password: xxxxxxxx

Line1 >> Dial Plan


Dial Plan: (S0:< vpnbest@172.16.1.2:5061>)
Dial Plan: (<#1:> vpnbest@172.16.1.2:5061<:@gw1>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 12

PSTN to VoIP with PIN Authentication


PSTN Line >> PSTN-To-VoIP Gateway Setup
PSTN Caller Auth Method: PIN
PSTN Caller 1 PIN: ***
PSTN Caller 1 DP: 8

PSTN Line >> Dial Plans


Dial Plan 8(<:0086>1[3-9]xxxxxxxxxS0<:@gw1>|00xx.<:@gw1>)

PSTN Line >> FXO Timer Values (sec)


PSTN Answer Delay: 35

Note:
PSTN Caller Auth Method: PIN

PIN PIN PSTN Line

PSTN Caller 1 PIN: ***

PIN#

PSTN Caller 1 DP: 8

Dial Plan 1-8

PSTN Answer Delay: 35

PSTN Delay PIN

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 13

PSTN to VoIP with CID Authentication


PSTN Line >> PSTN-To-VoIP Gateway Setup
PSTN Caller Auth Method: none
PSTN Caller Default DP: 8
PSTN Access List: 6123457,98765432

PSTN Line >> Dial Plans


Dial Plan 8(<:0086>1[3-9]xxxxxxxxxS0<:@gw1>|00xx.<:@gw1>)

PSTN Line >> FXO Timer Values (sec)


PSTN Answer Delay: 0

Note:
PSTN Caller Auth Method: none

PSTN Caller Default DP: 8

Dial Plan 1-8

PSTN Access List: 6123457,98765432 PSTN Line


PSTN Answer Delay: 0

PSTN Answer Delay

FSK ATA 0.4

133ATA
FSK
FSK/TDMF

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 14

Call Forward
PSTN Call Forward to GSM/PSTN or VoIP
PSTN Line >> PSTN-To-VoIP Gateway Setup
PSTN Caller Auth Method: none
PSTN Caller Default DP: 8

PSTN Line >> Dial Plans


Dial Plan 8(S0<:013800138000<:@gw2>) China GSM
Dial Plan 8(1878200S0<:@gw0>) HK PSTN
Dial Plan 8(S0<:vpnbest@iptel.org>) SIP-URI

PSTN Selective Call Forward to GSM/PSTN or VoIP


PSTN User >> PSTN-To-VoIP Selective Call Forward Settings
Cfwd Sel1 Caller: PSTN income CID

Cfwd Sel1 Dest: Destination number

Note
PSTN Answer Delay

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 15

Call Transfer and Three Way Calling


Call Transfer
1. user1 user2, user2 user1
2. user2 Flash/Call Wait user3
3. user3 user2 user2 user1 user3
Note
user2 user3 user2 user2
user1 user3

Three Way Calling


1. user1 user2, user2 user1
2. user2 Flash/Call Wait user3
3. user2 Flash/Call Wait ( user3 )user3
user1uesr2 user3
Note
user2 user3 user3 Flash/Call Wait

Panasonic Flash/Call Wait

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 16

Building up your small VoIP system through VPN

IP Address

SIP Port

HongKong Head
Office

172.16.1.2

10500~10501

500,501

172.16.1.3

10502

502

172.16.1.4

10503

503

China Branch
Office

192.168.1.2

10600

600

192.168.1.3

10601

601

Macau Branch
Office

192.168.2.2

10700

700

192.168.2.3

10701

701

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 17

Network Setup
1.

local network:

2.

IPSec LAN-to-LAN VPN tunnel with AES 256-SHA1 Auth

3.

Bind IP Address and MAC Address


Create VLAN ID (All new SPA serial are support IEEE 802.1Q tag VLAN)
Enable the ATA/IP-Phone VLAN

HK, create two Dial-In IPSec Profile for China and Macau
CN, create Dial-Out IPSec Profile to HongKong, add Macau Network IP
and Netmask into the profile.
MA, create Dial-Out IPSec Profile to HongKong, add China Network IP
and Netmask into the profile.

WAN-to-LAN Firewall Policy

HK, block all source IP from WAN to VoIP IP Range Address


HK, pass China and Macau VoIP IP Range Address to LAN
CN and MA using the same way block all and pass some IP

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 18

VoIP Setup

Location

Description

SIP Port

Extension

Auth RD-PW

HongKong
Head Office

Reception

10500

500

HK-PSTN

10501

501

Manager

10502

502

irI5mUdwaDeN

Sale Dep.

10503

503

iNu9yoDpHFr6

China Branch
Office

Reception

10600

600

siB7eFOpusA6

Sale Dep.

10601

601

So2OpaiNoEx1

Macau Branch
Office

Reception

10700

700

dR7AreGiOs6P

Sale Dep.

10701

701

exI2tEgeRoC1

HongKong PSTN
PSTN Line >> SIP Settings
SIP Port: 10501

PSTN Line >> Proxy and Registration


Proxy: empty

Register: no

Make Call Without Reg: yes

Ans Call Without Reg: yes

PSTN Line >> VoIP-To-PSTN Gateway Setup


VoIP Caller Auth Method: HTTP Digest
VoIP Caller ID Pattern: 502,503,600,601,700,701

PSTN Line >> VoIP Users and Passwords (HTTP Authentication)


VoIP User 1 Auth ID: 502

VoIP User 1 DP: 1

VoIP User 1 Password: irI5mUdwaDeN

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 19

PSTN Line >> Dial Plans


Dial Plan 1(xx.S0<:@gw0>)
Dial Plan 2(999!|<:133>[2-9]xxxxxxx<:@gw0>)

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

HongKong Reception
Line 1 >> SIP Settings
SIP Port: 10500

Line 1 >> Proxy and Registration


Proxy: empty

Register: no

Make Call Without Reg: yes

Ans Call Without Reg: yes

Line 1 >> Subscriber Information


Display Name: Reception

User ID: 500

Password: empty

Use Auth ID: no

Line1 >> Dial Plan


Dial Plan:
(999S0<:@gw0>|<#9:>xx.S0<:@gw0>|[2-9]xxxxxxxS0<:@gw0>|<#1:>xx.S0<:@gw1>|<:
0086>1[3-9]xxxxxxxxxS0<:@gw1>|S0<600:600@192.168.1.2:10600>|S0<700:700@192.16
8.2.2:10700>|*xx|xx.)

Note:
HK

CN
MA

Description

Extension

Dial Plan

Reception

500

S0<500:500@172.16.1.2:10500>

HK-PSTN

501

S0<501:501@172.16.1.2:10501>

Manager

502

S0<502:502@172.16.1.3:10502>

Sale Dep.

503

S0<503:503@172.16.1.4:10503>

Reception

600

S0<600:600@192.168.1.2:10600>

Sale Dep.

601

S0<601:601@192.168.1.3:10601>

Reception

700

S0<700:700@192.168.2.2:10700>

Sale Dep.

701

S0<701:701@192.168.2.3:10701>

Using SpeedDial
502@172.16.1.3:10502
Using Personal Directory:
n=HKManager;p=502@172.16.1.3:10502

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 20

HongKong Manager
Ext 1 >> SIP Settings
SIP Port: 10502

Ext 1 >> Proxy and Registration


Proxy: empty

Register: no

Make Call Without Reg: yes

Ans Call Without Reg: yes

Ext 1 >> Subscriber Information


Display Name: HKManager

User ID: 502

Password: irI5mUdwaDeN

Use Auth ID: yes

Ext 1 >> Dial Plan


Dial Plan:
(999S0<:@172.16.1.2:10501>|xxxxxxxxS0<:@172.16.1.2:10501>|S0<500:500@172.16.1.2:
10500>|S0<503:503@172.16.1.4:10503>|S0<600:600@192.168.1.2:10600>|S0<601:601@1
92.168.1.3:10601>|S0<700:700@192.168.2.2:10700>|S0<701:701@192.168.2.3:10701>)

China Branch (Same as HKManager)


Ext 1 >> Dial Plan
Dial Plan:
(xxxxxxxxS0<:@172.16.1.2:10501>|S0<500:500@172.16.1.2:10500>|S0<502:502@172.16.
1.3:10502>|S0<503:503@172.16.1.4:10503>|S0<700:700@192.168.2.2:10700>|S0<701:70
1@192.168.2.3:10701>)

Macau Branch (Same as HKManager)


Ext 1 >> Dial Plan
Dial Plan:
(xxxxxxxxS0<:@172.16.1.2:10501>|S0<500:500@172.16.1.2:10500>|S0<502:502@172.16.
1.3:10502>|S0<503:503@172.16.1.4:10503>|S0<600:600@192.168.1.2:10600>|S0<601:60
1@192.168.1.3:10601>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Attachment Reference HTML File


Adobe

Copyright 2011 VPNBest.com

Page 21

END
Thank you

Your best choice


To learn more, visit www.vpnbest.com

Copyright 2011 VPNBest.com

SPA Series Admin


Guide
Version 4.1

Copyright 2011 VPNBest.com

SPA Admin Guide

Contents
CHAPTER 1 GETTING STARTED .............................................................. 01-04
GENERAL INFO ................................................................................................................................. 01
DIAL PLAN ................................................................................................................................. 02-03
GATEWAY ACCOUNTS ...................................................................................................................... 04

CHAPTER 2 ADVANCED CONFIGURATION .................................................................. 05-16


VOIP TO PSTN WITH NONE AUTHENTICATION ............................................................................. 05
VOIP TO PSTN WITH PIN AUTHENTICATION ............................................................................... 06
DIRECT IP DIALING FOR INTERNAL ............................................................................................... 07
DIRECT IP DIALING FOR PUBLIC............................................................................................. 08-09
DIRECT IP DIALING WITH HTTP DIGEST AUTHENTICATION................................................ 10-11
PSTN TO VOIP WITH PIN AUTHENTICATION ............................................................................... 12
PSTN TO VOIP WITH CID AUTHENTICATION............................................................................... 13
CALL FORWARD................................................................................................................................ 14
CALL TRANSFER AND THREE-WAY CALLING ................................................................................. 15

CHAPTER 3 SOLUTIONS ................................................................................................... 16-20


BUILDING UP YOUR SMALL VOIP SYSTEM THROUGH VPN .................................................... 16-20
NETWORK DIAGRAM ........................................................................................................................ 16
NETWORK SETUP ............................................................................................................................. 17
VOIP SETUP .............................................................................................................................. 18-20

ATTACHMENT REFERENCE HTML FILE ................................................................................ 21


SPA504 ........................................................................................................................................... 21
SPA942 ........................................................................................................................................... 21
SPA901 ........................................................................................................................................... 21
SPA3102 ........................................................................................................................................ 21
SPA1001 ........................................................................................................................................ 21

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 1

General Info
SPA3102/3000 SPA
SIP Account
SPA 2 SIP Account Line1(VoIP1),PSTN Line(VoIP2) VoIP1
VoIP2 AC
AC VoIP Answer Delay.
VoIP2 PSTN to VoIP and VoIP to PSTN AC
VoIP Answer Delay 0
Gateway Account
SPA 4 Gateway Account, Line1 Gateway 1-4
Dial Plan
SPA 9 Dial Plan, Line1 Dial Plan(DP0) ,PSTN Line Dial
Plan(DP1-8)
System Login
Admin Login: ID: admin
User Login:
ID: user

PW: password
PW: password

Reboot
Submit All Changes reboot setting
http://spa_ address/admin/reboot
http://192.168.1.2/admin/reboot
http://spa_ address:port/admin/reboot
http://192.168.1.2:8080/admin/reboot
Factory Reset for ATA
Factory Reset
**** 73738 # Press 1 to confirm, Press * (star) to cancel

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 2

Dial Plan
Dial Plan ATA Dial Plan

Dial Plan Syntax


()

Dial Plan

[]

<:>

0-9

0-9

0-9

# / +#

S0

<:@gw0>

Gateway 0 PSTN Line

<:@gw1>

Gateway 1

<:@gw2>

Gateway 2

<:@gw3>

Gateway 3

<:@gw4>

Gateway 4

Pause

Interdigit Long Timer

Interdigit Short Timer

DP1

(<#9:>x.<:@gw0>)

Note

#9+PSTN Line

DP2

([2-9]xxxxxxxS0<:@gw0>)

Note

2-9+7PSTN Line

DP3

(0086x.S0<:@gw0>)

Note

0086 + PSTN Line

DP4

(<0:0086>1[2-9]xxxxxxxxx<:@gw0>)

Note

"0" "0086"
e.g. 013800138000 008613800138000

DP5

(<#1:>x.<:@gw1>|<#2:>x.<:@gw2>)

Note

#1+GW1#2+GW2

Copyright 2011 VPNBest.com

SPA Admin Guide

DP6

(<*1:0123456789>)

Note

*1Line10123456789

DP7

(999!)

Note

999

DP8

(<10:vpnbest@iptel.org >)

Note

104Line1SIP URIvpnbest@iptel.org
10+#Line1SIP URI

DP9

(<S0:vpnbest@iptel.org >)

Note

Line1SIP URIvpnbest@iptel.org

DP10

(<#5:>[x*][x*].<:@sipbroker.com>)

Note

#5+*478+1001+#iptel.org echo test


#5+*266+301+#blueface.ie echo test

Page 3

#5+SIP-Code+UserID+#
SIP-Code List:
http://www.sipbroker.com/sipbroker/action/providerWhitePages
DP11

(P5<:1000>|100xS0|xx.)

Note

5Line11000
Line1Iptel5

DP12

L:10,S:5,(100xS0|xx.)

Note

Interdigit Timer2
1ATAL=10S=3
Regional >> Control Timer Values (sec)
Interdigit Long Timer: 10
Interdigit Short Timer: 3

2DP
L:10,S:5,(100xS0|xx.)
L:10,(100xS0|xx.)
S:5,(100xS0|xx.)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 4

Gateway Accounts
SPA3102/3000 Gateway AccountsGateways
Server Gateways ATA 4 VSP
e.g.
Gateway 1iptel
Gateway 2gizmo5
Gateway 4Direct IP Dialing with HTTP Digest Authentication
Line1 >> Gateway Accounts
Gateway 1

: UserID@Proxy

GW1 Auth ID : UserID


Gateway 2

: Proxy

GW2 Auth ID : UserID


Gateway 4

GW1 Password : Password


GW2 Password : Password

GW4 Auth ID : UserID

GW4 Password : Password

Line1 >> Dial Plan


(<#1:>x.<:@gw1>|<#2:>x.<:@gw2>|<#4:>vpnbest@172.16.1.2:5061<:@gw4>)

Note:
Gateway Accounts 2 UserID@Proxy
Gateway 1

: Proxy

Gateway 2

: UserID@Proxy

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 5

VoIP to PSTN with none Authentication


PSTN Line >> VoIP-To-PSTN Gateway Setup
VoIP Caller Auth Method: none
VoIP Caller Default DP: 1

PSTN Line >> Dial Plans


Dial Plan 1(999!|S0<:133>[2-9]xxxxxxx<:@gw0>)

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

Note:
VoIP Caller Auth Method: none

VoIP Caller Default DP: 1

Dial Plan 1-8

VoIP Answer Delay: 0

PSTN Line VoIP-To-PSTNDelay 0

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 6

VoIP to PSTN with PIN Authentication


PSTN Line >> VoIP-To-PSTN Gateway Setup
VoIP Caller Auth Method: PIN
VoIP Caller 1 PIN: ***
VoIP Caller 1 DP: 1

VoIP Access List: 172.16.1.10,192.168.1.10

PSTN Line >> Dial Plans


Dial Plan 1(999!|S0<:133>[2-9]xxxxxxx<:@gw0>)

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

Note:
VoIP Caller Auth Method: PIN

PIN PIN PSTN Line

PSTN Caller 1 PIN: ***

PIN#

VoIP Caller 1 DP: 1

Dial Plan 1-8

VoIP Access List: 172.16.1.10,192.168.1.10


VoIP Answer Delay: 0

IP PIN

PSTN Line VoIP-To-PSTNDelay 0

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 7

Direct IP Dialing for Internal


Direct IP Dialing VSP IP
SIP URI UserID@ServerIP:Port
Direct IP Dialing with VPNUserID@PrivateIP:Port
Direct IP DialingUserID@WanIP:Port
4. Line1 >> Proxy and Registration
Proxy: empty
Register: no
Make Call Without Reg: yes
Ans Call Without Reg: yes

5Line1 >> Dial Plan


Enable IP Dialing: yes

6User1 >> Speed Dial Settings


Speed Dial 2: vpnbest@172.16.1.2:5061

7Line1 >> Dial Plan ( Dial Plan SIP URI)


Dial Plan: (S0:<vpnbest@172.16.1.2:5061>)

Dial Plan: (<852:vpnbest@172.16.1.2:5061>)

852

Dial Plan: (P5<:vpnbest@172.16.1.2:5061>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 8

Direct IP Dialing for Public

Direct IP Dialing for Public Access ATA


PSTN for Public Access

1Router >> Port Forwarding


Port Forwarding Default SIP Port5060

Default RTP Port16384-16482

2SIP >> NAT Support Parameters


Handle VIA receivedyes

Handle VIA rportyes

Insert VIA receivedyes

Insert VIA rportyes

Substitute VIA addressyes

Send Resp To Scr Portyes

3Line1 >> NAT Settings


NAT Mapping Enable: yes
NAT Keep Alive Enable: no

4. Line1 >> Proxy and Registration


Proxy: empty
Register: no
Make Call Without Reg: yes
Ans Call Without Reg: yes

5Line1 >> Dial Plan


Enable IP Dialing: yes

6User1 >> Speed Dial Settings


Speed Dial 2: vpnbest@119.246.43.171:5060

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 9

7Line1 >> Dial Plan (Using Dial Plan to dial SIP URI)
Dial Plan: (S0:<vpnbest@119.246.43.171:5060>) Pick up the phone will immediately dial SIP URI

Note:
STUN server ( setp1-2)
STUN server VoIP STUN server
1Router >> Port Forwarding
Port Forwarding Default SIP Port5060 only

2SIP >> NAT Support Parameters


Handle VIA receivedno

Handle VIA rportno

Insert VIA receivedno

Insert VIA rportno

Substitute VIA addressyes

Send Resp To Scr Portyes

STUN Enable: yes

STUN Test Enable: no

STUN Server: stun.xten.com

Public STUN Server list:


stun.xten.com / stun.ekiga.net / stunserver.org / stun.ipshka.com

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 10

Direct IP Dialing / VoIP to PSTN with HTTP Digest


Authentication
HTTP Digest Authentication
SPA3102 as Auth-Server
PSTN Line >> Proxy and Registration
Proxy: empty
Register: no
Make Call Without Reg: yes
Ans Call Without Reg: yes

PSTN Line >> VoIP-To-PSTN Gateway Setup


VoIP Caller Auth Method: HTTP Digest

VoIP Caller ID Pattern: vpnbest,pstn

PSTN Line >> VoIP Users and Passwords (HTTP Authentication)


VoIP User 1 Auth ID: vpnbest
VoIP User 1 Password: xxxxxxxx
VoIP User 1 DP: 1

PSTN Line >> Dial Plans


Dial Plan 1(999!|S0<:133>[2-9]xxxxxxx<:@gw0>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 11

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

Note
VoIP Caller Auth Method: HTTP Digest HTTP Digest
VoIP Caller ID Pattern: vpnbest,pstn

ID vpnbest pstn PSTN Line

VoIP User 1 Auth ID: vpnbest

Auth-ID User-ID

VoIP User 1 Password: xxxxxxxx

Auth-PW User-PW

SPA1001 - Client
Line1 >> Subscriber Information
User ID: vpnbest
Password: xxxxxxxx

Uesr1 >> Speed Dial Settings


Speed Dial 2: vpnbest@172.16.1.2:5061

SPA3000 - Client
Line1 >> Gateway Accounts
GW1 Auth ID: vpnbest
GW1 Password: xxxxxxxx

Line1 >> Dial Plan


Dial Plan: (S0:< vpnbest@172.16.1.2:5061>)
Dial Plan: (<#1:> vpnbest@172.16.1.2:5061<:@gw1>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 12

PSTN to VoIP with PIN Authentication


PSTN Line >> PSTN-To-VoIP Gateway Setup
PSTN Caller Auth Method: PIN
PSTN Caller 1 PIN: ***
PSTN Caller 1 DP: 8

PSTN Line >> Dial Plans


Dial Plan 8(<:0086>1[3-9]xxxxxxxxxS0<:@gw1>|00xx.<:@gw1>)

PSTN Line >> FXO Timer Values (sec)


PSTN Answer Delay: 35

Note:
PSTN Caller Auth Method: PIN

PIN PIN PSTN Line

PSTN Caller 1 PIN: ***

PIN#

PSTN Caller 1 DP: 8

Dial Plan 1-8

PSTN Answer Delay: 35

PSTN Delay PIN

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 13

PSTN to VoIP with CID Authentication


PSTN Line >> PSTN-To-VoIP Gateway Setup
PSTN Caller Auth Method: none
PSTN Caller Default DP: 8
PSTN Access List: 6123457,98765432

PSTN Line >> Dial Plans


Dial Plan 8(<:0086>1[3-9]xxxxxxxxxS0<:@gw1>|00xx.<:@gw1>)

PSTN Line >> FXO Timer Values (sec)


PSTN Answer Delay: 0

Note:
PSTN Caller Auth Method: none

PSTN Caller Default DP: 8

Dial Plan 1-8

PSTN Access List: 6123457,98765432 PSTN Line


PSTN Answer Delay: 0

PSTN Answer Delay

FSK ATA 0.4

133
ATA
FSK
FSK/TDMF

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 14

Call Forward
PSTN Call Forward to GSM/PSTN or VoIP
PSTN Line >> PSTN-To-VoIP Gateway Setup
PSTN Caller Auth Method: none
PSTN Caller Default DP: 8

PSTN Line >> Dial Plans


Dial Plan 8(S0<:013800138000<:@gw2>) China GSM
Dial Plan 8(1878200S0<:@gw0>) HK PSTN
Dial Plan 8(S0<:vpnbest@iptel.org>) SIP-URI

PSTN Selective Call Forward to GSM/PSTN or VoIP


PSTN User >> PSTN-To-VoIP Selective Call Forward Settings
Cfwd Sel1 Caller: PSTN income CID

Cfwd Sel1 Dest: Destination number

Note
PSTN Answer Delay

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 15

Call Transfer and Three Way Calling


Call Transfer
1. user1 user2, user2 user1
2. user2 Flash/Call Wait user3
3. user3 user2 user2 user1 user3
Note
user2 user3 user2 user2
user1 user3

Three Way Calling


1. user1 user2, user2 user1
2. user2 Flash/Call Wait user3
3. user2 Flash/Call Wait ( user3 )user3
user1uesr2 user3
Note
user2 user3 user3 Flash/Call Wait

Panasonic Flash/Call Wait

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 16

Building up your small VoIP system through VPN

IP Address

SIP Port

HongKong Head
Office

172.16.1.2

10500~10501

500,501

172.16.1.3

10502

502

172.16.1.4

10503

503

China Branch
Office

192.168.1.2

10600

600

192.168.1.3

10601

601

Macau Branch
Office

192.168.2.2

10700

700

192.168.2.3

10701

701

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 17

Network Setup
1.

local network:

2.

IPSec LAN-to-LAN VPN tunnel with AES 256-SHA1 Auth

3.

Bind IP Address and MAC Address


Create VLAN ID (All new SPA serial are support IEEE 802.1Q tag VLAN)
Enable the ATA/IP-Phone VLAN

HK, create two Dial-In IPSec Profile for China and Macau
CN, create Dial-Out IPSec Profile to HongKong, add Macau Network IP
and Netmask into the profile.
MA, create Dial-Out IPSec Profile to HongKong, add China Network IP
and Netmask into the profile.

WAN-to-LAN Firewall Policy

HK, block all source IP from WAN to VoIP IP Range Address


HK, pass China and Macau VoIP IP Range Address to LAN
CN and MA using the same way block all and pass some IP

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 18

VoIP Setup

Location

Description

SIP Port

Extension

Auth RD-PW

HongKong
Head Office

Reception

10500

500

HK-PSTN

10501

501

Manager

10502

502

irI5mUdwaDeN

Sale Dep.

10503

503

iNu9yoDpHFr6

China Branch
Office

Reception

10600

600

siB7eFOpusA6

Sale Dep.

10601

601

So2OpaiNoEx1

Macau Branch
Office

Reception

10700

700

dR7AreGiOs6P

Sale Dep.

10701

701

exI2tEgeRoC1

HongKong PSTN
PSTN Line >> SIP Settings
SIP Port: 10501

PSTN Line >> Proxy and Registration


Proxy: empty

Register: no

Make Call Without Reg: yes

Ans Call Without Reg: yes

PSTN Line >> VoIP-To-PSTN Gateway Setup


VoIP Caller Auth Method: HTTP Digest
VoIP Caller ID Pattern: 502,503,600,601,700,701

PSTN Line >> VoIP Users and Passwords (HTTP Authentication)


VoIP User 1 Auth ID: 502

VoIP User 1 DP: 1

VoIP User 1 Password: irI5mUdwaDeN

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 19

PSTN Line >> Dial Plans


Dial Plan 1(xx.S0<:@gw0>)
Dial Plan 2(999!|<:133>[2-9]xxxxxxx<:@gw0>)

PSTN Line >> FXO Timer Values (sec)


VoIP Answer Delay: 0

HongKong Reception
Line 1 >> SIP Settings
SIP Port: 10500

Line 1 >> Proxy and Registration


Proxy: empty

Register: no

Make Call Without Reg: yes

Ans Call Without Reg: yes

Line 1 >> Subscriber Information


Display Name: Reception

User ID: 500

Password: empty

Use Auth ID: no

Line1 >> Dial Plan


Dial Plan:
(999S0<:@gw0>|<#9:>xx.S0<:@gw0>|[2-9]xxxxxxxS0<:@gw0>|<#1:>xx.S0<:@gw1>|<:
0086>1[3-9]xxxxxxxxxS0<:@gw1>|S0<600:600@192.168.1.2:10600>|S0<700:700@192.16
8.2.2:10700>|*xx|xx.)

Note:
HK

CN
MA

Description

Extension

Dial Plan

Reception

500

S0<500:500@172.16.1.2:10500>

HK-PSTN

501

S0<501:501@172.16.1.2:10501>

Manager

502

S0<502:502@172.16.1.3:10502>

Sale Dep.

503

S0<503:503@172.16.1.4:10503>

Reception

600

S0<600:600@192.168.1.2:10600>

Sale Dep.

601

S0<601:601@192.168.1.3:10601>

Reception

700

S0<700:700@192.168.2.2:10700>

Sale Dep.

701

S0<701:701@192.168.2.3:10701>

Using SpeedDial
502@172.16.1.3:10502
Using Personal Directory:
n=HKManager;p=502@172.16.1.3:10502

Copyright 2011 VPNBest.com

SPA Admin Guide

Page 20

HongKong Manager
Ext 1 >> SIP Settings
SIP Port: 10502

Ext 1 >> Proxy and Registration


Proxy: empty

Register: no

Make Call Without Reg: yes

Ans Call Without Reg: yes

Ext 1 >> Subscriber Information


Display Name: HKManager

User ID: 502

Password: irI5mUdwaDeN

Use Auth ID: yes

Ext 1 >> Dial Plan


Dial Plan:
(999S0<:@172.16.1.2:10501>|xxxxxxxxS0<:@172.16.1.2:10501>|S0<500:500@172.16.1.2:
10500>|S0<503:503@172.16.1.4:10503>|S0<600:600@192.168.1.2:10600>|S0<601:601@1
92.168.1.3:10601>|S0<700:700@192.168.2.2:10700>|S0<701:701@192.168.2.3:10701>)

China Branch (Same as HKManager)


Ext 1 >> Dial Plan
Dial Plan:
(xxxxxxxxS0<:@172.16.1.2:10501>|S0<500:500@172.16.1.2:10500>|S0<502:502@172.16.
1.3:10502>|S0<503:503@172.16.1.4:10503>|S0<700:700@192.168.2.2:10700>|S0<701:70
1@192.168.2.3:10701>)

Macau Branch (Same as HKManager)


Ext 1 >> Dial Plan
Dial Plan:
(xxxxxxxxS0<:@172.16.1.2:10501>|S0<500:500@172.16.1.2:10500>|S0<502:502@172.16.
1.3:10502>|S0<503:503@172.16.1.4:10503>|S0<600:600@192.168.1.2:10600>|S0<601:60
1@192.168.1.3:10601>)

Copyright 2011 VPNBest.com

SPA Admin Guide

Attachment Reference HTML File


Adobe

Copyright 2011 VPNBest.com

Page 21

END
Thank you

Your best choice


To learn more, visit www.vpnbest.com

Copyright 2011 VPNBest.com

Vous aimerez peut-être aussi