Send After Hours Incoming calls straight to Voicemail

Unanswered Question
Jan 25th, 2010
User Badges:


We are running CUCM 6.1.3 and Unity 4.0.4.

I have currently setup on our mail line the standard greeting (Workhours 8am-6pm) and the closed greeting (AfterHours 6pm-8am).

What I am trying to do now, is to send straight to voicemail all After Hours incoming calls.

I have read it could be done from Unity.

If you let me know how to (Step by step) if will be great!!

Thanks for you help.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (4 ratings)
Jonathan Schulenberg Mon, 01/25/2010 - 09:34
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

Based on your description it sounds as if you have the calls already routed to a Unity Call Handler that has a Closed Greeting enabled? IF that is correct then adjusting it is on that same Closed Greeting page. You can specify what mailbox to save the message to; or, set the greeting to Blank and the after greeting action to the appropriate subscriber mailbox that should take the message.

Zeek Ferraros Tue, 02/02/2010 - 10:28
User Badges:

What I am trying to do, is to send after hours straight to voicemail wihtout any ringing prior to the


Ovais Iqbal Wed, 02/03/2010 - 07:24
User Badges:
  • Cisco Employee,


Are you using attempt transfer to option or send to greeting option when selecting a subscriber on your closed hour greeting page? 2nd option would send the call right in to the mailbox without any rings.

There are few other options to achieve what you are trying to do but first try the above.



Zeek Ferraros Wed, 02/03/2010 - 09:02
User Badges:

The unity Subscriber account is configured like this:

Greeting: CLOSED


Source: Recording

After greeting: TAKE MESSAGE

If someone calls after hours it rings until you get the greeting, then you can leave a VM.

If I want the callers to go straight to the greeting with no ring waiting time, do I have to configure CUCM instead of Unity?

CHRIS CHARLEBOIS Wed, 02/03/2010 - 09:29
User Badges:
  • Silver, 250 points or more

You have two options.  You can route all calls to that number through Unity, so that Unity can send the call to the phone during open hours and take a message during closed hours.  However, in our case, this created a short delay in which the caller heard Music on Hold, which was not a perferred solution.

Here is what I did:  We already had a 'direct-to-vm' partition.  This was a seperate partition that contained a single CTI RP of XXXX.  This was configured to forward all calls to VM.  We also have a *XXXX translation pattern that strips the * and using the CSS that specifies this 'direct-to-vm' partition.  This allows users to transfer a call directly into someone's VM without ringing their phone.  In order to have this happen automatically afterhours, I created an 'afterhours' partition that uses a time schedule so that it is only active afterhours.  In this partition, I created translation patterns for each number that I wanted automatically forward, and I specified the 'direct-to-vm' calling search space.  Then I inserted this 'afterhours' partition into the CSS that the VG uses (because we only cared about forwarding calls inbound from the PSTN) in front of everything else.  So, while that partition is active (i.e. afterhours), the calls get sent to Unity *before* they hit the IP Phone.

This system is working great for us.  The only drawback is that we need to create a seperate partition for each time schedule. For example, we have one partition for 8am-5pm, another for 7:30-4:30, etc etc.

Hope this helps,


S Sadiq Thu, 11/24/2016 - 11:31
User Badges:

Hi Chris and Iqbal,

Appreciate your guidance for the above query.

Sorry for this post in between. I have small concern can you assist me.

As we don't have dedicated receptionist at  office A so when caller dialed the main number 555 XXX  and pressed “0” for operator, it will ring the 2nd line on my colleague desk phone of office A


-          For 555 XXX, can we leave the greeting message for customer call in ?
-          Beside play the greeting, can we forward this number out to ring office A another number that belong in another office ?

And how to check if the 555 XXX is part of E1/T1 hunting line ?

Ovais Iqbal Wed, 02/03/2010 - 09:44
User Badges:
  • Cisco Employee,

see the attached screen shot, you do not need to create time base partition / CTI port etc for your scenario,

just Unity Call Handler changes should do the job.

On the screen shot it is showing standard greeting, just change it to closed in your case.



CHRIS CHARLEBOIS Wed, 02/03/2010 - 09:49
User Badges:
  • Silver, 250 points or more

That's great, if Unity has the call.  But CUCM needs to route the call to Unity before Unity can make that ToD decision.  When a call comes into CUCM, unless CUCM is configured to route all calls to Unity and allow Unity to make the routing decision, CUCM will attempt to ring the phone and only forward to VM after the Ring No Answer timer has expired.


Zeek Ferraros Wed, 02/03/2010 - 09:57
User Badges:

Correct, this is why i believe the configuration has to start under CUCM


Ovais Iqbal Wed, 02/03/2010 - 10:05
User Badges:
  • Cisco Employee,

I think we are confused here, did you not say intially that your main line # is already functioning?

which means that CUCM is already sending calls to UNITY Auto Attendant? if yes then simply change what I suggested for your closed greeting.



CHRIS CHARLEBOIS Wed, 02/03/2010 - 10:09
User Badges:
  • Silver, 250 points or more

The way I'm reading it, it is not an Auto Attendant.  It is just the main line / Front Desk phone.  It only gets routed to Unity (normally) on a Ring No Answer or Ring Busy.  Correct?

Zeek Ferraros Wed, 02/03/2010 - 10:13
User Badges:

yes, correct, we don't have Auto Attendant configured.

It's the no ring no answer on CUCM ------> goes to Unity.

Sorry, I didn't really post much information of the scenario.

CHRIS CHARLEBOIS Wed, 02/03/2010 - 10:15
User Badges:
  • Silver, 250 points or more

So the only way to get it to do what you want that I know of is the solution I outline above.  Let me know how it turns out or if you find a different solution.

Ovais Iqbal Wed, 02/03/2010 - 10:17
User Badges:
  • Cisco Employee,

Ok, no problem. You can explain it again if you have not reached a resolution yet with the Direct-to-VM solution (CTI port / Time based PT), we can still try to help.



Zeek Ferraros Wed, 02/03/2010 - 12:34
User Badges:

So, here is what I've done so far, please correct me if I am missing something.

I've created a CTI DirectToVM.

A DirecToVoiceMail partition setup with a Time Schedule for afterhours.

A Translation Pattern *XXXX with the above Partition

Then created a CSS and added DirectToVoiceMail partition at the top.

I setup our main ext with the CSS.

Is this all?

CHRIS CHARLEBOIS Wed, 02/03/2010 - 13:12
User Badges:
  • Silver, 250 points or more

I'm sorry.  I may have confused you with the *XXXX part.

Here's the step-by-step: (BTW, I forgot a step eariler, which I have included here.)

Create one or more Time Periods that cooresponds to the times that you want the calls forwarded to VM.

Create a Time Schedule that includes all of the Time Periods you just created.

Create a new partition, Afterhours-PT (or whatever you like).  Assign it the Time Schedule you just created.

(These three are all done from the Call Routing | Class of Control menu)

Check your existing Voice Mail Profile.  If the Voice Mail Box Mask is blank, create a copy with a new name and set the mask to be XXXX.

(This is done from the Voice Mail | Voice Mail Profile menu.  It also might not be necessary, but we have it in our environment.)

Create one Route Point for each DN that you want forwarded to VM.  For each...

          Assign Line 1 to the same number as the DN you want forwarded, but in the Afterhours-PT.

          Assign the Voice Mail Profile to be the one you created (or your general one, if you already have a Voice Mail Box Mask.)

          Check the Voice Mail box next to Call Forward All

Edit your Calling Search Space.  If you have multiple, either edit them all, or just the one(s) that apply to your incoming calls (i.e. assigned to your voice gateway(s)).  Insert the Afterhours-PT and move it up the list so that it is first.

And that is all.  This is a little simplier than what I described earlier because it is only used by the Afterhours partition.  Our environment also allows users to forward calls directly to VM, which is where the *XXXX comes in.

Zeek Ferraros Wed, 02/03/2010 - 13:28
User Badges:

Thanks a lot for all details.

I will configured it today and get back to you guys tomorrow after testing the system.


CHRIS CHARLEBOIS Wed, 02/03/2010 - 13:34
User Badges:
  • Silver, 250 points or more

BTW, thanks to the excellent document that Ovais posted (5 stars for you, BTW), I remembered why we put in that Voice Mail Box Mask, and it is not necessary for this task.  The method that is described in that document is useful for user-initiated transfers to VM, but not needed when using time-sensitive Intercept partitions like we are.


This Discussion