This document refers to the scenario where a company has, for instance,
the (212) 282-15xx DID range assigned to it. Users are assigned 1501-1599 DID
extensions. You want the call that goes to 282-1500 to be handled by Cisco
Unity AutoAttendant.

num-exp 2821500 1000
!--- This converts the called 2821500 to 1000.
dial-peer voice 1000 voip
destination-pattern 1000
dtmf-relay h245-alphanumeric
!--- This command must be configured to relay the dialed digits.
session target ipv4:10.200.72.36
codec g711ulaw
!--- This dial peer tells the Cisco IOS gateway where to route the
!--- calls for extension 1000.!--- In this case, it sends the call to Cisco CallManager (10.200.72.36).

Note: A similar IOS configuration can be used to a route call to the Auto
Attendant (AA) in Cisco Unity Express when used with Cisco CallManager Express.
Refer to
Cisco
CME Basic Automatic Call Distribution for more information.

When Cisco Unity receives the call, it plays the Opening Greeting, as
the calling number is not a subscriber in Unity.

If you want to log into your mailbox, you can press the * key during
the Opening Greeting announcement and enter your mailbox ID and
password.

If you want to dial an extension during the Opening Greeting, you can
only enter an extension that is configured as a subscriber or a Call Handler in
the Cisco Unity system. IP phones, CTI ports, route points, and pilot points
that are not configured as Cisco Unity subscribers or call handlers cannot be
reached.

Call transfer only occurs if the subscriber's Call Transfer option is
set to "Yes, ring subscriber's extension" or "Yes, ring subscriber at this
number." Otherwise, the caller is sent to the user's voice
mailbox.