© 2003 - 2005 Sipura Technology, Inc
Proprietary (See Copyright Notice on Page 2)
97
with user-id = “Alex Bell” and pwd = bell_pwd, and disable
NAT mapping
One can setup multiple PSTN gateways at different locations and configured Line 1 to use different
gateway when dialing certain numbers.
4.6.
Failover to PSTN Support
When power is disconnected from the SPA-3000, the FXS port will be connected to the FXO port. In
this case, the telephone attached to the FXS port is electrically connected to the PSTN service via the
FXO port. When power is applied to the SPA, the FXS port will be disconnected from the FXO port.
However, if the PSTN line is in use when the power is applied to the SPA, the relay will not be flipped
until the PSTN line is released. This is done so that the SPA will not interrupt any call in progress on
the PSTN line.
When Line 1 VoIP service is down (due to registration failure or loss of network link), SPA can be
configured to automatically route all outbound calls to the internal gateway using the following
parameters:
Parameter Group
Description
Range
Auto PSTN Fallback
Line 1
If enabled, SPA automatically routes outbound calls
to Gateway 0 when registration fails or network link
is down.
Bool
4.7.
Line 1 and FXO Sharing One VoIP Account
Line 1 and the FXO Line can share the same VoIP account if they use different SIP Ports. If the
service provider allows multiple registration contacts and simultaneously ringing, both lines can
register periodically with the service provider. In this case, both lines will receive inbound calls to this
VoIP account. The FXO line should be configured with a sufficiently long answer delay before the call
is automatically answered to provide PSTN gateway function.
If the service provider does not allow more than 1 register contact, then the FXO line should not
register. In this case, only Line 1 will ring on the inbound call to this VoIP account (since it is the only
line registered with the service provider). Line 1 can have the call forwarded to the FXO line after a
few seconds (via the Call-Forward-On-No-Answer feature with “gw0” as the forward destination).
Similarly, Line 1 can apply Call-Forward-All, Call-Forward-On-Busy, and Call-Forward-Selective
feature and send the caller to use the PSTN-Gateway. Only PIN authentication is allowed when a
VoIP caller is forwarded to the PSTN-gateway from Line 1. If HTTP Authentication is used, the caller
will not be authenticated in this case.
Another extension to the Forward-To-GW0 feature is to 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 for instance, one can come up with some very 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 will be automatically dialed by the SPA once the caller is
forwarded to the gw0.
4.8.
PSTN Call to Ring Line 1