Sipura SPA 3000 Compatible Manual
Sipura SPA 3000 Compatible Manual
Sipura SPA 3000 Compatible Manual
GUIDE
This guide describes the administration and use of Cisco Small Business analog
telephone adapters (ATAs). These ATA devices are a key element in the end-to-
end IP Telephony solution. An ATA device provides user access to Internet phone
services through one or more standard telephone RJ-11 phone ports using
standard analog telephone equipment. The ATA device connects to a wide area IP
network, such as the Internet, through a broadband (DSL or cable) modem or
router. The ATA can be used with an onsite call-control system such as the
SPA9000 Voice System or legacy PBX, or with an Internet-based call-control
system.
Voice
Layer 3 gateway
187254
SIP proxy
Optional On-Site
Call Control
(SPA9000 or Legacy PBX) Voice
Layer 3 gateway
194487
SIP proxy
This chapter introduces the functionality of the ATA devices and describes the
features that are available.
The ATA Models table summarizes the ports and features provided by the ATA
devices described in this document.
NOTE Additional ATA models, Cisco SPA112, SPA122, and SPA232D are covered in
separate Quick Start Guides and administration guides. For links to all ATA
documentation, see www.cisco.com/go/smallbizvoicegateways.
NOTE The information contained in this guide is not a warranty from Cisco. Customers
planning to use ATA devices in a VoIP service deployment are advised to test all
functionality they plan to support before putting the ATA device in service. By
implementing ATA devices with the SIP protocol, intelligent endpoints at the edges
of a network perform the bulk of the call processing. This allows the deployment of
a large network with thousands of subscribers without complicated, expensive
servers.
Ethernet/Wireless
LAN
SPA2102
WRP400, RTP300,
WRTP54G, and
Fax (up to 4 SPA2102
SPA8000)
PSTN
DSL/cable
Broadband modem WAG54GP2,
router SPA3102
AG310
Internet
SPA8000,
PAP2T Broadband
Analog phone router
(up to 8 with
SPA8000)
SPA3102 Ethernet/Wireless
LAN
Ethernet/Wired
LAN
PSTN 187255
• The PAP2T and the SPA8000 provide FXS ports to connect fax machines and
analog phones to IP telephone services.
NOTE For information about the WRP400, see the WRP400 Administration Guide.
In order to ensure connectivity between the devices connected to its FXS ports,
the ATA device requires the following functionality to be supplied on the network
connected to its Ethernet port:
When a phone connected to the ATA device communicates with another phone, it
sends a SIP packet onto the internal LAN. The packet is then forwarded to the
external LAN or directly to the Internet. The source address and source port on the
original packet are assigned by the ATA device DHCP server. The address and
port are translated by the ATA device using Network Address Translation (NAT)
and Port Address Translation (PAT). The packet is then routed back to the internal
network on the ATA device by the local router or the ISP router.
Problems can occur with calls between phones connected to the ATA device
when an outbound proxy or a router with hairpinning support is not available. The
ATA device cannot directly connect the two telephone devices, but requires a
local or remote router to route the packet back to its destination on the local
network from which it originated.
Administrative
IVR (Line 1 or IP Router (with
Line 2) hairpinning) or
Ethernet Broadband modem
Line 1 port
ISP Internet
Line 2
LAN WAN
IP
187420
ITSP
PAP2T
NOTE
• For proper operation, the service provider should use an Outbound Proxy to
forward all voice traffic when the PAP2T is located behind a router. If
necessary, explicit port ranges can be specified for SIP and RTP.
Administrative
IVR (Line 1 or IP Router (with
Line 2) hairpinning) or
Ethernet Broadband modem
Line 1 port
ISP Internet
Line 2
LAN WAN
IP
LAN
ITSP
port
187257
SPA2102 Administration
PC
By default, the device attached to the LAN port is assigned the network address
192.168.0.0 with a subnet mask of 255.255.255.0. If there is a network address
conflict with a device on the Ethernet port, the network address of the device on
the LAN port is automatically changed to 192.168.1.0.
NOTE
• For proper operation, the service provider should use an Outbound Proxy to
forward all voice traffic when the SPA2102 is located behind a router. If
necessary, explicit port ranges can be specified for SIP and RTP.
Administrative
IVR (Line 1 or IP Router (with
Line 2) hairpinning) or
Ethernet Broadband modem
Line 1 port
ISP Internet
PSTN
PSTN Line 1 LAN WAN
IP
LAN
ITSP
port
187259
SPA3102 Administration
PC
By default, the device on the LAN port is assigned the network address
192.168.0.0 with a subnet mask of 255.255.255.0. If there is a network address
conflict with a device on the Ethernet port, the network address of the device on
the LAN port is automatically changed to 192.168.1.0.
NOTE
• For proper operation, the service provider should use an Outbound Proxy to
forward all voice traffic when the SPA3102 is located behind a router. If
necessary, explicit port ranges can be specified for SIP and RTP.
Line 3
Line 4 Administration
PC
Line 5
Line 6
Line 7
187256
Line 8
By default, the device on the AUX port is assigned the network address
192.168.0.0 with a subnet mask of 255.255.255.0. If there is a network address
conflict with a device on the Ethernet port, the network address of the device on
the AUX port is automatically changed to 192.168.1.0.
In the illustration, one fax machine is connected to each pair of ports to illustrate
that only one T.38 connection is supported by each of the four pairs of RJ-11 ports.
Up to four fax machines can be connected to the SPA8000 router, but they must be
distributed as shown.
NOTE
• For proper operation, the service provider should use an Outbound Proxy to
forward all voice traffic when the SPA8000 is located behind a router. If
necessary, explicit port ranges can be specified for SIP and RTP.
• The SPA8000 also can be configured with trunk groups and trunk lines. See
“SIP Trunking and Hunt Groups on the SPA8000,” on page 70.
Line 3
Line 4 Administration
PC
Line 5
Line 6
Line 7
187256
Line 8
By default, the device on the LAN port is assigned the network address
192.168.0.0 with a subnet mask of 255.255.255.0. If there is a network address
conflict with a device on the Ethernet port, the network address of the device on
the LAN port is automatically changed to 192.168.1.0.
NOTE
• For proper operation, the service provider should use an Outbound Proxy to
forward all voice traffic when the SPA8800 is located behind a router. If
necessary, explicit port ranges can be specified for SIP and RTP.
The following sections describe the factors that contribute to voice quality:
You can configure your preferred codec in Configuration Utility. See “SDP
Payload Types section,” on page 129 and “Audio Configuration section,” on
page 169. See also “Supported Codecs,” on page 49 for a list of which codecs
are supported on each ATA device.
G.711 (A-law and mμ-law) This very low complexity codec supports
uncompressed 64 kbps digitized voice transmission at
one through ten 5 ms voice frames per packet. This
codec provides the highest voice quality and uses the
most bandwidth of any of the available codecs.
G.723.1 The ATA device supports the use of ITU G.723.1 audio
codec at 6.4 kbps. Up to two channels of G.723.1 can be
used simultaneously. For example, Line 1 and Line 2 can
be using G.723.1 simultaneously, or Line 1 or Line 2 can
initiate a three-way conference with both call legs using
G.723.1.
NOTE When no static payload value is assigned per RFC 1890, the ATA device can
support dynamic payloads for G.726.
If the ATA device is currently using a lower priority proxy server, it periodically
probes the higher priority proxy to see whether it is back on line, and switches
back to the higher priority proxy when possible. SIP Proxy Redundancy is
configured in the Line and PSTN Line tabs in the Administration Web Server. See
“ATA Routing Field Reference,” on page 100.
Feature Description
Adaptive Jitter The ATA device can buffer incoming voice packets to
Buffer minimize out-of-order packet arrival. This process is
known as jitter buffering. The jitter buffer size proactively
adjusts or adapts in size, depending on changing network
conditions.
The ATA device has a Network Jitter Level control setting
for each line of service. The jitter level determines how
aggressively the ATA device tries to shrink the jitter buffer
over time to achieve a lower overall delay. If the jitter level
is higher, it shrinks more gradually. If jitter level is lower, it
shrinks more quickly.
Adaptive Jitter Buffer is configured in the Line and PSTN
Line tabs. See “ATA Voice Field Reference,” on
page 110.
Adjustable Audio This feature allows the user to set the number of audio
Frames Per Packet frames contained in one RTP packet. Packets can be
adjusted to contain from 1–10 audio frames. Increasing the
number of packets decreases the bandwidth utilized, but
it also increases delay and may affect voice quality. See
the RTP Packet Size parameter found in the SIP tab in the
“ATA Voice Field Reference,” on page 110.
Call Progress Tone The ATA device has configurable call progress tones. Call
Generation progress tones are generated locally on the ATA device so
an end user is advised of status (such as ringback).
Parameters for each type of tone (for instance a dial tone
played back to an end user) may include frequency and
amplitude of each component, and cadence information.
See the Regional tab in the “ATA Voice Field Reference,”
on page 110.
Call Progress Tone This feature allows the user to hear the call progress tones
Pass Through (such as ringing) that are generated from the far-end
network. See the Regional tab in the “ATA Voice Field
Reference,” on page 110.
Signaling Hook The ATA device can signal hook flash events to the remote
Flash Event party on a connected call. This feature can be used to
provide advanced mid-call services with third-party-call-
control. Depending on the features that the service
provider offers using third-party-call-control, the following
ATA features may be disabled to correctly signal a hook-
flash event to the softswitch:
• Call Waiting Service (parameter call waiting serv set in the
Line tab)
Configurable Dial The ATA device has three configurable interdigit timers:
Plan with Interdigit
Timers Initial timeout (T)—Signals that the handset is off the hook
and that no digit has been pressed yet.
Polarity Control The ATA device allows the polarity to be set when a call is
connected and when a call is disconnected. This feature is
required to support some pay phone system and
answering machines. Polarity Control is configured in the
Line and PSTN Line tabs. See “ATA Voice Field
Reference,” on page 110.
Calling Party Calling Party Control (CPC) signals to the called party
Control equipment that the calling party has hung up during a
connected call by removing the voltage between the tip
and ring momentarily. This feature is useful for auto-
answer equipment, which then knows when to disengage.
CPC is configured in the Regional, Line, and PSTN Line
tabs. See “ATA Voice Field Reference,” on page 110.
Report Generation The ATA device reports a variety of status and error
and Event Logging reports to assist service providers to diagnose problems
and evaluate the performance of their services. The
information can be queried by an authorized agent, using
HTTP with digested authentication, for instance. The
information may be organized as an XML page or HTML
page. Report Generation and Event Logging are
configured in the System, Line, and PSTN Line tabs. See
“ATA Voice Field Reference,” on page 110.
Syslog and Debug Syslog and Debug Sever Records log more details than
Server Records Report Generation and Event Logging. Using the
configuration parameters, the ATA device allows you to
select which type of activity/events should be logged.
Syslog and Debug Server allow the information captured
to be sent to a Syslog Server. Syslog and Debug Server
Records are configured in the System, Line, and PSTN
Line tabs. See “ATA Voice Field Reference,” on
page 110.
SIP Over TLS SPA2102, SPA3102, and SPA8800 devices allow the use
of SIP over Transport Layer Security (TLS). SIP over TLS is
designed to eliminate the possibility of malicious activity
by encrypting the SIP messages of the service provider
and the end user. SIP over TLS relies on the widely-
deployed and standardized TLS protocol. SIP Over TLS
encrypts only the signaling messages and not the media.
A separate secure protocol such as Secure Real-Time
Transport Protocol (SRTP) can be used to encrypt voice
packets. SIP over TLS is configured in the SIP Transport
parameter configured in the Line tab(s). See “ATA Voice
Field Reference,” on page 110.
This chapter describes the equipment and services that are required to install
your ATA device and explains how to complete the basic administration and
configuration tasks.
• Internet Telephony Service Provider (ITSP) for Voice Over IP Telephone service
• Analog phones
Downloading Firmware
Always download and install the latest firmware for your ATA device before doing
any configurations. You can find the latest firmware by going to:
http://www.cisco.com/en/US/products/ps10024/
tsd_products_support_series_home.html
NOTE If the administration computer is connected to the Ethernet port of the ATA
device, the default IP address is 192.168.0.1.
a. Extract the Zip file, and then run the executable file to upgrade the firmware.
c. In the next window that appears, enter the IP address of the ATA device, and
then click OK.
d. In the Confirm Upgrade window, verify that the correct device information and
product number appear. Then click Upgrade.
g. To verify the upgrade, point the web browser to the IP address of the ATA
device. Check the Router > Status page. The Software Version field should
show the firmware version that you installed.
NOTE You may need to refresh your browser to display the updated page
reflecting the new version number.
NOTE By default, there are no passwords assigned for either the Administrator account or
the User account.
The Administrator account can modify all the web profile parameters and the
passwords of both Administrator and User account. The User account can access
only part of the web profile parameters. The parameters that the User account can
access are specified using the Administrator account on the Provisioning page of
the administration web server.
To directly access the Administrator account level privilege, use the following URL:
http://<ipaddress>/admin/voice
If the password has been set for the Administrator account, the browser prompts
for authentication. The User account name and the Administrator account name
cannot be changed.
When browsing pages with the Administrator account privilege, you can switch to
User account privilege by clicking the User Login link.
If the User account password is set, the browser prompts for authentication when
you click the User Login link. From the User account, you can switch to the
Administrator account by clicking the Admin Login link. Authentication is required
if the Administrator account password has been set.
NOTE Switching between User and Administrator accounts or between basic and
advanced views discards any uncommitted changes on the web pages.
STEP 1 Start Internet Explorer on a computer that is connected to the same network as the
ATA device.
a. Connect an analog telephone to the Phone 1 port of the ATA device. (You may
not hear a dial tone. Continue to step b.)
NOTE For more information on the IVR menu, see your Quick Installation Guide or
User Guide for your device, or the LVS Administration Guide.
STEP 4 The Router > Status page appears. By default, the page is in Basic User mode. Log
on to the administrator view by clicking Admin Login, near the top right corner of
the page. Then click Advanced.
STEP 1 Start Internet Explorer, connect to the administration web server, and choose
Admin access with Advanced settings.
For DHCP:
b. If you use a cable modem, you may need to configure the MAC Clone Settings.
(Contact your ISP for more information.)
c. If your service uses a specific PC MAC address, then select yes from the
Enable MAC Clone Service setting.
d. Then enter the PC’s MAC address in the Cloned MAC Address field.
b. In the Static IP Settings section, enter the IP address in the Static IP field, the
subnet mask in the NetMask field, and the default gateway IP address in the
Gateway field.
c. In the Optional Settings section, enter the DNS server address(es) in the
Primary DNS and optional Secondary DNS fields.
For PPPoE:
a. Select PPPoE from the Connection Type drop-down menu. This is the correct
setting for most DSL users.
STEP 5 To verify your progress, click the Router tab and then click Status. Under System
Status, confirm the WAN Connection Type, Current IP, Current Netmask , Current
Gateway, and Primary DNS.
STEP 1 Start Internet Explorer, connect to the administration web server, and choose
Admin access with Advanced settings.
STEP 2 Click Voice tab > Line N, where N is the line number that you want to configure.
STEP 3 Enter the account information for your ITSP. The following is the minimum required
configuration to connect the ATA device to an ITSP:
• User ID: The account number or logon name for your ITSP account (Subscriber
Information section)
• Proxy: The proxy server for your ITSP account (Proxy and Registration section)
STEP 4 After making any necessary changes, click the Submit All Changes button.
• After the devices reboot, click Voice tab > Info. Scroll down to the Line 1
Status section of the page. Verify that the line is registered.
• Use an external phone to place an inbound call to the telephone number that
was assigned by your ITSP. Assuming that you have left the default settings in
place, the phone should ring and you can pick up the phone to get two-way
audio.
• If the line is not registered, you may need to refresh the browser several times
because it can take a few seconds for the registration to succeed. Also verify
that your DNS is configured properly.
NOTE If the device has more than one Line tab, each line tab must be configured
separately. Each line tab can be configured for a different ITSP.
• Streaming Audio Server—You can enable an external music source for music
on hold. See the “Configuring the Streaming Audio Server,” on page 85 for
further information.
• NAT Settings—You can adjust these settings to resolve issues that arise when
using a ATA on a network behind a Network Address Translation (NAT) device.
See the “Network Address Translation (NAT) and Voice over IP (VoIP),” on
page 42 for further information.
• Dial Plan—You can configure a dial plan for a specific line. See the
“Configuring Dial Plans,” on page 56 for further information.
Upgrade URL
The Upgrade URL lets you upgrade the ATA device to the firmware specified by
the URL, which can identify either a TFTP or HTTP server.
NOTE If the value of the Upgrade Enable parameter in the Provisioning page is No, you
cannot upgrade the ATA device even if the web page indicates otherwise.
Both HTTP and TFTP are supported for the upgrade operation.
If no port specified, the default port of the protocol is used. (69 for TFTP or 80 for
HTTP)
Resync URL
The Resync URL lets you force the ATA device to do a resync to a profile specified
in the URL, which can identify either a TFTP, HTTP, or HTTPS server. The syntax of
the Resync URL is as follows:
http://spa-ip-addr/admin/resync?[[protocol://][server-name[:port]]/profile-
pathname]
If no parameter follows /resync?, the Profile Rule setting from the Provisioning
page is used.
If no port is specified, the default port is used (69 for TFTP, 80 for HTTP, and 443
for HTTPS).
The profile-path is the path to the new profile with which to resync, for example:
http://192.168.2.217admin/resync?tftp://192.168.2.251/spaconf.cfg
Reboot URL
The Reboot URL lets you reboot the ATA device. The Reboot URL is as follows:
http://spa-ip-addr/admin/reboot
For detailed information about provisioning your ATA device, refer to the SPA
Provisioning Guide.
Provisioning Capabilities
The ATA device provides for secure provisioning and remote upgrade.
Provisioning is achieved through configuration profiles transferred to the device
via TFTP, HTTP, or HTTPS. To configure Provisioning, go to Provisioning tab in the
administration web server.
The ATA device supports up to 256-bit symmetric key encryption of profiles. For
the initial transfer of the profile encryption key (initial provisioning stage), the ATA
device can receive a profile from an encrypted channel (HTTPS), or it can resync
to a binary profile generated by the Cisco-supplied profile compiler. In the latter
case, the profile compiler can encrypt the profile specifically for the target ATA
device, without requiring an explicit key exchange.
For further information about remote provisioning refer to the SPA Provisioning
Guide.
The XML file consists of a series of elements (one per configuration parameter),
encapsulated within the element tags <flat-profile> … </flat-profile>. The
encapsulated elements specify values for individual parameters. Here is an
example of a valid XML profile:
<flat-profile>
<Admin_Passwd>some secret</Admin_Passwd>
<Upgrade_Enable>Yes</Upgrade_Enable>
</flat-profile>
Binary format profiles contain ATA parameter values and user access permissions
for the parameters. By convention, the profile uses the extension .cfg (for example,
spa2102.cfg). The Profile Compiler (SPC) tool compiles a plain-text file containing
parameter-value pairs into a properly formatted and encrypted .cfg file. The SPC
tool is available for the Win32 environment and Linux-i386-elf environment.
Requests for SPC tools compiled on other platforms are evaluated on a case-by-
case basis. Please contact your sales representative for further information about
obtaining the SPC tool.
The syntax of the plain-text file accepted by the profile compiler is a series of
parameter-value pairs, with the value in double quotes. Each parameter-value pair
is followed by a semicolon. Here is an example of a valid text source profile for
input to the SPC tool:
Admin_Passwd “some secret”;
Upgrade_Enable “Yes”;
The names of parameters in XML profiles can generally be inferred from the ATA
configuration Web pages, by substituting underscores (_) for spaces and other
control characters. Further, to distinguish between Lines 1, 2, 3, and 4,
corresponding parameter names are augmented by the strings _1_, _2_, _3_, and
_4_. For example, Line 1 Proxy is named Proxy_1_ in XML profiles.
Parameters in the case of source text files for the SPC tool are similarly named,
except that to differentiate Line 1, 2, 3, and 4, the appended strings ([1], [2], [3], or
[4]) are used. For example, the Line 1 Proxy is named Proxy[1] in source text
profiles for input to the SPC.
This chapter provides configuration details to help you to ensure that your
infrastructure properly supports voice services.
Some ITSPs provide NAT traversal, but some do not. If your ITSP does not provide
NAT traversal, you have several options.
Requirements:
• The NAT mechanism used in the router must be symmetric. See “Determining
the Router’s NAT Mechanism,” on page 47.
• The LAN switch must be configured to enable Spanning Tree Protocol and Port
Fast on the ports to which the SPA devices are connected.
NOTE Use NAT mapping only if the ITSP network does not provide a Session Border
Controller functionality.
STEP 1 Connect to the administration web server, and choose Admin access with
Advanced settings.
• Handle VIA received, Insert VIA received, Substitute VIA Addr: yes
• Handle VIA rport, Insert VIA rport, Send Resp To Src Port: yes
STEP 4 Click Voice tab > Line N, where N represents the line interface number.
NOTE You also need to configure the firewall settings on your router to allow SIP
traffic. See “Firewalls and SIP,” on page 48.
Requirements:
• STUN is a viable option only if your router uses asymmetric NAT. See
“Determining the Router’s NAT Mechanism,” on page 47.
• The LAN switch must be configured to enable Spanning Tree Protocol and Port
Fast on the ports to which the SPA devices are connected.
NOTE Use NAT mapping only if the ITSP network does not provide a Session Border
Controller functionality.
STEP 1 Connect to the administration web server, and choose Admin access with
Advanced settings.
STEP 3 Scroll down to the NAT Support Parameters section, and then enter the following
settings to enable and support the STUN server settings:
STEP 4 Click Voice tab > Line N, where N is the number of the line interface.
NOTE Your ITSP may require the SPA device to send NAT keep alive messages to
keep the NAT ports open permanently. Check with your ITSP to determine
the requirements.
NOTE You also need to configure the firewall settings on your router to allow SIP
traffic. See “Firewalls and SIP,” on page 48.
NOTE This procedure assumes that a syslog server is configured and is ready to receive
syslog messages.
STEP 1 Make sure you do not have firewall running on your PC that could block the syslog
port (port 514 by default).
STEP 2 Connect to the administration web server, and choose Admin access with
Advanced settings.
b. In the Debug Server field, enter the IP address of your syslog server. This
address and port number must be reachable from the SPA9000.
STEP 4 To collect information about the type of NAT your router is using, complete the
following tasks:
a. Click Voice tab > Line N, where N represents the line interface number.
b. In the SIP Settings section, choose full from the SIP Debug Option field.
STEP 7 View the syslog messages to determine whether your network uses symmetric
NAT. Look for a warning header in the REGISTER messages, such as Warning: 399
spa "Full Cone NAT Detected.”
• SIP ports—UDP port 5060 through 5063, which are used for the ITSP line
interfaces
• Also disable SPI (Stateful Packet Inspection) if this function exists on your
firewall.
To view the default settings or to make changes, open the Voice > SIP page, and
scroll down to the SIP Timer Values section. For field descriptions, see ”SIP
Timer Values (sec) section,” on page 124 of Appendix B.
This chapter describes how to configure your ATA device to meet the customer’s
requirements for voice services.
Supported Codecs
The following list shows the current supported codecs for each ATA device. If you
need to change the G711u codec which is configured by default, set your
preferred codecs in the FXS Line tab(s); Audio Configuration. You may set your
first, second, and third preferred codec. See “ATA Routing Field Reference,” on
page 100.
• G.711a
• G.726-16
• G.726-24
• G.726-32
• G.729a
• G.723
STEP 2 Ensure that you have enough bandwidth for uplink and downlink.
STEP 3 To optimize G.711 fallback fax completion rates, set the following on the Line tab
of your ATA device:
• Call Waiting: no
• 3 Way Calling: no
• Echo Canceller: no
• Silence suppression: no
STEP 4 If you are using a Cisco media gateway for PSTN termination, disable T.38 (fax
relay) and enable fax using modem passthrough.
STEP 5 Enable T.38 fax on the SPA 2102 by configuring the following parameter on the
Line tab for the FXS port to which the FAX machine is connected:
FAX_Passthru_Method: ReINVITE
NOTE If a T.38 call cannot be set-up, then the call should automatically revert to
G.711 fallback.
STEP 6 If you are using a Cisco media gateway use the following settings:
Make sure the Cisco gateway is correctly configured for T.38 with the SPA dial
peer. For example:
fax protocol T38
fax rate voice
fax-relay ecm disable
fax nsf 000000
no vad
Fax Troubleshooting
If have problems sending or receiving faxes, complete the following steps:
STEP 1 Verify that your fax machine is set to a speed between 7200 and 14400.
• Jitter
• Loss
• Delay
STEP 6 Enable and capture the debug log. For instructions, refer to Appendix C,
“Troubleshooting.”.
STEP 7 Identify the type of fax machine connected to the ATA device.
• If you are an end user of VoIP products, contact the reseller or Internet
telephony service provider (ITSP) that supplied the equipment.
Caller ID Regional The ATA device supports bell 202 and v.23
FSK standards for caller ID generation. Select the FSK
Standard standard you want to use, bell 202 or v.23.
OSI FSK
Silence suppression is configured in the Line and PSTN Line tabs. See “ATA
Routing Field Reference,” on page 100.
This section includes information that you need to understand dial plans, as well as
procedures for configuring your own dial plans. This section includes the following
topics:
Digit Sequences
A dial plan contains a series of digit sequences, separated by the | character. The
entire collection of sequences is enclosed within parentheses. Each digit
sequence within the dial plan consists of a series of elements, which are
individually matched to the keys that the user presses.
EXAMPLE 2: <:1>xxxxxxxxxx
EXAMPLE: 9, 1xxxxxxxxxx
EXAMPLE: 1900xxxxxxx!
The system rejects any 11-digit sequence that
begins with 1900.
EXAMPLE: P5
NOTE The SPA implicitly appends the vertical code sequences entered in the regional
parameter settings to the end of the dial plan. Likewise, if Enable_IP_Dialing is
enabled, then IP dialing is also accepted on the associated line.
In a complete dial plan entry, sequences are separated by a pipe character (|), and
the entire set of sequences is enclosed within parentheses.
[1-8]xx Allows a user dial any three-digit number that starts with the digits 1
through 8. If your system uses four-digit extensions, you would instead enter
the following string: [1-8]xxx
9, xxxxxxx After a user presses 9, an external dial tone sounds. The user can
enter any seven-digit number, as in a local call.
• Local dialing with 3-digit area code and a 7-digit local number
9, 1 [2-9] xxxxxxxxx After the user presses 9, an external dial tone sounds. The
user can enter any 11-digit number that starts with 1 and is followed by a digit
2 through 9.
• Blocked number
9, 1 900 xxxxxxx ! This digit sequence is useful if you want to prevent users from
dialing numbers that are associated with high tolls or inappropriate content,
such as 1-900 numbers in the U.S.. After the user press 9, an external dial tone
sounds. If the user enters an 11-digit number that starts with the digits 1900,
the call is rejected.
9, 011xxxxxx. After the user presses 9, an external dial tone sounds. The user can
enter any number that starts with 011, as in an international call from the U.S.
• Informational numbers
0 | [49]11 This example includes two digit sequences, separated by the pipe
character. The first sequence allows a user to dial 0 for an operator. The second
sequence allows the user to enter 411 for local information or 911 for
emergency services.
The dialed digits exactly match • If the sequence is allowed by the dial plan, the
one sequence in the dial plan. number is accepted and is transmitted
according to the dial plan.
The user presses the # key or • If the sequence is complete and is allowed by
the dial softkey on the phone the dial plan, the number is accepted and is
display. transmitted according to the dial plan.
• n: (optional): The number to transmit automatically when the timer expires; you
can enter an extension number or a DID number. No wildcard characters are
allowed because the number will be transmitted as shown. If you omit the
number substitution, <:n>, then the user hears a reorder (fast busy) tone after
the specified number of seconds.
P9 After taking a phone off hook, a user has 9 seconds to begin dialing. If no
digits are pressed within 9 seconds, the user hears a reorder (fast busy) tone.
By setting a longer timer, you allow more time for users to enter the digits.
P9<:23> After taking the phone off hook, a user has 9 seconds to begin dialing. If
no digits are pressed within 9 seconds, the call is transmitted automatically to
extension 23.
EXAMPLE: ( P0 <:1000>)
With the timer set to 0 seconds, the call is transmitted automatically to the
specified extension when the phone goes off hook. Enter this sequence in the
Phone Dial Plan for Ext 2 or higher on a client station.
NOTE This section explains how to edit a timer as part of a dial plan. Alternatively, you can
modify the Control Timer that controls the default interdigit timers for all calls. See
“Resetting the Control Timers,” on page 65.
• s: The number of seconds; if no number is entered after L:, the default timer of
5 seconds applies.
• Note that the timer sequence appears to the left of the initial parenthesis for the
dial plan.
L:15, This dial plan allows the user to pause for up to 15 seconds between digits
before the Interdigit Long Timer expires. This setting is especially helpful to users
such as sales people, who are reading the numbers from business cards and other
printed materials while dialing.
Use this syntax to apply the new setting to the entire dial plan within the
parentheses.
• SYNTAX 2: sequence Ss
Use this syntax to apply the new setting to a particular dialing sequence.
S:6, While entering a number with the phone off hook, a user can pause for up
to 15 seconds between digits before the Interdigit Short Timer expires. This
setting is especially helpful to users such as sales people, who are reading the
numbers from business cards and other printed materials while dialing.
• Set an instant timer for a particular sequence within the dial plan.
STEP 1 Start Internet Explorer, and then enter the IP address of the SPA9000. Click Admin
Login and then click Advanced.
STEP 1 Connect to the administration web server, and choose Admin access with
Advanced settings.
STEP 2 Click Voice tab > Line N, where N represents the line interface number.
STEP 4 Enter the digit sequences in the Dial Plan field. For more information, see “About
Dial Plans,” on page 56.
NOTE If you need to edit a timer setting only for a particular digit sequence or type of call,
you can edit the dial plan. See “About Dial Plans,” on page 56.
STEP 1 Connect to the administration web server, and choose Admin access with
Advanced settings.
STEP 4 Enter the desired values in the Interdigit Long Timer field and the Interdigit Short
Timer field. Refer to the definitions at the beginning of this section.
NOTE This is an advanced topic meant for experience installers. See also the LVS
Provisioning Guide.
In the second stage, the two parties exchange information to determine if the
current call can switch over to the secure mode. The information is transported by
base64 encoding embedded in the message body of SIP INFO requests, and
responses using a proprietary format. If the second stage is successful, the ATA
device plays a special Secure Call Indication Tone for a short time to indicate to
both parties that the call is secured and that RTP traffic in both directions is being
encrypted.
If the user has a phone that supports call waiting caller ID (CIDCW) and that
service is enabled, the CID will be updated with the information extracted from the
Mini-Certificate received from the remote party. The Name field of the CID will be
prepended with a ‘$’ symbol. Both parties can verify the name and number to
ensure the identity of the remote party.
The signing agent is implicit and must be the same for all ATAs that communicate
securely with each other. The public key of the signing agent is pre-configured into
the ATA device by the administrator and is used by the ATA device to verify the
Mini-Certificate of its peer. The Mini-Certificate is valid if it has not expired, and it
has a valid signature.
The ATA device will not switch to secure mode if the CID of the called party from
its Mini-Certificate does not agree with the user-id used in making the outbound
call. The ATA device performs this check after receiving the Mini-Certificate of the
called party
STEP 1 The caller sends a “Caller Hello” message (base64 encoded and embedded in the
message body of a SIP INFO request) to the called party with the following
information:
• Message ID (4B)
• Mini-Certificate (252B)
Upon receiving the Caller Hello, the called party responds with a Callee Hello
message (base64 encoded and embedded in the message body of a SIP
response to the caller’s INFO request) with similar information, if the Caller Hello
message is valid. The caller then examines the Callee Hello and proceeds to the
next step if the message is valid.
STEP 2 The caller sends the “Caller Final” message to the called party with the following
information:
• Message ID (4B)
The MC has a 512-bit public key used for establishing secure calls. The
administrator must provision each subscriber of the secure call service with an
MC and the corresponding 512-bit private key. The MC is signed with a 1024-bit
private key of the service provider, which acts as the CA of the MC. The 1024-bit
public key of the CA signing the MC must also be provisioned for each subscriber.
The CA public key is used to verify the MC received from the other end. If the MC
is invalid, the call will not switch to secure mode. The MC and the 1024-bit CA
public key are concatenated and base64 encoded into the single parameter Mini
Certificate. The 512-bit private key is base64 encoded into the SRTP Private Key
parameter, which should be kept secret, like a password. (Mini Certificate and
SRTP Private Key are configured in the Line tabs.)
Because the secure call establishment relies on exchange of information
embedded in message bodies of SIP INFO requests/responses, the service
provider must ensure that the network infrastructure allows the SIP INFO
messages to pass through with the message body unmodified.
• ca-key is a text file with the base64 encoded 1024-bit CA private/public key
pairs for signing/verifying the MC, such as the following:
9CC9aYU1X5lJuU+EBZmi3AmcqE9U1LxEOGwopaGyGOh3VyhKgi6JaVtQZt87PiJINKW8XQj3B9Qq
e3VgYxWCQNa335YCnDsenASeBxuMIEaBCYd1l1fVEodJZOGwXwfAde0MhcbD0kj7LVlzcsTyk2TZ
YTccnZ75TuTjj13qvYs=5nEtOrkCa84/mEwl3D9tSvVLyliwQ+u/
Hd+C8u5SNk7hsAUZaA9TqH8Iw0J/
IqSrsf6scsmundY5j7Z5mK5J9uBxSB8t8vamFGD0pF4zhNtbrVvIXKI9kmp4vph1C5jzO9gDfs3M
F+zjyYrVUFdM+pXtDBxmM+fGUfrpAuXb7/k=
• user-name is the name of the subscriber, such as “Joe Smith”. Maximum length
is 32 characters
• user-id is the User ID of the subscriber, which must match exactly the user-id
used in the INVITE when making the call, such as “14083331234”. The
maximum length is 16 characters.
The tool generates the Mini Certificate and SRTP Private Key parameters that can
be provisioned.
EXAMPLE:
gen_mc ca_key “Joe Smith” 14085551234 “00:00:00 1/1/34”
This example produces the following Mini Certificate and SRTP Private Key:
<Mini Certificate>
Sm9lIFNtaXRoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxNDA4NTU1MTIzNAAAAAAAMDAwMDAwMDEw
MTM00OvJakde2vVMF3Rw4pPXL7lAgIagMpbLSAG2+++YlSqt198Cp9rP/
xMGFfoPmDKGx6JFtkQ5sxLcuwgxpxpxkeXvpZKlYlpsb28L4Rhg5qZA+Gqj1hDFCmG6dffZ9SJhx
ES767G0JIS+N8lQBLr0AuemotknSjjjOy8c+1lTCd2t44Mh0vmwNg4fDck2YdmTMBR516xJt4/
uQ/
LJQlni2kwqlm7scDvll5k232EvvvVtCK0AYa4eWd6fQOpiESCO9CC9aYU1X5lJuU+EBZmi3AmcqE
9U1LxEOGwopaGyGOh3VyhKgi6JaVtQZt87PiJINKW8XQj3B9Qqe3VgYxWCQNa335YCnDsenASeBx
uMIEaBCYd1l1fVEodJZOGwXwfAde0MhcbD0kj7LVlzcsTyk2TZYTccnZ75TuTjj13qvYs=
<SRTP Private Key>
b/DWc96X4YQraCnYzl5en1CIUhVQQqrvcr6Qd/8R52IEvJjOw/
e+Klm4XiiFEPaKmU8UbooxKG36SEdKusp0AQ==
You can configure up to four trunk groups for the purpose of inbound call routing
and outbound caller identification. You can configure a trunk number on the
SPA8000, such that an incoming call automatically rings the grouped lines
simultaneously or in a specified order. For outbound calls, SIP Trunking ensures
that all calls on a trunk line can be identified by the trunk number and a common
caller ID. This feature helps you to ensure that calls are directed to available lines
and that work groups such as sales teams can work together to answer calls. In
addition, teams can project a common identity when placing outbound calls on a
trunk.
This section provides information about SIP trunking and explains how to
configure your trunk groups.
Fax
PBX System
Fax
SPA8000
Integrated Internet ITSP
Access Device
194488
PBX System
The SPA8000 offers four trunk groups, numbered T1, T2, T3, and T4. A SIP-based
voice service with an ITSP can be configured on each trunk group with a distinct
phone number. Each of the eight SPA8000 lines can be configured either as a
standalone line, as in a classic ATA FXS port, or as a trunk line that is associated
with a trunk group.
• Inbound calling: A trunk group offers a single number for callers to call into the
small business, with the capability to programmatically ring one or more trunk
lines.
• Outbound calling: When a PBX phone makes a call, the PBX selects one of the
available trunk lines. The trunk line assumes the Caller ID of the trunk group.
Phone 1
L1
Phone 2
L2
Phone 3
L3
Phone 4
L4
Phone 5
L5
Phone 6
L6
ITSP
Phone 7
L7
Phone 8 L8
T1
Internal T2
Proxy
Server T3
RTP Path
SIP Path T4
• SIP Path: As a standalone line, the SIP User Agent (SIP UA) exchanges signaling
directly with the ITSP equipment. As a trunk line, the Line UA exchanges
signaling with the internal proxy server only. The Internal Proxy Server handles
all SIP signalling between both ends of the call, from call establishment to
termination.
• RTP Path: Whether the line is standalone or a member of a trunk group, the Line
UA exchanges RTP packets directly with the ITSP equipment.
NOTE Although the figure shows only one ITSP account, each standalone line and each
Trunk Group can be configured with a different ITSP (with some limitations applied).
• Inbound calls: When the limit is reached, the Trunk UA replies 486 to the
caller.
• Outbound calls: When the limit is reached, the Line UA plays a fast busy
tone to the caller. Note that a trunk line can make an outgoing call only
through its own trunk. If that trunk reaches full capacity, it will not attempt to
failover to use other trunks.
You can configure this setting in the Voice tab > Trunk (T1 ... T4) page, Subscriber
Information section, Call Capacity field. For more information, see “Configuring a
Trunk Group,” on page 77.
STEP 1 When an incoming call is detected by the Trunk UA, the UA first checks if there is
capacity to handle the call. If there is insufficient capacity, the UA rejects the call
with a 486 response.
STEP 2 If there is spare call capacity, the UA consults the Contact List to determine which
line or lines to ring (that is, for the proxy to send SIP INVITE to), and starts “hunting.”
(See “Configuring a Trunk Group,” on page 77)
STEP 3 When a line is selected to ring, one or more PBX phones may be alerted, according
to the PBX features and configuration.
STEP 4 The Caller ID of the external Caller is signaled by the Line UA out to the FXS port
using the configured Caller ID method (FSK, DTMF, etc.). The PBX must be able to
detect Caller ID signal in order for the proper Caller ID to show.
SYNTAX: line[,line[,line[…]]],hunt=hrule[,cfwd=target]
• The Trunk UA rings only trunk lines, that is, lines that are assigned to a trunk
group through the Voice tab > Line page, Trunk Group field. The Trunk UA
does not ring any standalone lines that are included in the Contact List. The
Trunk UA rings any trunk line that is included in the list, even if it is not
assigned to the particular trunk group for this Contact List.
• You can instruct the SPA8000 to hunt only the phones that are on-hook,
through the Voice tab > SIP page, Trunking Parameters section, Hunt
Policy field. See “Setting the Hunt Policy,” on page 80.
• hunt=hrule: The hunt order, ring interval, and maximum duration, in the
following format: hunt=algo;interval;max
- re: Restart. Hunting starts at the beginning of the list. If the first line does
not answer within the specified interval (see below), the hunt
proceeds through the lines in sequential order.
- ne: Next. The Trunk UA determines the line that was chosen in the
previous hunt, and hunting starts with the next line in the list. If that line
does not answer within the specified interval (see below), the hunt
proceeds through the lines in sequential order.
- ra: Random order. The Trunk UA randomly chooses a line from the list. If
the selected line does not answer within the specified interval (see
- al: All. The Trunk UA rings all the lines at the same time.
• interval: The number of seconds to wait for one line to answer, before
choosing another line. If interval is *, the hunt is stopped at the first line that
starts ringing, and rings the line until it answers, or the caller hangs up, or the
line's ringer times out.
• max: The maximum duration of the hunt, either in seconds or cycles. When
this limit is reached, the call is rejected or is forwarded to the specified call
forward number (see below).
NOTE The call forward settings for the individual lines are ignored during hunting. Instead,
the cfwd settings in the Contact List are used.
EXAMPLES:
• 1,2,3,4,5,6,7,8,hunt=re;*;1
Lines 1 through 8 are included (1,2,3,4,5,6,7,8). The hunt starts at the
beginning of the list (hunt=re). When an available line is found, the call stays
with the line until the call is either answered, rejected, or cancelled by the caller
(* is entered for interval).
• ?,hunt=al;30;1,cfwd=14085550100
A wildcard character (?) is used to represent “all trunk lines.” All lines ring
simultaneously (hunt=al). If there is no answer after 30 seconds (30), the call
is forwarded to the specified number (cfwd=14085550100).
• ?,hunt=ra;*;1,cfwd=14085550155
A wildcard character is used to represent “all trunk lines.” The Trunk UA
chooses lines in random order (hunt=ra). The interval is *, meaning the hunt
stops when a selected line starts ringing, and will ring the line until it answers,
or the caller hangs up, or the line's ringer times out. If the ringer times out, the
call is automatically forwarded to the specified number (cfwd=14085550155).
STEP 1 When a PBX phone selects an outside line, the PBX looks for an open line. If the
PBX finds an open line, it takes the line off hook and bridges the audio between
the PBX phone and the line. On detecting the off hook signal, the SPA8000 Line UA
plays dial tone and ready to collect digits from the PBX phone.
STEP 2 As the PBX phone user dials the number, the Line UA applies its dial plan to the
number. If the Line UA detects an invalid number, it rejects the all by playing
reorder tone, then howling tone, then silence. If a valid number is received, it sends
a SIP INVITE message to the internal Proxy.
STEP 3 The Proxy routes the call to the trunk group UA for the line, and the trunk group UA
will attempt to place the call to the ITSP if there is available capacity on the trunk. If
there is no call capacity left on the trunk, the internal Proxy will reject the INVITE
from the Line UA, which in turn terminates the call and plays reorder tone out to the
FXS port.
NOTE The SPA8000 will also apply the Trunk Dial Plan on the number before sending out
INVITE to the ITSP. This Trunk Dial Plan typically is redundant since the trunk should
trust the number sent by the Line UA. By default the trunk dial plan allows any non-
empty number: ([*#0-9A-D][*#0-9A-D].)
Before you begin this procedure, determine which lines you want to associate with
each trunk group that you are configuring. Refer to the following example:
1, 3, 5 T1
4, 6, 8 T2
2 None
STEP 1 Connect to the administration web server, and choose Admin access with
Advanced settings.
a. Click Voice tab > Ln, where n represents the number of the line interface.
b. In the Trunk Group field, near the top of the line configuration page, choose a
trunk number or choose none for a standalone line (the default setting).
c. Repeat this step for each line that you want to add to a trunk group.
a. Click Voice tab > Tn, where n represents the trunk group number (T1 ... T4).
• Display Name: The Caller ID that you want to use for outbound calls on this
line
• User ID: Your account number with the ITSP (usually the telephone number)
c. In the Call Capacity field, enter the maximum number of concurrent calls
allowed by your ITSP, or leave the default setting, unlimited (16 calls).
d. In the Contact List field, modify the contact list as needed. See “Contact List
for a Trunk Group,” on page 74.
e. Repeat this step for each trunk group that you need to configure.
You also can connect directly to the Trunk Status Page by entering the following
URL: http://spa8000-ip-addr/status. This page is available with the User
Login or the Admin Login.
The Trunk Status page shows all calls that are currently active on each trunk
group.
This page shows a snapshot of the trunk activity. You can refresh the data at any
time by clicking the Refresh button on the web browser toolbar. The page shows
the following information:
• Calling: An outbound call was initiated but is not ringing at the other end.
In the case of a hung call, you can select the check box for the call and then click
the Delete button to cancel the call.
STEP 1 Connect to the administration web server, and choose Admin access with
Advanced settings.
• onhook only: The hunt includes only the phones that are on hook.
• any state: The hunt includes all phones regardless of the state.
• Voice mail: There is no individual mail box for a trunk line. For example, if lines 1,
2, 3, and 4 belong the trunk group T1, then the four lines implicitly share the
same voice mail box from the ITSP. When there is new voice mail waiting in the
trunk mail box, the UAs for all four lines will be notified by the ITSP via the
internal Proxy, and all four lines will show the message waiting indicator, such
as by playing stutter dial tone, if enabled by the administrator.
This chapter explains how to configure Music on Hold using either a music file or
streaming audio.
• “Changing the Music File for the Internal Music Source,” on page 82
STEP 1 Use the phone menu to find the IP address of the phone:
STEP 6 Enter the following value in the MOH Server field: imusic
STEP 8 To verify, place a test call to the extension. When the call is answered and put on
hold, the caller should hear the default music file (Romance de Amor).
STEP 1 Before you begin, make sure that you have TFTP server software running on your
computer.
STEP 2 Start Internet Explorer, connect to the administration web server, and choose
Admin access with Advanced settings.
STEP 5 Enter the following URL in the Internal Music URL field:
tftp://server_IPaddress:portpath
• server_IPaddress: The local IP address of the computer you are using as the
TFTP server
• port: The port number used by the TFTP server (default 69)
STEP 6 Click Submit All Changes. The unit reboots. Then the unit downloads the file and
stores it in flash memory.
Use a media signal adapter or “music coupler” to connect an Ethernet cable from a
media source to the FXS port. For example, the MC-9700 Music Coupler has been
tested with ATA devices and is available at the following URL:
www.neogadgets.com/cart/
cart.php?target=product&product_id=17&substring=music+coupler
• If the FXS port is off hook, an incoming call is answered automatically and
audio is streamed to the calling party.
NOTE Each SAS server can maintain up to five simultaneous calls. If the
second line on the unit is disabled, then the SAS line can maintain up
to 10 simultaneous calls. Further incoming calls receive a busy signal
(SIP 486 Response).
• If the FXS port is on-hook when the incoming call arrives, a SIP 503 response
code is transmitted to indicate “Service Not Available.”
• If an incoming call is auto-answered, but later the FXS port changes to on-hook,
the call is not terminated but continues to stream silence packets to the caller.
• The SAS line can be set up to refresh each streaming audio session
periodically using a SIP re-INVITE message, which detects if the connection to
the caller is down. If the caller does not respond to the refresh message, the
SAS line terminates the call so that the streaming resource can be used for
other callers.
Additional information:
• The SAS line does not ring for incoming calls even if the attached equipment is
on-hook.
• If no calls are in session, battery is removed from tip-and-ring of the FXS port.
Some audio source devices have an LED to indicate the battery status. This can
be used as a visual indication as to whether audio streaming is in progress.
• Call Forwarding, Call Screening, Call Blocking, DND, and Caller-ID Delivery
features are not available on an SAS line.
STEP 1 Connect an RJ-11 adapter between the music source (a CD player or iPod, for
example) and an FXS port.
STEP 2 Start Internet Explorer, connect to the administration web server, and choose
Admin access with Advanced settings.
a. Click Voice tab > FXS N, where N represents the number of the FXS port
where you connected the cable from the external music source.
• Display Name: Enter an extension number of name for the FXS 1 port, such
as Receptionist Area Fax Machine.
• User ID: Enter a three- to four-digit extension number that is not is use by
another extension.
c. In the Streaming Audio Server (SAS) section, choose yes from the SAS
Enable drop-down list.
STEP 5 Configure each phone to use this audio source as the MOH server:
b. In the list, find the phone that you want to configure, and then click the hyperlink
in the IP Address column. The Telephone Configuration page appears in a
separate window.
e. In the MOH Server field, enter the extension number that you assigned to the
FXS port for the streaming audio server.
STEP 2 Connect a phone to the port and make sure the phone is on-hook.
STEP 4 Pick up handset and press * * * * to invoke IVR in the usual way.
If the ATA device boots and finds that the SAS line is on-hook, it does not remove
battery from the line so that IVR may be used. But if the ATA device boots up and
finds that the SAS line is off-hook, it removes battery from the line because no
audio session is in progress.
This chapter describes how to configure the PSTN gateway on the SPA3102 and
the SPA8800.
• “Sharing One VoIP Account Between the FXS and PSTN Lines (SPA3102)”
section on page 93
These ATAs function somewhat differently because they are designed to meet
different business needs.
- FXS Port: The SPA3102 has 1 FXS port that you can connect to a
standard analog telephone or fax machine. Configure the FXS settings
by using the SPA3102 Line page.
• The SPA8800 is designed to work with your PBX as a PSTN gateway and a
VoIP gateway. Call control is provided by a standard PBX, an Asterisk-
based IP PBX, the SPA9000 Voice System, or an Internet-based call control
system.
- FXS Port: The SPA8800 has 4 FXS ports that you can connect to
standard analog telephones or fax machines. Configure the FXS settings
by using the SPA8800 Phone 1-4 pages.
- FXO Port: The SPA8800 has 4 FXO port sthat you can connect to the
PSTN. Configure the FXO settings by using the SPA8800 Line 1-4 pages.
On the SPA3102, you can enable HTTP Digest Authentication. In this case, the
SPA3102 challenges the INVITE with a 401 response if it does not have a valid
Authorization header. The Authorization header should include a <User ID n>
parameter, where n refers to one of eight VoIP user accounts that can be
configured on the ATA device. The credentials are computed based on the
corresponding password using Message Digest 5 (MD5). The <User ID n>
parameter must match one of the VoIP accounts stored on the ATA device. You can
configure these settings on the Voice tab > PSTN Line page. For more information,
see “VoIP Users and Passwords (HTTP Authentication) section,” on page 208.
HTTP Digest Authentication can be also used for two-stage dialing, as in one-
stage dialing. If using HTTP Digest Authentication or Authentication is disabled, the
VoIP caller should hear the PSTN dial tone right after the call is answered (by a SIP
200 response).
You also can enable PIN authentication. In this case, the VoIP caller is prompted to
enter a PIN number after the SPA3102 answers the call. The PIN number must end
with a # key. The inter-PIN-digit timeout is 10 seconds (not configurable). Up to
eight VoIP caller PIN numbers can be configured on the SPA3102. A dial plan can
be selected for each PIN number. If the caller enters a wrong PIN or the SPA3102
times out waiting for more PIN digits, the SPA3102 tears down the call
immediately with a BYE request.
• VoIP caller—Someone who calls the ATA device via VoIP to obtain PSTN
service
• VoIP user—A VoIP caller that has a user account (user-id and password) on the
SPA3102
• PSTN caller—Someone who calls the ATA device from the PSTN to obtain VoIP
service
NOTE When the source address of the INVITE is 127.0.0.1, authentication is automatically
disabled because this is a call by the local user. This applies to both one-stage and
two-stage dialing.
These settings can be configured on the SPA3102 PSTN Line page. See “VoIP-
To-PSTN Gateway Setup section,” on page 206.
1. When a PSTN call comes in to the ATA device and is unanswered (after a
configurable number of rings), then the ATA device takes the FXO port off hook.
3. The PSTN caller enters the target telephone number. The collected digits are
processed by the default dial plan.
On the SPA3102, you can add PIN authentication to the basic flow:
1. When a PSTN call comes in to the ATA device and is unanswered (after a
configurable number of rings), then the ATA device takes the FXO port off hook.
2. The SPA3102 prompts the caller to enter the PIN number followed by the # key.
3. The SPA3102 compares the PIN to the configured PSTN PIN values.
• If the PIN matches one of the configured PSTN PIN values, then the
SPA3102 plays dial tone. The caller enters the telephone number and the
collected digits are processed by the dial plan associated with the PIN
number. (These dial plans are configured on the Voice Voice tab > PSTN
Line page, Dial Plans section.)
• If the PIN does not match one of the configured PSTN PIN values, then the
ATA device plays the reorder tone and then takes the FXO port on-hook.
NOTE For information about configuring the timer values for the above scenarios, see
“FXO (PSTN) Timer Values (sec) section,” on page 209.
For information about configuring caller authentication on the SPA3102, see “VoIP-
To-PSTN Gateway Setup section,” on page 206.
• The PSTN Line voltage drops to a very low value (this occurs if the line is
disconnected from the PSTN service or if the PSTN switch provides a CPC
signal).
When any of the above conditions occur, the ATA device takes the FXO port on
hook and sends a BYE request to end the VoIP call leg. On the other hand, when
the ATA device receives a SIP BYE from the VoIP during a call, it takes the FXO port
on hook to end the PSTN call leg.
In addition, the ATA device can also send a refresh signal periodically to the VoIP
call leg to determine whether the call leg is still up. If a refresh operation fails, the
ATA device ends both call legs.
On the SPA3102, these settings can be configured on the Voice tab > PSTN Line
page. For more information, see “PSTN Disconnect Detection section,” on
page 211.
On the SPA8800, these settings can be configured on the Voice tab > Phone page.
For more information, see “FXS Port Polarity Configuration section,” on
page 177.
NOTE The PBX handles outbound call routing for the SPA8800.
You can specify Gateways 1 to 4 in a dial plan by using the identifiers gw1, gw2,
gw3, or gw4. Also, gw0 represents the internal PSTN gateway via the FXO port.
You can specify in the dial plan to use gwx (x = 0,1,2,3,4) when making certain calls.
In general, you can specify any gateway address in the dial plan. In addition, three
parameters are added that can be used with call routing:
Example Description
<9,:>xx.<:@gw1 Dial 9 to start outside dial tone, followed by one or
more digits, and route the call to Gateway 1.
[93]11<:@gw0> Route 911 and 311 calls to the local PSTN gateway
For SPA3102, you can configure this setting on the Voice tab > Line page. For
SPA8800, you can configure this setting on the Voice tab > Phone page. For more
information, see “VoIP Fallback to PSTN section (SPA3102 and SPA8800),” on
page 175.
Sharing One VoIP Account Between the FXS and PSTN Lines
(SPA3102)
On the SPA3102, both the FXS (Line 1) and FXO (PSTN Line) can receive incoming
calls for a single VoIP account if they are different ports. Consider the following
points:
• If the service provider does not allow more than one register contact, the
PSTN Line should not register. In this case, only Line 1 rings on the inbound
call to this VoIP account because it is the only line registered with the
service provider.
• When using the Forward-To-GW0 feature, you can forward the caller to a
specific PSTN number, using the syntax <PSTN-number>@gw0 in the
forward destination. When using this with Call-Forward-Selective, you can
develop some interesting applications. For example, you can forward all
callers with 408 area code to 14081234567, or all callers with 800 area
code to 18005558355 (This is the number for Tell Me). When this syntax is
used, authentication is not used and the target PSTN number is
automatically dialed by the ATA device after the caller is forwarded to gw0.
Other Options
This section describes other options provided by the SPA3102 and the SPA8800:
• Cadence information
When one VoIP account is shared between the FXS and PSTN Lines, the following
parameters are recommended to be set. For more information, see the Regional
page in the “ATA Voice Field Reference,” on page 110.
VoIP PIN Tone This tone is played to prompt a VoIP caller to enter a PIN number.
PSTN PIN Tone This tone is played to prompt a PSTN caller to enter a PIN
number.
Outside Dial Tone During two-stage PSTN-gateway dialing and with a dial plan
assigned, the ATA device collects digits from the VoIP caller and
processes the number using the dial plan. The ATA device plays
the Outside Dial Tone to prompt the VoIP caller to enter the
PSTN number. This tone should be specified to sound different
from the PSTN dial tone.
Call Scenarios
This section describes some typical scenarios where the ATA device can be
applied. Some terms are introduced in the first few sections and reused in later
sections. This section includes the following topics:
NOTE A PSTN Access List in terms of Caller ID (ANI) patterns can be configured into the
ATA device to automatically grant access to the PSTN caller without entering the
PIN. In this case, the default PSTN dial plan is also used.
The same scenario can be implemented using Ring-Thru. When the PSTN line
rings, Line 1 rings also. This feature is called Ring-Thru. If Line1 is picked up before
the VoIP gateway auto-answers, it is connected to the PSTN call. Line 1 hears a
call waiting tone if it is already connected to another call.
If the PSTN Line is busy (off-hook, ringing, or PSTN line not connected) when the
VoIP caller calls, the ATA device replies with 503. If the PIN number is invalid or
entered after the VoIP call leg is connected, the ATA device plays the reorder tone
to the VoIP caller and eventually ends the call when the reorder tone times out.
NOTE If VoIP Caller ID Pattern is specified and the VoIP caller ID does not match any of the
given patterns, the ATA device rejects the call with a 403. This rule applies
regardless of the authentication method, even when the source IP address of the
INVITE request is in the VoIP Access List .
If the credentials are correct, the target number specified in the user-id field of the
INVITE Request-URI is processed by the dial plan corresponding to the VoIP user
(assuming the dial plan choice is not 0). The final number is then auto-dialed by the
ATA device.
If the credentials are incorrect, the ATA device challenges the INVITE again. If the
auth-ID does not exist in the ATA device configuration, the ATA device replies 403
to the INVITE. If the target number is invalid according to the corresponding dial
plan, the ATA device also replies 403 to the INVITE. Again, if the PSTN Line is busy
at the time of the call, the ATA device replies 503.
NOTE HTTP Digest Authentication is one way to perform one-stage dialing of a VoIP-To-
PSTN call. The other way is with no authentication require. However, if the target
number is not specified in the Request-URI or the number matches the account
user-id of the PSTN Line, the call reverts to two-stage dialing.
On the SPA3102, you can configure Call Forward settings on the User page. On
SPA8800, the same parameters are set on the Phone page. For field descriptions,
see Call Forward Settings section.
The caller calls Line 1 and if Line 1 is not picked up after six seconds, the PSTN
Line picks up the call and the call reverts to a PSTN-Gateway call, as described
above. In this case, HTTP authentication is not allowed because Line 1 does not
authenticate inbound INVITE requests. If you need to authenticate the VoIP caller in
this case, you must select the PIN authentication method, or else the caller is not
authenticated.
NOTE If the PSTN Line is busy at the moment of the forward, it does not answer the VoIP
call. The call forward rule is ignored and Line 1 continues to ring.
If the PSTN Line is busy at the moment of the call, the PSTN Line does not pick up
the call, the call forward rule is ignored, and Line 1 continues to ring.
This chapter describes the settings that you can configure under the Router and
Network tabs in the administration web server pages.
NOTE This information applies to the SPA2102, SPA3102, SPA8000, and SPA8800
models. To configure router settings for the PAP2T, see the user guide for the router.
After you click the Router tab on the SPA2102, SPA3102, or the Network tab on
the SPA8000 and SPA8800, you can choose the following pages:
NOTE Not all fields listed may be applicable to your ATA device or your setup.
Current Time Current date and time of the system; for example, 10/3/
2003 16:43:00.
Elapsed Time Total time elapsed since the last reboot of the system;
for example, 25 days and 18:12:36.
WAN Connection Type The connection type: DHCP or Static IP.
Current IP The current IP address assigned to the ATA device.
Host Name The current IP address assigned to the ATA device.
Domain The network domain name of the ATA device.
Current Netmask The network mask assigned to the ATA device.
Current Gateway The default router assigned to the ATA device.
Primary DNS The primary DNS server assigned to the ATA device.
Secondary DNS The secondary DNS server assigned to the ATA device.
LAN IP Address The address of the router.
Connection Type The type of WAN connection. Options are: DHCP, Static
IP, PPPoE, PPPoE / DHCP (tries PPPoE then DHCP), or
DHCP/ PPPoE (tries DHCP then PPPoE).
PPPoE Login Name The account name assigned by the ISP for connecting
on a Point-to-Point Protocol over Ethernet (PPPoE) link.
PPPoE Service Name The service name assigned by the ISP for connecting
on a Point-to-Point Protocol over Ethernet (PPPoE) link.
Enable MAC Clone To use MAC Address cloning, select Yes. Default is No.
Service
Cloned MAC Address Use when your ISP requires a certain MAC address. It’s
usually the address for your PC.
QOS Policy Enable when you want to use QoS. Options are: Always
On or On when Phone is Use (default).
QOS QDisc Allow QoS Queuing. Options are None or TBF (token
bucket filter). Information can be found at about TBF at:
http://lartc.org/howto/lartc.qdisc.classless.html
Application page
You can use the Application page to view the port forward settings and to update
the DMZ settings, multicast passthru setting, and system reserved ports range.
This page includes the following sections:
Enable DMZ Any PC whose port is forwarded must have its DHCP
client function disabled and should have a new static IP
address assigned to it because its address may change
when using the DHCP function. To expose one PC,
select Yes. The default is No.
DMZ Host IP Address Specify the host computer’s IP address.
Multicast Passthru Used for passing multicast traffic. Options are disabled,
inbound, outbound, inbound and outbound.
Starting Port A port identified as a reserve port and that is not used
for NAT translation. That is, if there is a conflict — if port
forwarding is set on the same port — then the port
forwarding is cancelled. Default is 50000.
Num of Ports Reserved Total number of ports reserved. Options are: 256, 512,
and 1024.
This chapter describes the settings that you can configure under the Voice tab in
the administration web server pages.
NOTE For information about the Voice > Provisioning tab, see the SPA Provisioning
Guide.
After you click the Voice tab, you can choose the following pages:
NOTE Not all fields listed may be applicable to your ATA device or your setup.
NOTE The fields on the Info page are read-only and cannot be edited.
Current Time Current date and time of the system; for example, 10/3/
2003 16:43:00.
Elapsed Time Total time elapsed since the last reboot of the system; for
example, 25 days and 18:12:36.
RTP Packets Sent Total number of RTP packets sent (including redundant
packets).
RTP Bytes Sent Total number of RTP bytes sent.
RTP Packets Recv Total number of RTP packets received (including redundant
packets).
RTP Bytes Recv Total number of RTP bytes received.
SIP Messages Sent Total number of SIP messages sent (including
retransmissions).
SIP Bytes Sent Total number of bytes of SIP messages sent (including
retransmissions).
SIP Messages Total number of SIP messages received (including
Recv retransmissions).
SIP Bytes Recv Total number of bytes of SIP messages received (including
retransmissions).
External IP External IP address used for NAT mapping.
(PSTN) Hook State Hook state of the FXO port. Options are either On or Off.
Registration State Indicates if the line has registered with the SIP proxy.
Last Registration At Last date and time the line was registered.
Next Registration In Number of seconds before the next registration renewal.
• Connected to PSTN
Call 1 and 2 Tone Type of tone used by the call.
Call 1 and 2 Codec used for encoding.
Encoder
Call 1 and 2 Codec used for decoding.
Decoder
Call 1 and 2 FAX Status of the fax pass-through mode.
Call 1 and 2 Type Direction of the call. May take one of the following values:
• PSTN Gateway Call = VoIP-To-PSTN Call
(PSTN) Hook State Hook state of the FXO port. Either On or Off.
(PSTN) Line The voltage existing on the PSTN line.
Voltage
(PSTN) Loop The current (milliamperes) existing on the local loop.
Current
Registration State Indicates if the line has registered with the SIP proxy.
Last Registration At Last date and time the line was registered.
Next Registration In Number of seconds before the next registration renewal.
Last Called VoIP The last VoIP number called from the FXO Line.
Number
Last Called PSTN The PSTN number dialed by the SPA (logged only if a non-
Number trivial dial plan is used).
Last VoIP Caller The last VoIP caller to the FXO Line.
Last PSTN Caller Name and number of the last PSTN caller.
• CPC Signal
• Polarity Reversal
• Invalid PIN
• Connected to PSTN
PSTN State May take one of the following values:
• Idle
• Connected to PSTN
VoIP Tone Indicates what tone is being played to the VoIP call leg.
PSTN Tone Indicate what tone is being played to the PSTN call leg.
VoIP Peer Name Name of the party at the VoIP call leg.
PSTN Peer Name Name of the party at the PSTN call leg.
VoIP Peer Number Phone number of the party at the VoIP call leg.
PSTN Peer Number Phone number of the party at the PSTN call leg.
VoIP Call Encoder Audio encoder being used for the VoIP call leg.
VoIP Call Decoder Audio decoder being used for the VoIP call leg.
VoIP Call FAX Status of the fax pass-through mode.
VoIP Call Remote Indicates whether the far end has placed the call on hold.
Hold
VoIP Call Duration Duration of the call.
VoIP Call Packets Number of packets sent.
Sent
VoIP Call Packets Number of packets received.
Recv
VoIP Call Bytes Number of bytes sent.
Sent
VoIP Call Bytes Number of bytes received.
Recv
Registration State Indicates if the line has registered with the SIP proxy.
Last Registration At Last date and time the line was registered.
Next Registration In Number of seconds before the next registration renewal.
Message Waiting Indicates whether you have new voice mail waiting.
Options are either Yes or No. This value is updated when
voice mail notification is received. You can also manually
modify it to clear or set the flag. Setting this value to Yes
can activate stutter tone and VMWI signal. This parameter
is stored in long term memory and survives after reboot or
power cycle.
Mapped SIP Port Port number of the SIP port mapped by NAT.
SIP page
You can use the Voice tab > SIP page to configure the SIP settings. With some
variations, depending on the model, this page includes the following sections:
Max Forward SIP Max Forward value, which can range from 1 to 255.
The default is 5.
Max Auth Maximum number of times (from 0 to 255) a request may
be challenged.
The default is 2.
SIP T1 RFC 3261 T1 value (RTT estimate), which can range from 0
to 64 seconds.
The default is.5.
SIP T2 RFC 3261 T2 value (maximum retransmit interval for non-
INVITE requests and INVITE responses), which can range
from 0 to 64 seconds.
The default is 4.
SIP T4 RFC 3261 T4 value (maximum duration a message remains
in the network), which can range from 0 to 64 seconds.
The default is 5.
The default is 1.
Reg Max Expires Maximum registration expiration time allowed from the
proxy in the Min-Expires header. If the value is larger than
this setting, the maximum value is used.
SIT1 RSC SIP response status code for the appropriate Special
Information Tone (SIT). For example, if you set the SIT1 RSC
to 404, when the user makes a call and a failure code of
404 is returned, the SIT1 tone is played. Reorder or Busy
tone is played by default for all unsuccessful response
status code for SIT 1 RSC through SIT 4 RSC.
SIT2 RSC SIP response status code to INVITE on which to play the
SIT2 Tone.
SIT3 RSC SIP response status code to INVITE on which to play the
SIT3 Tone.
RTP Port Min Minimum port number for RTP transmission and reception.
The RTP Port Min and RTP Port Max parameters should
define a range that contains at least 4 even number ports,
such as 100 – 106.
The default is 0.
The default is 0.
No UDP Checksum Select yes if you want the ATA device to calculate the UDP
header checksum for SIP messages. Otherwise, select no.
NSE Dynamic NSE dynamic payload type. The valid range is 96-127.
Payload
The default is 100.
AVT Dynamic AVT dynamic payload type. The valid range is 96-127.
Payload
The default is 101.
INFOREQ Dynamic INFOREQ dynamic payload type.
Payload
There is no default.
G726r16 Dynamic G.726-16 dynamic payload type. The valid range is 96-127.
Payload
The default is 98.
G726r24 Dynamic G.726-24 dynamic payload type. The valid range is 96-127.
Payload
The default is 97.
G726r40 Dynamic G.726-40 dynamic payload type. The valid range is 96-127.
Payload
The default is 96.
G729b Dynamic G.729b dynamic payload type. The valid range is 96-127.
Payload
The default is 99.
NSE Codec Name NSE codec name used in SDP.
Handle VIA If you select yes, the ATA device processes the received
received parameter in the VIA header (this value is inserted by the
server in a response to anyone of its requests). If you select
no, the parameter is ignored. Select yes or no from the
drop-down menu.
The default is 0.
NAT Keep Alive Interval between NAT-mapping keep alive messages.
Intvl
The default is 15.
Proxy Debug This feature controls which proxy debuy messages to log.
Option The choices are as follows:
• none—No logging.
Regional page
You can use the Voice tab > Regional page to localize your system with the
appropriate regional settings. With some variations, depending on the model, this
page includes the following sections:
• “Ring and Call Waiting Tone Spec section” section on page 140
Dial Tone Prompts the user to enter a phone number. Reorder Tone is
played automatically when Dial Tone or any of its
alternatives times out.
• Begin with the default Ring Waveform, Ring Frequency, and Ring Voltage.
• If your ring cadence doesn’t sound right, or your phone doesn’t ring, change
your Ring Waveform, Ring Frequency, and Ring Voltage to the following:
- Ring Frequency: 25
Field Description
Ring Waveform Waveform for the ringing signal. Choices are Sinusoid or
Trapezoid. The default is Trapezoid.
Ring Frequency Frequency of the ringing signal. Valid values are 10–100
(Hz). The default is 20.
Ring Voltage Ringing voltage. Choices are 60–90 (V). The default is 85.
Synchronized Ring If this is set to Yes, when a device calls the Linksys ATA,
both lines ring at the same time (similar to a regular PSTN
line). After one line answers, the other stops ringing. This
field is only found in the PAP2T. No is the default.
Hook Flash Timer Minimum on-hook time before off-hook qualifies as hook-
Min flash. Less than this the on-hook event is ignored. Range:
0.1–0.4 seconds.
The default is 0.
Reorder Delay Delay after far end hangs up before reorder tone is played.
0 = plays immediately, inf = never plays. Range: 0–255
seconds.
The default is 5.
Call Back Expires Expiration time in seconds of a call back activation. Range:
0–65535 seconds.
The default is 3.
CPC Delay Delay in seconds after caller hangs up when the ATA
device starts removing the tip-and-ring voltage to the
attached equipment of the called party. Range: 0–255
seconds. ATA device has had polarity reversal feature
since release 1.0 which can be applied to both the caller
and the callee end. This feature is generally used for
answer supervision on the caller side to signal to the
attached equipment when the call has been connected
(remote end has answered) or disconnected (remote end
has hung up). This feature should be disabled for the called
party (in other words, by using the same polarity for
connected and idle state) and the CPC feature should be
used instead.
The default is 2.
For example, after the user dials *98, the ATA device plays
a special dial tone called the Prompt Tone while waiting for
the user the enter a target number (which is checked
according to dial plan as in normal dialing). When a
complete number is entered, the ATA device sends a blind
REFER to the holding party with the Refer-To target equals
to *98 target_number. This feature allows the ATA device to
hand off a call to an application server to perform further
processing, such as call park.
The *codes should not conflict with any of the other vertical
service codes internally processed by the ATA device. You
can empty the corresponding *code that you do not want
to ATA device to process.
The *codes should not conflict with any of the other vertical
service codes internally processed by the ATA device. You
can empty the corresponding *code that you do not want
to ATA device to process.
Prefer G711u Code Makes this codec the preferred codec for the associated
call.
Miscellaneous section
Set Local Date Sets the local date (mm stands for months and dd stands
(mm/dd) for days). The year is optional and uses two or four digits.
Set Local Time (HH/ Sets the local time (hh stands for hours and mm stands for
mm) minutes). Seconds are optional.
Time Zone Selects the number of hours to add to GMT to generate the
local time for caller ID generation. Choices are GMT-12:00,
GMT-11:00,…, GMT, GMT+01:00, GMT+02:00, …,
GMT+13:00.
The <day> value equals [+|-] any value in the range 1-31.
• ETSI DTMF After Ring—CID only. DTMF sent after first ring
(no polarity reversal or DTAS).
• ETSI FSK—CID, CIDCW, and VMWI. FSK sent after DTAS (but
no polarity reversal) and before first ring. Waits for ACK from
CPE after DTAS for CIDCW.
The default is 3.
Feature Invocation Select the method you want to use, Default or Sweden
Method default. This field is not found in the PAP2T.
Line page
Depending on the ATA device, there may be one or more Line pages (L1, L2, and so
on). You can use the Voice tab > Line page to configure the lines for voice service.
NOTE Depending on the ATA model, some of the described settings may appear on
pages other than the Line page.
• On the SPA2102, refer to the Line pages and the corresponding User pages.
• On the SPA8800, refer to the Phone pages 1 to 4 to configure the settings for
the Phone (FXS) ports 1 to 4. Refer to the Line pages to configure the settings
for the Line (FXO) ports 1 to 4.
With some variations, depending on the model, this page includes the following
sections:
Line Enable To enable this line for service, select yes. Otherwise, select
no.
SAS Enable To enable the use of the line as a streaming audio source,
select yes. Otherwise, select no. If enabled, the line cannot
be used for outgoing calls. Instead, it auto-answers
incoming calls and streams audio RTP packets to the caller.
The default is 3.
RTP ToS/DiffServ ToS/DiffServ field value in UDP IP packets carrying RTP
Value data.
Field Description
SIP Transport The TCP choice provides “guaranteed delivery,” which
assures that lost packets are retransmitted. TCP also
guarantees that the SIP packages are received in the same
order that they were sent. As a result, TCP overcomes the
main disadvantages of UDP. In addition, for security
reasons, most corporate firewalls block UDP ports. With
TCP, new ports do not need to be opened or packets
dropped, because TCP is already in use for basic activities
such as Internet browsing or e-commerce. Options are:
UDP, TCP, TLS. The default is UDP.
• none—No logging.
The default is 4.
Refer Target Bye For the Refer Target Bye Delay, enter the appropriate
Delay period of time in seconds.
The default is 0.
Referee Bye Delay For the Referee Bye Delay, enter the appropriate period of
time in seconds.
The default is 0.
Refer-To Target To contact the refer-to target, select yes. Otherwise, select
Contact no.
Default is yes.
Use Local Addr in The IP address of the local address enclosed in the FROM
FROM of the SIP message. This field is found on the SPA2102
only.
Default is no.
NOTE: unlimited = 16
Cfwd No Ans Delay Delay, in seconds, before the call forwarding of no-answer
calls feature is triggered.
On the SPA8800, these settings are configured on the Phone pages only.
Preferred Codec Preferred codec for all calls. (The actual codec used in a
call still depends on the outcome of the codec negotiation
protocol.) Select one of the following: G711u, G711a,
G726-16, G726-24, G726-32, G726-40, G729a, or
G723.
Auto PSTN Fallback If enabled, the ATA device automatically routes all calls to
the PSTN gateway when the Line 1 proxy is down
(registration failure or network link down).
On the SPA8800, the Line page includes the dial plan fields as described below.
However, on the Phone page, the Dial Plans section provides eight spaces where
you can enter up to eight dial plans. The dial plans in this pool can be associated
with a VoIP Caller or a PSTN Caller. The dial plan syntax is consistent for all fields.
The default dial plan script for each line is as follows: (*xx|[3469]11|0|00|[2-
9]xxxxxx|1xxx[2-9]xxxxxx|x xxxxxxxxxxx.). The syntax for a dial plan expression is
as follows:
Example 1:
*1xxxxxxxxxx<:@fwdnat.pulver.com:5082;uid=jsmith;pwd=xy
z
Example 2:
*1xxxxxxxxxx<:@fwd.pulver.com;nat;uid=jsmith;pwd=xyz
Example 3:
[39]11<:@gw0>
Enable IP Dialing Enable or disable IP dialing.
Line 1 VoIP Caller Index of the dial plan in the dial plan pool to be used when
DP the VoIP Caller is calling from Line 1 of the same SPA8800
unit during normal operation (in other words, not due to
fallback to PSTN service when Line 1 VoIP service is
down). Choose from {none, 1, 2, 3, 4, 5, 6, 7, 8}
The default is 1.
Line 1 Fallback DP Index of the dial plan in the dial plan pool to be used when
the VoIP Caller is calling from Line 1 of the same SPA8800
unit due to fallback to PSTN service when Line 1 VoIP
service is down. Choose from {none, 1, 2, 3, 4, 5, 6, 7, 8}.
The default is 1.
The default is 1.
Line 1 Signal Hook The operation of the hook flash on the analog phone when
Flash to PSTN a PSTN-to-VoIP call is active.
The default is 0.
VoIP-To-PSTN Call Limit on the duration of a VoIP-To-PSTN Gateway Call. Unit
Max Dur is in seconds. 0 means unlimited. The range is 0-
2147483647.
The default is 0.
VoIP DLG Refresh Interval between (SIP) Dialog refresh messages sent by
Intvl the SPA to detect if the VoIP call-leg is still up. If value is set
to 0, SPA will not send refresh messages and VoIP call-leg
status is not checked by the SPA. The refresh message is a
SIP ReINVITE and the VoIP peer must response with a 2xx
response. If VoIP peer does not reply or response is not
greater than 2xx, the SPA will disconnect both PSTN and
VoIP call legs automatically. The range is 0-255.
The default is 5.
PSTN Dialing Delay Delay after hook before the SPA dials a PSTN number. The
range is 0-255.
The default is 1.
PSTN Dial Digit Len Determines the on/off time when transmitting digits
through the FXO port. The syntax is on-time/off-time,
where on-time and off-time are expressed in seconds with
up to two decimal places, within the permitted range,
which is from .05 to 3.00.
Restrictions:
• 2 frequency components must be given. If single frequency
is desired, the same frequency is used for both
• The tone level value is not used. –30 (dBm) should be used
for now.
US—480@-30,620@-30;4(.25/.25/1+2)
UK—400@-30,400@-30; 2(3/0/1+2)
France—440@-30,440@-30; 2(0.5/0.5/1+2)
Germany—425@-10; 10(0.48/0.48/1)
Netherlands—425@-30,425@-30; 2(0.5/0.5/1+2)
Sweden—425@-10; 10(0.25/0.25/1)
Norway—425@-10; 10(0.5/0.5/1)
Italy—425@-30,425@-30; 2(0.2/0.2/1+2)
Spain—425@-10; 10(0.2/0.2/1,0.2/0.2/1,0.2/0.6/1)
Portugal—425@-10; 10(0.5/0.5/1)
Poland—425@-10; 10(0.5/0.5/1)
Denmark—425@-10; 10(0.25/0.25/1)
Australia—425@-13; 10(0.375/0.375/1)
FXO Port Desired impedance of the FXO Port. Choose from {600,
Impedance 900, 370+620, 270+750||150nF, 220+820||120nF, 370
+ 620 || 310nf, 320 + 1050 || 230nf, 370 + 820 || 110 nf,
275 + 780 || 115nf, 120 + 820 || 110nf, 350 + 1000 ||
210nf, 0 + 900 || 130nf}
France—270+750||150nF
Australia—220+820||120nF
New Zealand—370+620||310nF
Ring Frequency Min The lower limit of the ring frequency used to detect the ring
signal.
The default is 0.
Ring Frequency The higher limit of the ring frequency used to detect the
Max ring signal.
The default is 0.
Ring Validation Specify the minimum signal duration required by the
Time Gateway for recognition as a ring signal. The default is 256
ms.
Line Enable To enable this line for service, select yes. Otherwise, select
no.
The default is 3.
• none—No logging.
The default is 4.
Refer Target Bye For the Refer Target Bye Delay, enter the appropriate
Delay period of time in seconds.
The default is 0.
Referee Bye Delay For the Referee Bye Delay, enter the appropriate period of
time in seconds.
The default is 0.
Refer-To Target To contact the refer-to target, select yes. Otherwise, select
Contact no.
• Outbound calls: When the limit is reached, the Line SUA plays
a fast busy tone to the caller. Note that a trunk line can make
an outgoing call only through its own trunk. If that trunk
reaches full capacity, it will not attempt to failover to use other
trunks
The Contact List specifies the lines, the hunt method, and
other options.
EXAMPLES:
• 1,2,3,4,5,6,7,8,hunt=re;*;1
Lines 1 through 8 are participating (1,2,3,4,5,6,7,8).
The Trunk SUA will hunt to each specified line in the specified
order (hunt=re). The call stays with a selected line until the
call is either answered, rejected, or cancelled by the caller
(*). The Trunk SUA replies 486 right away if no line is
available to ring at the moment (1).
• ?,hunt=al;30;0,cfwd=14089993326
A wildcard character is used to represent “all trunk lines.” All
lines ring simultaneously (hunt=al). If there is no answer
after 30 seconds (30), the call is forwarded to the specified
number (cfwd=14089993326) .
• ?,hunt=ra;12;1,cfwd=14089993326
A wildcard character is used to represent “all trunk lines.” The
Trunk SUA hunts in random order (hunt=ra). If there is no
answer within 12 seconds (12), the Trunk SUA chooses
another line at random. If there is no answer after 1 round (1),
the call is forwarded to forwarded to the specified number
(cfwd=14089993326).
Contact List NOTES:
(continued)
• The Trunk SUA rings only trunk lines (lines that are assigned
to a trunk group through the Voice tab > Line page, Trunk
Group field).
• The Trunk SUA will not ring any standalone lines that are included in
the Contact List.
• The Trunk SUA will ring any trunk line that is included in the list, even if
it is not assigned to this particular trunk.
• You can instruct the SPA8000 to hunt only the phones that are
on-hook, through the Voice tab > SIP page, Trunking
Parameters section, Hunt Policy field. See “Trunking
Parameters section (SPA8000),” on page 133.
Field Description
Dial Plan Dial plan script for this trunk.
NOTE: The trunk SUA will also apply the Trunk Dial Plan on
the number before sending out INVITE to the ITSP. This
Trunk Dial Plan typically is redundant since the trunk should
trust the number sent by the Line SUA. By default the trunk
dial plan allows any non-empty number: ([*#0-9A-
D][*#0-9A-D].)
Line Enable To enable this line for service, select yes. Otherwise, select
no.
The default is 3.
SIP Port Port number of the SIP message listening and transmission
port.
The default is 4.
Refer Target Bye For the Refer Target Bye Delay, enter the appropriate
Delay period of time in seconds.
The default is 0.
Referee Bye Delay For the Referee Bye Delay, enter the appropriate period of
time in seconds.
The default is 0.
Refer-To Target To contact the refer-to target, select yes. Otherwise, select
Contact no.
NOTE: unlimited = 16
Preferred Codec Preferred codec for all calls. (The actual codec used in a
call still depends on the outcome of the codec negotiation
protocol.) Select one of the following: G711u, G711a,
G726-16, G726-24, G726-32, G726-40, G729a, or G723.
caller only - SPA will detect FAX tone only if it is the caller
callee only - SPA will detect FAX tone only if it is the callee
The default is 3.
One Stage Dialing Enable one-stage dialing (applicable if authentication
method is none, or HTTP Digest, or caller is in the Access
List).
The default is yes.
Line 1 VoIP Caller Index of the dial plan in the dial plan pool to be used when
DP the VoIP Caller is calling from Line 1 of the same SPA3102
unit during normal operation (in other words, not due to
fallback to PSTN service when Line 1 VoIP service is
down). Choose from {none, 1, 2, 3, 4, 5, 6, 7, 8}
Authentication is skipped for Line 1 VoIP caller.
The default is 1.
Default VoIP Caller Index of the dial plan in the dial plan pool to be used when
DP the VoIP Caller is not authenticated. Choose from {none, 1,
2, 3, 4, 5, 6, 7, 8}.
The default is 1.
Line 1 Fallback DP Index of the dial plan in the dial plan pool to be used when
the VoIP Caller is calling from Line 1 of the same SPA3102
unit due to fallback to PSTN service when Line 1 VoIP
service is down. Choose from {none, 1, 2, 3, 4, 5, 6, 7, 8}.
The default is 1.
NOTE: ‘?’ matches any single digit; ‘*’ matches any number
of digits.
The default is blank.
VoIP Access List A comma separated list of IP address templates, such that
callers with source IP address matching any of the
templates will be accepted for PSTN gateway service
without further authentication. For example: 192.168.*.*,
66.43.12.1??.
VoIP User 1/2/3/4/ The first of 8 user-id’s that a VoIP Caller can use to
5/6/7/8 Auth ID authenticate itself to the SPA using the HTTP Digest
method (in other words, by embedding an Authorization
header in the SIP INVITE message sent to the SPA. If the
credentials are missing or incorrect, the SPA will challenge
the caller with a 401 response). The VoIP caller whose
authentication user-id equals to this ID is referred to VoIP
User 1 of this SPA.
The default is 1.
VoIP User 1/2/3/4/ The password to be used with VoIP User 1. The user
5/6/7/8 Password assumes the identity of VoIP User 1 must therefore
compute the credentials using this password, or the INVITE
will be challenged with a 401 response
The default is blank.
VoIP Answer Delay Delay in seconds before auto-answering inbound VoIP calls
for the FXO account. The range is 0-255.
The default is 3.
PSTN Answer Delay in seconds before auto-answering inbound PSTN
Delay calls after the PSTN starts ringing. The range is 0-255.
The default is 5.
PSTN-To-VoIP Call Limit on the duration of a PSTN-To-VoIP Gateway Call. Unit
Max Dur is in seconds. 0 means unlimited. The range is 0-
2147483647.
The default is 0.
VoIP-To-PSTN Call Limit on the duration of a VoIP-To-PSTN Gateway Call. Unit
Max Dur is in seconds. 0 means unlimited. The range is 0-
2147483647.
The default is 0.
PSTN Dialing Delay Delay after hook before the SPA dials a PSTN number. The
range is 0-255.
The default is 1.
PSTN Ring Timeout Delay after a ring burst before the SPA decides that PSTN
ring has ceased. The range is 0-255.
The default is 5.
PSTN Dial Digit Len Determines the on/off time when transmitting digits
through the FXO port. The syntax is on-time/off-time,
where on-time and off-time are expressed in seconds with
up to two decimal places, within the permitted range,
which is from .05 to 3.00.
Restrictions:
• 2 frequency components must be given. If single frequency
is desired, the same frequency is used for both
• The tone level value is not used. –30 (dBm) should be used
for now.
US—480@-30,620@-30;4(.25/.25/1+2)
UK—400@-30,400@-30; 2(3/0/1+2)
France—440@-30,440@-30; 2(0.5/0.5/1+2)
Germany—440@-30,440@-30; 2(0.5/0.5/1+2)
Netherlands—425@-30,425@-30; 2(0.5/0.5/1+2)
Sweden—425@-10; 10(0.25/0.25/1)
Norway—425@-10; 10(0.5/0.5/1)
Italy—425@-30,425@-30; 2(0.2/0.2/1+2)
Spain—425@-10; 10(0.2/0.2/1,0.2/0.2/1,0.2/0.6/1)
Portugal—425@-10; 10(0.5/0.5/1)
Poland—425@-10; 10(0.5/0.5/1)
Denmark—425@-10; 10(0.25/0.25/1)
Australia—425@-13; 10(0.375/0.375/1)
FXO Port Desired impedance of the FXO Port. Choose from {600,
Impedance 900, 370+620, 270+750||150nF, 220+820||120nF, 370
+ 620 || 310nf, 320 + 1050 || 230nf, 370 + 820 || 110 nf,
275 + 780 || 115nf, 120 + 820 || 110nf, 350 + 1000 ||
210nf, 0 + 900 || 130nf}
France—270+750||150nF
Australia—220+820||120nF
New Zealand—370+620||310nF
Ring Frequency Min Specify the lower limit of the ring frequency used to detect
the ring signal. The default is 10.
SPA To PSTN Gain dB of digital gain (or attenuation if negative) to be applied
to the signal sent from the SPA to the PSTN side. The range
is -15 to 12.
The default is 0.
Ring Frequency Specify the higher limit of the ring frequency used to
Max detect the ring signal. The default is 100.
PSTN To SPA Gain dB of digital gain (or attenuation if negative) to be applied
to the signal sent from the PSTN side to the SPA. The range
is -15 to 12.
The default is 0.
Ring Validation Specify the minimum signal duration required by the
Time Gateway for recognition as a ring signal. The default is 256
ms.
Tip/Ring Voltage Choices are {3.1, 3.2, 3.35, 3.5}.
Adjust
The default is 3.5.
On the SPA8000, these settings can be configured on the Line pages (Line 1, Line
2, and so on). On the SPA8800, theses settings can be configured on the Phone
pages (Phone 1, Phone 2, and so on).
NOTE When a call is made from Line 1 or Line 2, the ATA device shall use the user and line
settings for that line; there is no user login support. Per user parameter tags must
be appended with [1] or [2] (corresponding to line 1 or 2) in the configuration profile.
It is omitted below for readability.
Cfwd All Dest Forward number for Call Forward All Service
Cfwd Sel1- 8 Caller Caller number pattern to trigger Call Forward Selective 1,
2, 3, 4, 5, 6, 7, or 8.
Speed Dial 2-9 Target phone number (or URL) assigned to speed dial 2, 3,
4, 5, 6, 7, 8, or 9.
• manual —rings the phone first, and the call must be picked
up manually before loopback starts.
Note that if the ATA device answers the call, the mode is
determined by the caller.
Media Loopback The loopback type to use when making call to request
Type media loopback operation. Choices are Media and Packet.
Default is Media.
Note that if the ATA device answers the call, then the
loopback type is determined by the caller (the ATA device
always picks the first loopback type in the offer if it
contains multiple types.)
The default is 1.
Default CWT Default CWT pattern, 1 – 8, for all callers.
The default is 2.
Hold Reminder Ring pattern for reminder of a holding call when the phone
Ring is on-hook.
• “PSTN Ring Thru Line 1 Ring Settings section” section on page 223
Cfwd Sel1-8 Caller Eight PSTN Caller Number Patterns to be blocked for VoIP
gateway services or forwarded to a certain VoIP number. If
the caller is blocked, the SPA will not auto-answers the call.
Cfwd Sel1-8 Dest Eight VoIP destinations to forward a PSTN caller matching
the Cfwd Sel x Caller parameter. If this entry is blank, the
PSTN caller is blocked for VoIP service.
Speed Dial 1-9 The VoIP number to call when the PSTN caller dials a single
digit ‘2’
Ring1-8 Caller Eight PSTN Caller Number Patterns such that the
corresponding ring will be used to ring through Line 1 if the
PSTN caller matches this pattern.
Default Ring The default ring to be used to ring through Line 1. Choose
from {1,2,3,4,5,6,7,8,Follow Line 1}. If Follow Line 1 is
selected, the ring to be used is determined by Line 1’s
distinctive ring settings.
The default is 1.
This appendix provides solutions to problems that may occur during the
installation and operation of the ATA devices.
A. Use the Interactive Voice Response Menu to find out the Internet IP address.
2. Press **** (in other words, press the star key four times).
5. Press 7932#.
A. If you are using Windows Explorer, perform the following steps until you see the
administration web server login screen (Mozilla requires similar steps).
2. Press CTRL + F5. This is a hard refresh, which forces Windows Explorer to load
new webpages, not cached ones.
3. Click Tools. Click Internet Options. Click the Security tab. Click the Default
level button. Make sure the security level is Medium or lower. Then click the OK
button.
A. Currently, the only way is to do HTTPGET from an HTTP client, from which you
get the entire HTML page. Alternatively, from your browser you can select File
> Save as > HTML from any of the administration web server pages. Do this in
Admin, Advanced mode.
This saves all the tabs into one HTML file. This HTML file is helpful to provide to our
support team when you have a problem or technical question.
A. The ATA devices send out debug information via syslog to a syslog server. The
ports can be configured (by default the port is 514).
1. Make sure you do not have firewall running on your PC that could block port 514.
2. On the administration web server System tab, set Debug Server as the IP
address and port number of your syslog server. Note that this address has to
be reachable from the ATA device.
4. To capture SIP signaling messages, under the Line tab, set SIP Debug Option to
Full.
The file output is syslog.<portnum>.log (for the default port setting,
syslog.514.log).
A. By default, the User and Admin accounts have no password. If the ITSP set the
password for either account and you do not know what it is, you need to
contact the ITSP. If the password for the user account was configured after you
received the ATA device, you can reset the device to the user factory default,
which preserves any provisioning completed by the ITSP. If the Admin account
needs to be reset, you have to perform a full factory reset, which also erases
any provisioning.
To reset the ATA device to the factory defaults, perform the following steps:
1. Connect an analog phone to the ATA device and access the IVR by pressing the
asterisk key four times: ****
Press the appropriate code to reset the unit:
• Press 877778# to reset the unit to the defaults as it shipped from the ITSP.
This will reset the User account password to the default of blank.
• Press 73738# to perform a full reset of unit to the factory default settings.
The Admin account password will be reset to the default of blank.
3. Log in to the unit using the User or Admin account without a password and
reconfigure the unit as necessary.
Q. My ATA device is behind a NAT device or firewall and I’m unable to make a
call or I’m only receiving a one-way connection. What should I do?
1. Configure your router to port forward “TCP port 80" to the IP address currently
being used by your ATA device. If you do this often, we suggest that you use
static IP address for the ATA device, instead of DHCP. (For help with port
forwarding, consult your router documentation)
2. On the Line tab of the administration web server, change the value of Nat
Mapping Enable to yes. On the SIP tab; change Substitute VIA Addr to yes, and
the EXT IP parameter to the IP address of your router.
3. Make sure you are not blocking the UDP PORT 5060,5061 and port for UDP
packets in the range of 16384-16482. Also, disable “SPI” if this feature is
provided by your firewall. Identify the SIP server to which the ATA device is
registering, if it supports NAT, using the Outbound Proxy parameter.
NOTE STUN does not work with a symmetric NAT router. Enable debug through
syslog (see FAQ#10), and set STUN Test Enable to yes. The messages
indicate whether you have symmetric NAT or not.
PAP2T
SPA3102
Certification FCC (Part 15 Class B), CE, ICES-003, A-Tick Certification, RoH
Certification FCC (Part 15 Class B), CE, ICES-003, A-Tick Certification, RoH, UL
SPA8800
Certification FCC (Part 15 Class B), CE, ICES-003, A-Tick Certification, RoH, UL
This appendix describes additional resources that are available to help you and
your customer obtain the full benefits of the SPA9000 Voice System.
Product Resources
Website addresses in this document are listed without http:// in front of the
address because most current web browsers do not require it. If you use an older
web browser, you may have to add http:// in front of the web address.
Resource Location
Technical http://www.cisco.com/en/US/products/ps10024/
Documentation prod_maintenance_guides_list.html
Regulatory http://www.cisco.com/en/US/products/ps10024/
Compliance and prod_maintenance_guides_list.html
Safety Information
Related Documentation
The following table describes the various documents that Cisco provides to help
you to install, configure, and manage the SPA9000 Voice System and its
components.
SPA9000 Voice System Manual installation of the End Users, VARs, and
Installation and SPA9000 Voice System, Service Providers
Configuration Guide - by using the Web User
Web-UI (Legacy) Based Interface, instead of the
Product Configuration Cisco SPA900 Voice
System Setup Wizard.
• SPA9000, SPA400,
SPA900 series phones
• Deployment options
with or without the
SPA9000 IP PBX
• SPA9x2 series IP
phones
• SPA9x2 series IP
phones