Restricting Inbound Calls

Restricting inbound calls adds a little complexity to your COR configuration. Reusing existing COR lists that are built to restrict outbound calls is usually possible, but your list names are not likely to be meaningful, and the logic might be difficult to follow.

In Example 12-4, calls from the PSTN to the lobby phone that is connected to port 2/0/0 are restricted. (Recall from Step 4 of the "Implementing COR" section that the lobby phone is an analog telephone.) Calls from the PSTN to IP phones are not restricted, as illustrated in Figure 12-2. To accomplish this, two new labels are added and assigned to a COR list with the same name:

  • InToLobby Assigned as an incoming COR list on the inbound dial peer from the PSTN
  • OutToLobby Assigned as an outgoing COR list on the dial peer that is associated with the lobby phone

Figure 12-2. Restricting Inbound Calls

Example 12-4. Restricting Inbound Calls

Leeds(config)#dial-peer cor custom
Leeds(config-dp-cor)#name Local
Leeds(config-dp-cor)#name LongDistance
Leeds(config-dp-cor)#name Mobile
Leeds(config-dp-cor)#name International
! additional label for inbound COR list
Leeds(config-dp-cor)#name InToLobby 
! additional label for outbound COR list
Leeds(config-dp-cor)#name OutToLobby 
!
! INCOMING COR LISTS
Leeds(config)#dial-peer cor list LocalCalls
Leeds(config-dp-corlist)#member Local
!
Leeds(config)#dial-peer cor list LDCalls
Leeds(config-dp-corlist)#member LongDistance
!
Leeds(config)#dial-peer cor list MobileCalls
Leeds(config-dp-corlist)#member Mobile
!
Leeds(config)#dial-peer cor list InternationalCalls 
Leeds(config-dp-corlist)#member International 
!
Leeds(config)#dial-peer cor list LobbyPhones 
Leeds(config-dp-corlist)#member Local 
!
Leeds(config)#dial-peer cor list InToLobby 
Leeds(config-dp-corlist)#member InToLobby 
!
Leeds(config)#dial-peer cor list OutToLobby 
Leeds(config-dp-corlist)#member OutToLobby 
!
! OUTGOING COR LISTS
!
Leeds(config)#dial-peer cor list Employees
Leeds(config-dp-corlist)#member Local
Leeds(config-dp-corlist)#member Mobile
Leeds(config-dp-corlist)#member OutToLobby 
!
Leeds(config)#dial-peer cor list Managers
Leeds(config-dp-corlist)#member Local
Leeds(config-dp-corlist)#member Mobile
Leeds(config-dp-corlist)#member LongDistance
Leeds(config-dp-corlist)#member OutToLobby 
!
Leeds(config)#dial-peer cor list Executives
Leeds(config-dp-corlist)#member Local
Leeds(config-dp-corlist)#member Mobile
Leeds(config-dp-corlist)#member International
Leeds(config-dp-corlist)#member OutToLobby 
!
! ASSIGNING COR LISTS TO DIAL PEERS
!
Leeds(config)#dial-peer voice 1 pots
Leeds(config-dp-corlist)#description Inbound From PSTN
Leeds(config-dp-corlist)#incoming called-number .
Leeds(config-dp-corlist)#corlist incoming InToLobby 
Leeds(config-dp-corlist)#port 1/0/0:15
!
Leeds(config)#dial-peer voice 4001 pots
Leeds(config-dp-corlist)#description Main Lobby Phone
Leeds(config-dp-corlist)#destination-pattern 4001
Leeds(config-dp-corlist)#corlist incoming LobbyPhone 
Leeds(config-dp-corlist)#corlist outgoing OutToLobby 
Leeds(config-dp-corlist)#port 2/0/0
 

Because the inbound COR list is not a subset of the outbound COR list, the goal of restricting PSTN calls to the lobby phone has been met. For the IP phones to call the lobby phone, you must add the OutToLobby label to the Employees, Managers, and Executives incoming COR lists. Because no outgoing COR lists are assigned to the IP phones, calls from the PSTN to IP phones will still be completed.

Part I: Voice Gateways and Gatekeepers

Gateways and Gatekeepers

Part II: Gateways

Media Gateway Control Protocol

H.323

Session Initiation Protocol

Circuit Options

Connecting to the PSTN

Connecting to PBXs

Connecting to an IP WAN

Dial Plans

Digit Manipulation

Influencing Path Selection

Configuring Class of Restrictions

SRST and MGCP Gateway Fallback

DSP Resources

Using Tcl Scripts and VoiceXML

Part III: Gatekeepers

Deploying Gatekeepers

Gatekeeper Configuration

Part IV: IP-to-IP Gateways

Cisco Multiservice IP-to-IP Gateway

Appendix A. Answers to Chapter-Ending Review Questions

Index



Cisco Voice Gateways and Gatekeepers
Cisco Voice Gateways and Gatekeepers
ISBN: 158705258X
EAN: 2147483647
Year: 2004
Pages: 218

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net