This is the Script we came up with to stop unwanted telemarketing calls from bombarding our receptionist. Given that we had vacant numbers going to the attendant, an Auto dialer would hit all the numbers all the time. They would target our DID range and if it hit a vacant DN then the call would end up going to the attendant DN. This was our solution to deal with the situation. I hope it helps!
Configuration Summary
LD12 LD12 LD15 LD23 CCMS LD20
ATT > LDN0 > NIT > CDN > AACC Script > DN
"0" 5200 7050 7938 Block_Calls 5250
AACC Script: Block_Calls
---------------------------------------------------------------------------------
If CLID = Blocked_Numbers THEN */ See Note: */
GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT with LANGUAGE English
VOICE SEGMENT unassigned_intercept */ Voice Segment from CallPilot */
DISCONNECT
ELSE
IF TIME OF DAY = Rect_Time THEN */ SCRIPT Variables; Time */
ROUTE CALL 5250 */ Receptionist Phone 3904*/
ELSE
ROUTE CALL 4000 */ After Hours Treatment ACD*/
END IF
END IF
-------------------------------------------------------------------------------
Note: SCRIPT Variables/ CLID / Blocked_Numbers / Attributes / Value / Calling number.
Configuration Summary
LD12 LD12 LD15 LD23 CCMS LD20
ATT > LDN0 > NIT > CDN > AACC Script > DN
"0" 5200 7050 7938 Block_Calls 5250
AACC Script: Block_Calls
---------------------------------------------------------------------------------
If CLID = Blocked_Numbers THEN */ See Note: */
GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT with LANGUAGE English
VOICE SEGMENT unassigned_intercept */ Voice Segment from CallPilot */
DISCONNECT
ELSE
IF TIME OF DAY = Rect_Time THEN */ SCRIPT Variables; Time */
ROUTE CALL 5250 */ Receptionist Phone 3904*/
ELSE
ROUTE CALL 4000 */ After Hours Treatment ACD*/
END IF
END IF
-------------------------------------------------------------------------------
Note: SCRIPT Variables/ CLID / Blocked_Numbers / Attributes / Value / Calling number.