Configuring the PSTN (FXO) Gateway on the SPA3102

6

 

Call Scenarios

 

 

 

 

 

The number dialed is processed by the dial plan corresponding to the VoIP caller. If the dial plan choice is 0, no dial plan is needed and the user hears the PSTN dial tone right after the PIN is entered. If the dial plan choice is not 0, the final number returned from the dial plan after the complete number is dialed by the caller is dialed to the PSTN. The caller does not hear the PSTN dial tone (except for a little leakage before the first digit of the final number is auto-dialed by the ATA device).

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 .

Using HTTP Digest Authentication

The same scenario can be implemented with HTTP digest authentication when the calling device supports the configuration of a auth-ID and password to access the ATA device PSTN gateway. When the VoIP caller calls the PSTN Line, the ATA device challenges the INVITE request with a 401 response. The calling device should then provide the correct credentials in a subsequent retry of the INVITE, computed with the auth-ID and password using MD5.

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.

ATA Administration Guide

107

Page 109
Image 109
Cisco Systems PAP2T, SPA2102, SPA3102, WRP400, SPA8000 manual Using Http Digest Authentication

PAP2T, SPA8000, SPA3102, WRP400, SPA2102 specifications

The Cisco Systems SPA2102 is a versatile Voice over Internet Protocol (VoIP) adapter that serves as a bridge between traditional telephony systems and modern IP networks. Designed primarily for small to medium businesses, the SPA2102 is highly regarded for its reliability, ease of use, and rich feature set. This device allows users to make and receive phone calls over the internet while maintaining the ability to connect traditional analog phones.

One of the standout features of the SPA2102 is its dual-port capability. The device includes two FXS ports, allowing users to connect two separate analog telephones. This makes it an ideal choice for businesses that want to retain their existing telephony infrastructure while transitioning to a VoIP system. The ability to utilize two telephone lines simultaneously provides flexibility and convenience, especially for users in a busy office environment.

The SPA2102 leverages Session Initiation Protocol (SIP) technology, which is widely recognized for its robustness and interoperability. The support for SIP ensures that the SPA2102 can work seamlessly with various VoIP service providers, offering users a broad range of options for their telecommunication needs. In addition to SIP, the device supports various codecs, including G.711, G.726, and G.729, allowing for flexible audio quality settings and bandwidth management.

Security is also a critical aspect of the SPA2102. It incorporates advanced encryption methods, such as Secure Real-time Transport Protocol (SRTP) and Transport Layer Security (TLS), to protect voice communications from potential eavesdropping. This focus on security makes the SPA2102 a reliable choice for businesses concerned about the confidentiality of their conversations.

The device is easy to configure and manage, thanks to its web-based interface. This allows administrators to quickly set up the adapter, manage network settings, and troubleshoot any issues that may arise. Furthermore, the SPA2102 supports Quality of Service (QoS) features, ensuring that voice traffic is prioritized over other types of network traffic, which enhances call quality and reliability.

Overall, the Cisco SPA2102 is a powerful, user-friendly VoIP adapter that combines traditional telephony with modern IP technology. Its dual-port capability, support for SIP, extensive security features, and ease of configuration make it a solid choice for businesses looking to innovate their communication systems while minimizing disruption. Whether used in a small office or a larger organizational setting, the SPA2102 continues to be a reliable component of VoIP solutions.