Wednesday, November 23, 2011

Blacklist Telephone Numbers

ivr script to implement:

auto_xfer.ivr

Enter the following script flag into the company_open_menu.ivr

auto_xfer();


/*
* $Revision: 1.1.a
* $Date: 2008/10/22
*
* auto_xfer
*
* Automatically transfer a caller based upon Caller ID. Queries
* data-file of CID names/numbers for lines like this:
*
* "/usr/facetphone/data/auto_xfer":
* ----------------------------------------
* CID_NUM_OR_NAME:EXT
* Anonymous:124
* YUNDT ERIC:120
* 9725551212:100
* ----------------------------------------
*
* and transfers matching Caller ID to paired extension number.
* CID number has priority and if number doesn't match, look for
* match on CID name.
*
*
* NOTE: Create and maintain the text-file of CID info and extensions
* calls should transfer to (/usr/facetphone/data/auto_xfer).
*
* Record a pre-announce prompt if desired (auto_xfer).
*
* Implement with a call at the beginning of an open menu:
*
* ret = auto_xfer();
* dbgprt( ret );
*
* Callers not found in the auto_xfer data file will flow thru
* to the open menu as if auto_xfer did not exist.
*
*
*
*
*/

No comments:

Post a Comment