Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Night Service Button

Status
Not open for further replies.

kflounders

Programmer
Dec 8, 2002
694
US
412 3.2.54 all calls go to main group and are covered by VM during the day with a SetHuntgroupNightservice button sending the calls directly to VM when the operator leaves. VMPro looks to see what time it is and either plays the day or night message.

Is there a way to have a button not only send the calls to Voicemail, but activate a night message? I usually have the VMPro test the weekly plan to either play the night or day menu, but this customer wants to be able to press one button and have the calls hear the night message reguardless of what time it is.
 
On DS sets you can set ut a SetHuntGroupNightService button.

You can either record a nightservice message through the huntgroups mailbox or set the NightService destination to another huntgroup that plays the message through the VM Pro leave setting on that huntgroup.
 
You would need to have 2 different buttons as far as i know. I think you are trying to do 2 things with one button. You would need to get rid of the time of day in the VM and just send it to the night menu.
 
For info you can toggle the SetHuntGroupNightService button
 
Separate the day and night menus into two modules.

You can create a variable in vmpro called say "nighton"

You can then create a module and shortcode to match the module. Say module "nightswitch" and short code:
*81
"nightswitch"
voicemailcollect

Create a button that dials *81

From the Main group Start Point GOTO module nightswitch.

Given:
Zero = 0ff
One = On

Here is the fun part...the logic.

If the variable nighton = 0 when entering module nightswitch then it should equal 1 when it exits. And the opposite is true. If the variable nighton = 1 when entering the module nightswitch then it should equal 0 when it exits. A simple flip flop or switch.

So... Build a Test variable after entry into the module that is true if variable nighton = 0. True connects to Set Variable that changes nighton to 1. False connects to a second Set Variable that changes nighton to 0.

Record a wave for each Set Variable. "Night Service is on" and "Night service is off"

GOTO night menu if nighton = 1
GOTO day menu if nighton = 0

I do not know if there is a way to light the button for on and unlight it for off. At least I have not found a way.
 
Actually that is wrong.

Whoops. Must be late.

Scrub a few parts.

nightswitch and nighton are built exactly a previously described. You do not need to separate the day and night into two modules. Instead remove the timer which is likely right after the start point and insert a Test variable.

nighton = 1 when night service is on.

Sorry for the confusion and the lack of being able to edit a post at this forum.

 



MainLeave > TestVar nighton(1 = True) > Nightmenu
0 = False > DayMenu


nightswitch> Testvar nighton(1=True)>SetVar nighton=0
0=false>SetVar nighton=1


Anyway.. Good luck
 
Thanks, but this is what I came up with, and it seems to work:

Main Huntgroup NS overflow to NightAA Huntgroup
NightAA Huntgroup has one user that is forwarded to a shortcode that sends the caller to the Night Auto Attendant. Operator presses Sethuntgroupnightservice butoon and the caller is passed to the NightAA huntgroup and is forwaded to the Night Auto Attendant module. One button, with a light doing two things.
 
In the leave mail action for the HG you can also do a route call by status and all go to the day greeting excpet for Out Of Hours...route that to the night Attendant
 
kflounders what type of set are you using to set the light. I tried this on a 4424 running 3.2 and the light did not work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top