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!

Close AACC Variables via the phone

Status
Not open for further replies.

Voice99

IS-IT--Management
Mar 20, 2014
59
US
hi, does anyone know how to close a variable for AACC over the phone instead of via a browser?
 
You can use the Readvar Savevar commands to set variable and the Collect Digit part of Open Voice Session to get commands from phone. Keep in mind anyone can accidentally dial a number, so a password is a good idea.
 
or if you want extra security do a clid check before the password phase to reach the menu to activate which variable you want to control
 
would it be possiable to post a sample script with the code for this??

Thanks
 
Here's a script I created to be activated in case of an evacuation:

/************/
READVAR Evacuation_WILDVAR
SAVEVAR
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT Ann_EVACUATION
IF Evacuation_WILDVAR = 1 THEN
PLAY PROMPT VOICE SEGMENT Ann_Evac_Active
ELSE
PLAY PROMPT VOICE SEGMENT Ann_Evac_NotActive
END IF
PLAY PROMPT VOICE SEGMENT Ann_Evac_Change
COLLECT 1 DIGITS INTO First_Choice
INTER DIGIT TIMER 3
END VOICE SESSION
READVAR Evacuation_WILDVAR
IF First_Choice = 1 THEN
ASSIGN 1 TO Evacuation_WILDVAR
ELSE
ASSIGN 2 TO Evacuation_WILDVAR
END IF
SAVEVAR
READVAR Evacuation_WILDVAR
SAVEVAR
OPEN VOICE SESSION
IF Evacuation_WILDVAR = 1 THEN
PLAY PROMPT VOICE SEGMENT Ann_Evac_Active
ELSE
PLAY PROMPT VOICE SEGMENT Ann_Evac_NotActive
END IF
END VOICE SESSION
DISCONNECT
/************/

Then in any script you can use this Evacuation_WILDVAR to do whatever you want to do with it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top